2.9
[glibc/nacl-glibc.git] / sysdeps / x86_64 / fpu / math_private.h
blob4febcbb5ec9552984b8e8948c3f37263251a5923
1 #ifndef _MATH_PRIVATE_H
3 #define math_opt_barrier(x) \
4 ({ __typeof(x) __x; \
5 if (sizeof (x) <= sizeof (double)) \
6 __asm ("" : "=x" (__x) : "0" (x)); \
7 else \
8 __asm ("" : "=t" (__x) : "0" (x)); \
9 __x; })
10 #define math_force_eval(x) \
11 do \
12 { \
13 if (sizeof (x) <= sizeof (double)) \
14 __asm __volatile ("" : : "x" (x)); \
15 else \
16 __asm __volatile ("" : : "f" (x)); \
17 } \
18 while (0)
20 #include <math/math_private.h>
21 #endif