Apply the same fix as in r215823 to sys/amd64/amd64/fpu.c: use

unambiguous inline assembly to load a float variable.
This commit is contained in:
dim 2010-11-25 22:19:40 +00:00
parent 2b320b89cf
commit 51b4420dac

View File

@ -567,7 +567,7 @@ fpu_clean_state(void)
* the x87 stack, but we don't care since we're about to call
* fxrstor() anyway.
*/
__asm __volatile("ffree %%st(7); fld %0" : : "m" (dummy_variable));
__asm __volatile("ffree %%st(7); flds %0" : : "m" (dummy_variable));
}
/*