File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -16,14 +16,14 @@ use backend::serial::u64::field::FieldElement51;
1616
1717/// A wrapper around `vpmadd52luq` that works on `u64x4`.
1818#[ inline( always) ]
19- fn madd52lo ( z : u64x4 , x : u64x4 , y : u64x4 ) -> u64x4 {
19+ unsafe fn madd52lo ( z : u64x4 , x : u64x4 , y : u64x4 ) -> u64x4 {
2020 use core:: arch:: x86_64:: _mm256_madd52lo_epu64;
2121 _mm256_madd52lo_epu64 ( z. into_bits ( ) , x. into_bits ( ) , y. into_bits ( ) ) . into_bits ( )
2222}
2323
2424/// A wrapper around `vpmadd52huq` that works on `u64x4`.
2525#[ inline( always) ]
26- fn madd52hi ( z : u64x4 , x : u64x4 , y : u64x4 ) -> u64x4 {
26+ unsafe fn madd52hi ( z : u64x4 , x : u64x4 , y : u64x4 ) -> u64x4 {
2727 use core:: arch:: x86_64:: _mm256_madd52hi_epu64;
2828 _mm256_madd52hi_epu64 ( z. into_bits ( ) , x. into_bits ( ) , y. into_bits ( ) ) . into_bits ( )
2929}
You can’t perform that action at this time.
0 commit comments