Debian Codegraph @

fixincludes/tests/base/bits/fenv.h

raw
1 /* DO NOT EDIT THIS FILE.
2
3 It has been auto-edited by fixincludes from:
4
5 "fixinc/tests/inc/bits/fenv.h"
6
7 This had to be done to correct non-standard usages in the
8 original, manufacturer supplied header file. */
9
10
11
12 #if defined( FERAISEEXCEPT_NOSSE_DIVBYZERO_CHECK )
13 # ifdef __SSE_MATH__
14 __asm__ __volatile__ ("divss %1, %0" : : "x" (__f), "x" (__g));
15 # else
16 __asm__ __volatile__ ("fdivp %%st, %%st(1); fwait"
17 : "=t" (__f) : "0" (__f), "u" (__g) : "st(1)");
18 # endif
19 #endif /* FERAISEEXCEPT_NOSSE_DIVBYZERO_CHECK */
20
21
22 #if defined( FERAISEEXCEPT_NOSSE_INVALID_CHECK )
23 # ifdef __SSE_MATH__
24 __asm__ __volatile__ ("divss %0, %0" : : "x" (__f));
25 # else
26 __asm__ __volatile__ ("fdiv %%st, %%st(0); fwait"
27 : "=t" (__f) : "0" (__f));
28 # endif
29 #endif /* FERAISEEXCEPT_NOSSE_INVALID_CHECK */