Update to non-avx builds

This commit is contained in:
Pro7ech
2025-11-21 15:39:04 +01:00
parent 0fb88c9bd3
commit 3c818d292b
24 changed files with 356 additions and 128 deletions

View File

@@ -5,7 +5,7 @@ use poulpy_cpu_avx::FFT64Avx;
use crate::bin_fhe::{bdd_arithmetic::tests::test_suite, blind_rotation::CGGI};
static TEST_CONTEXT_CGGI_FFT64_REF: LazyLock<test_suite::TestContext<CGGI, FFT64Avx>> =
LazyLock::new(|| test_suite::TestContext::<CGGI, FFT64Avx>::new());
LazyLock::new(test_suite::TestContext::<CGGI, FFT64Avx>::new);
#[test]
fn glwe_blind_retriever() {

View File

@@ -5,7 +5,7 @@ use poulpy_cpu_ref::FFT64Ref;
use crate::bin_fhe::{bdd_arithmetic::tests::test_suite, blind_rotation::CGGI};
static TEST_CONTEXT_CGGI_FFT64_REF: LazyLock<test_suite::TestContext<CGGI, FFT64Ref>> =
LazyLock::new(|| test_suite::TestContext::<CGGI, FFT64Ref>::new());
LazyLock::new(test_suite::TestContext::<CGGI, FFT64Ref>::new);
#[test]
fn glwe_blind_retriever() {

View File

@@ -1,9 +1,9 @@
pub mod test_suite;
#[cfg(test)]
#[cfg(not(any(target_arch = "x86_64", target_arch = "x86")))]
#[cfg(not(all(feature = "enable-avx", target_arch = "x86_64", target_feature = "avx2", target_feature = "fma")))]
mod fft64_ref;
#[cfg(test)]
#[cfg(any(target_arch = "x86_64", target_arch = "x86"))]
#[cfg(all(feature = "enable-avx", target_arch = "x86_64", target_feature = "avx2", target_feature = "fma"))]
mod fft64_avx;

View File

@@ -1,9 +1,9 @@
#[cfg(test)]
#[cfg(not(any(target_arch = "x86_64", target_arch = "x86")))]
#[cfg(not(all(feature = "enable-avx", target_arch = "x86_64", target_feature = "avx2", target_feature = "fma")))]
mod fft64_ref;
#[cfg(test)]
#[cfg(any(target_arch = "x86_64", target_arch = "x86"))]
#[cfg(all(feature = "enable-avx", target_arch = "x86_64", target_feature = "avx2", target_feature = "fma"))]
mod fft64_avx;
#[cfg(test)]

View File

@@ -1,9 +1,9 @@
pub mod circuit_bootstrapping;
#[cfg(test)]
#[cfg(not(any(target_arch = "x86_64", target_arch = "x86")))]
#[cfg(not(all(feature = "enable-avx", target_arch = "x86_64", target_feature = "avx2", target_feature = "fma")))]
mod fft64_ref;
#[cfg(test)]
#[cfg(any(target_arch = "x86_64", target_arch = "x86"))]
#[cfg(all(feature = "enable-avx", target_arch = "x86_64", target_feature = "avx2", target_feature = "fma"))]
mod fft64_avx;