2011-10-26 11:34:30 +02:00
|
|
|
#ifndef _MATH_PRIVATE_H
|
|
|
|
|
|
|
|
#define math_opt_barrier(x) \
|
|
|
|
({ __typeof (x) __x; \
|
|
|
|
__asm ("" : "=f" (__x) : "0" (x)); \
|
|
|
|
__x; })
|
|
|
|
#define math_force_eval(x) \
|
|
|
|
do \
|
|
|
|
{ \
|
|
|
|
__typeof (x) __x = (x); \
|
|
|
|
if (sizeof (x) <= sizeof (double)) \
|
|
|
|
__asm __volatile ("" : : "m" (__x)); \
|
|
|
|
else \
|
|
|
|
__asm __volatile ("" : : "f" (__x)); \
|
|
|
|
} \
|
|
|
|
while (0)
|
|
|
|
|
2012-03-10 01:28:42 +01:00
|
|
|
#include_next <math_private.h>
|
2011-10-26 11:34:30 +02:00
|
|
|
#endif
|