From f77735dcc643ada7ddde0b67f4e246e89894b0e4 Mon Sep 17 00:00:00 2001 From: Yang Hau Date: Tue, 9 Jul 2024 14:10:19 +0800 Subject: [PATCH] wip --- sse2neon.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sse2neon.h b/sse2neon.h index 6a8a3773..50597cd0 100644 --- a/sse2neon.h +++ b/sse2neon.h @@ -2458,7 +2458,7 @@ FORCE_INLINE __m128 _mm_set_ps1(float _w) // the following flags: _MM_ROUND_NEAREST, _MM_ROUND_DOWN, _MM_ROUND_UP, // _MM_ROUND_TOWARD_ZERO // https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_MM_SET_ROUNDING_MODE -FORCE_INLINE void _MM_SET_ROUNDING_MODE(int rounding) +FORCE_INLINE_OPTNONE void _MM_SET_ROUNDING_MODE(int rounding) { union { fpcr_bitfield field; @@ -2520,7 +2520,7 @@ FORCE_INLINE __m128 _mm_set1_ps(float _w) // integer a. // https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_setcsr // FIXME: _mm_setcsr() implementation supports changing the rounding mode only. -FORCE_INLINE void _mm_setcsr(unsigned int a) +FORCE_INLINE_OPTNONE void _mm_setcsr(unsigned int a) { _MM_SET_ROUNDING_MODE(a); } @@ -9258,7 +9258,7 @@ FORCE_INLINE int64_t _mm_popcnt_u64(uint64_t a) #endif } -FORCE_INLINE void _sse2neon_mm_set_denormals_zero_mode(unsigned int flag) +FORCE_INLINE_OPTNONE void _sse2neon_mm_set_denormals_zero_mode(unsigned int flag) { // AArch32 Advanced SIMD arithmetic always uses the Flush-to-zero setting, // regardless of the value of the FZ bit.