File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2323 uint64x2 ((VecElement (hi), VecElement (lo)))
2424end
2525
26- @inline Base. zero (:: Type{uint64x2} ) = convert (uint64x2, 0 )
26+ @inline Base. zero (:: Type{uint64x2} ) = convert (uint64x2, zero (UInt128) )
2727@inline Base. one (:: Type{uint64x2} ) = uint64x2 (zero (UInt64), one (UInt64))
2828@inline Base. xor (a:: uint64x2 , b:: uint64x2 ) = llvmcall (
2929 """ %3 = xor <2 x i64> %1, %0
6363 return uint8x16 (bytes_vec)
6464end
6565
66- @inline Base. zero (:: Type{uint8x16} ) = convert (uint8x16, 0 )
66+ @inline Base. zero (:: Type{uint8x16} ) = convert (uint8x16, zero (UInt128) )
6767@inline Base. xor (a:: uint8x16 , b:: uint8x16 ) = llvmcall (
6868 """ %3 = xor <16 x i8> %1, %0
6969 ret <16 x i8> %3""" ,
9999 return uint32x4 (bytes_vec)
100100end
101101
102- @inline Base. zero (:: Type{uint32x4} ) = convert (uint32x4, 0 )
102+ @inline Base. zero (:: Type{uint32x4} ) = convert (uint32x4, zero (UInt128) )
103103@inline Base. xor (a:: uint32x4 , b:: uint32x4 ) = llvmcall (
104104 """ %3 = xor <4 x i32> %1, %0
105105 ret <4 x i32> %3""" ,
You can’t perform that action at this time.
0 commit comments