1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-25 11:37:56 +00:00

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:
Dimitry Andric 2010-11-25 22:19:40 +00:00
parent 5c0ab2fa8b
commit 1496505287
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=215845

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));
}
/*