diff options
Diffstat (limited to 'fixincludes/tests/base/bits/fenv.h')
-rw-r--r-- | fixincludes/tests/base/bits/fenv.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/fixincludes/tests/base/bits/fenv.h b/fixincludes/tests/base/bits/fenv.h index a82ec25e8b4..eec612b7e24 100644 --- a/fixincludes/tests/base/bits/fenv.h +++ b/fixincludes/tests/base/bits/fenv.h @@ -9,16 +9,6 @@ -#if defined( FERAISEEXCEPT_NOSSE_INVALID_CHECK ) -# ifdef __SSE_MATH__ - __asm__ __volatile__ ("divss %0, %0" : : "x" (__f)); -# else - __asm__ __volatile__ ("fdiv %%st, %%st(0); fwait" - : "=t" (__f) : "0" (__f)); -# endif -#endif /* FERAISEEXCEPT_NOSSE_INVALID_CHECK */ - - #if defined( FERAISEEXCEPT_NOSSE_DIVBYZERO_CHECK ) # ifdef __SSE_MATH__ __asm__ __volatile__ ("divss %1, %0" : : "x" (__f), "x" (__g)); @@ -27,3 +17,13 @@ : "=t" (__f) : "0" (__f), "u" (__g) : "st(1)"); # endif #endif /* FERAISEEXCEPT_NOSSE_DIVBYZERO_CHECK */ + + +#if defined( FERAISEEXCEPT_NOSSE_INVALID_CHECK ) +# ifdef __SSE_MATH__ + __asm__ __volatile__ ("divss %0, %0" : : "x" (__f)); +# else + __asm__ __volatile__ ("fdiv %%st, %%st(0); fwait" + : "=t" (__f) : "0" (__f)); +# endif +#endif /* FERAISEEXCEPT_NOSSE_INVALID_CHECK */ |