| 1 | // WebAssembly has no floating-point exceptions or alternate rounding modes, |
| 2 | // so there's no need to prevent expressions from moving or force their |
| 3 | // evaluation. |
| 4 | |
| 5 | #define fp_barrierf fp_barrierf |
| 6 | static inline float fp_barrierf(float x) |
| 7 | { |
| 8 | 	return x; |
| 9 | } |
| 10 | |
| 11 | #define fp_barrier fp_barrier |
| 12 | static inline double fp_barrier(double x) |
| 13 | { |
| 14 | 	return x; |
| 15 | } |
| 16 | |
| 17 | #define fp_force_evalf fp_force_evalf |
| 18 | static inline void fp_force_evalf(float x) |
| 19 | { |
| 20 | } |
| 21 | |
| 22 | #define fp_force_eval fp_force_eval |
| 23 | static inline void fp_force_eval(double x) |
| 24 | { |
| 25 | } |