Fix build on AVX2 (#397)

This commit is contained in:
Jakub Nabaglo 2021-12-16 15:51:38 -08:00 committed by GitHub
parent eb7615f7cc
commit 433f358455
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -166,7 +166,6 @@ unsafe impl<F: ReducibleAvx2> PackedField for Avx2PrimeField<F> {
const WIDTH: usize = 4;
type Scalar = F;
type PackedPrimeField = Avx2PrimeField<F>;
const ZERO: Self = Self([F::ZERO; 4]);
const ONE: Self = Self([F::ONE; 4]);

View File

@ -1,4 +1,5 @@
use core::arch::x86_64::*;
use std::arch::asm;
use std::arch::x86_64::*;
use std::mem::size_of;
use static_assertions::const_assert;