diff --git a/simde/arm/neon/cvt_n.h b/simde/arm/neon/cvt_n.h index 23b7f3dfd..574a0ec22 100644 --- a/simde/arm/neon/cvt_n.h +++ b/simde/arm/neon/cvt_n.h @@ -766,7 +766,6 @@ simde_vcvt_n_f64_u64(simde_uint64x1_t a, const int n) #define vcvt_n_f64_u64(a, n) simde_vcvt_n_f64_u64((a), (n)) #endif -/* Eric: Skip this function since it will trigger a compiler error when using i686-linux-gnu-g++-11. SIMDE_FUNCTION_ATTRIBUTES simde_float64x2_t simde_vcvtq_n_f64_u64(simde_uint64x2_t a, const int n) @@ -788,7 +787,6 @@ simde_vcvtq_n_f64_u64(simde_uint64x2_t a, const int n) #undef vcvtq_n_f64_u64 #define vcvtq_n_f64_u64(a, n) simde_vcvtq_n_f64_u64((a), (n)) #endif -*/ SIMDE_FUNCTION_ATTRIBUTES simde_float64x1_t diff --git a/simde/arm/neon/mla_lane.h b/simde/arm/neon/mla_lane.h index 755e65407..ad383d473 100644 --- a/simde/arm/neon/mla_lane.h +++ b/simde/arm/neon/mla_lane.h @@ -55,7 +55,6 @@ SIMDE_BEGIN_DECLS_ #define vmla_laneq_f32(a, b, v, lane) simde_vmla_laneq_f32((a), (b), (v), (lane)) #endif -/* Eric: Skip this function since it will trigger a compiler error when using i686-linux-gnu-g++-11. #if defined(SIMDE_ARM_NEON_A64V8_NATIVE) #define simde_vmlaq_laneq_f32(a, b, v, lane) vmlaq_laneq_f32((a), (b), (v), (lane)) #else @@ -65,7 +64,6 @@ SIMDE_BEGIN_DECLS_ #undef vmlaq_laneq_f32 #define vmlaq_laneq_f32(a, b, v, lane) simde_vmlaq_laneq_f32((a), (b), (v), (lane)) #endif -*/ #if defined(SIMDE_ARM_NEON_A32V7_NATIVE) #define simde_vmla_lane_s16(a, b, v, lane) vmla_lane_s16((a), (b), (v), (lane)) diff --git a/test/arm/neon/cvt_n.c b/test/arm/neon/cvt_n.c index b17a34ae1..d5dee4f59 100644 --- a/test/arm/neon/cvt_n.c +++ b/test/arm/neon/cvt_n.c @@ -2953,7 +2953,6 @@ test_simde_vcvt_n_f64_u64 (SIMDE_MUNIT_TEST_ARGS) { #endif } -/* Eric: Skip this function since it will trigger a compiler error when using i686-linux-gnu-g++-11. static int test_simde_vcvtq_n_f64_u64 (SIMDE_MUNIT_TEST_ARGS) { #if 1 @@ -3023,7 +3022,6 @@ test_simde_vcvtq_n_f64_u64 (SIMDE_MUNIT_TEST_ARGS) { return 1; #endif } -*/ static int test_simde_vcvt_n_f64_s64 (SIMDE_MUNIT_TEST_ARGS) { @@ -3323,7 +3321,7 @@ SIMDE_TEST_FUNC_LIST_ENTRY(vcvtq_n_f16_u16) SIMDE_TEST_FUNC_LIST_ENTRY(vcvtq_n_f32_s32) SIMDE_TEST_FUNC_LIST_ENTRY(vcvtq_n_f32_u32) SIMDE_TEST_FUNC_LIST_ENTRY(vcvtq_n_f64_s64) -//SIMDE_TEST_FUNC_LIST_ENTRY(vcvtq_n_f64_u64) +SIMDE_TEST_FUNC_LIST_ENTRY(vcvtq_n_f64_u64) SIMDE_TEST_FUNC_LIST_ENTRY(vcvtq_n_s16_f16) SIMDE_TEST_FUNC_LIST_ENTRY(vcvtq_n_s32_f32) diff --git a/test/arm/neon/meson.build b/test/arm/neon/meson.build index ca5b77611..00e6d6ecf 100644 --- a/test/arm/neon/meson.build +++ b/test/arm/neon/meson.build @@ -1,4 +1,9 @@ simde_test_arm_neon_sources = [] +# Disable the Intel FPU with 80-bit precision. +disable_fpu_flags = [] +if (host_machine.cpu() == 'prescott') or (host_machine.cpu().endswith('86') and host_machine.cpu().startswith('i')) + disable_fpu_flags += '-ffloat-store' +endif foreach name : simde_neon_families if (name != 'ld3') and (name != 'ld4') and (name != 'st1') and (name != 'ld1') foreach lang : ['c', 'cpp'] @@ -15,8 +20,8 @@ foreach name : simde_neon_families endif x = executable(name + '-' + emul + '-' + lang, source_file, - c_args: simde_c_args + simde_c_defs + simde_native_c_flags + extra_flags, - cpp_args: simde_c_args + simde_c_defs + simde_native_c_flags + extra_flags, + c_args: simde_c_args + simde_c_defs + simde_native_c_flags + extra_flags + disable_fpu_flags, + cpp_args: simde_c_args + simde_c_defs + simde_native_c_flags + extra_flags + disable_fpu_flags, include_directories: simde_include_dir, dependencies: simde_deps) diff --git a/test/arm/neon/mla_lane.c b/test/arm/neon/mla_lane.c index d21b298a9..12b8bc1c5 100644 --- a/test/arm/neon/mla_lane.c +++ b/test/arm/neon/mla_lane.c @@ -1279,7 +1279,6 @@ test_simde_vmlaq_lane_u32 (SIMDE_MUNIT_TEST_ARGS) { #endif } -/* Eric: Skip this function since it will trigger a compiler error when using i686-linux-gnu-g++-11. static int test_simde_vmlaq_laneq_f32 (SIMDE_MUNIT_TEST_ARGS) { static const struct { @@ -1349,7 +1348,6 @@ test_simde_vmlaq_laneq_f32 (SIMDE_MUNIT_TEST_ARGS) { return 0; } -*/ static int test_simde_vmlaq_laneq_s16 (SIMDE_MUNIT_TEST_ARGS) { @@ -1722,7 +1720,7 @@ SIMDE_TEST_FUNC_LIST_ENTRY(vmlaq_lane_s32) SIMDE_TEST_FUNC_LIST_ENTRY(vmlaq_lane_u16) SIMDE_TEST_FUNC_LIST_ENTRY(vmlaq_lane_u32) -//SIMDE_TEST_FUNC_LIST_ENTRY(vmlaq_laneq_f32) +SIMDE_TEST_FUNC_LIST_ENTRY(vmlaq_laneq_f32) SIMDE_TEST_FUNC_LIST_ENTRY(vmlaq_laneq_s16) SIMDE_TEST_FUNC_LIST_ENTRY(vmlaq_laneq_s32) SIMDE_TEST_FUNC_LIST_ENTRY(vmlaq_laneq_u16)