switched to volatile extern dummy variables

This commit is contained in:
Nicolas 2025-10-31 16:59:46 +01:00
parent e8a73c088e
commit 4a7a90696d
1 changed files with 2 additions and 2 deletions

View File

@ -2,8 +2,8 @@
//double (*math_pow)(double, double); //double (*math_pow)(double, double);
extern int dummy_int; volatile extern int dummy_int;
extern float dummy_float; volatile extern float dummy_float;
__attribute__((noinline)) int floor_div(float arg1, float arg2) { __attribute__((noinline)) int floor_div(float arg1, float arg2) {
float x = arg1 / arg2; float x = arg1 / arg2;