mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-23 03:10:05 +00:00
20 lines
432 B
C
20 lines
432 B
C
#ifndef _MATH_PRIVATE_H
|
|
|
|
#define math_opt_barrier(x) \
|
|
({ __typeof (x) __x; \
|
|
__asm ("" : "=t" (__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)
|
|
|
|
#include <math/math_private.h>
|
|
#endif
|