Back to index

glibc  2.9
math_private.h
Go to the documentation of this file.
00001 #ifndef _MATH_PRIVATE_H
00002 
00003 #define math_opt_barrier(x) \
00004 ({ __typeof(x) __x;                              \
00005    if (sizeof (x) <= sizeof (double))                   \
00006      __asm ("" : "=x" (__x) : "0" (x));                 \
00007    else                                                 \
00008      __asm ("" : "=t" (__x) : "0" (x));                 \
00009    __x; })
00010 #define math_force_eval(x) \
00011 do                                               \
00012   {                                              \
00013     if (sizeof (x) <= sizeof (double))                  \
00014       __asm __volatile ("" : : "x" (x));         \
00015     else                                         \
00016       __asm __volatile ("" : : "f" (x));         \
00017   }                                              \
00018 while (0)
00019 
00020 #include <math/math_private.h>
00021 #endif