diff options
author | dim <dim@FreeBSD.org> | 2010-11-25 22:19:40 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2010-11-25 22:19:40 +0000 |
commit | 51b4420dacee071576f22a93f289e65a21ef32fe (patch) | |
tree | 184a8f21a4eb5893374c45990c86a3091677c820 | |
parent | 2b320b89cfe0888454773412b8c48f36acf6c79a (diff) | |
download | FreeBSD-src-51b4420dacee071576f22a93f289e65a21ef32fe.zip FreeBSD-src-51b4420dacee071576f22a93f289e65a21ef32fe.tar.gz |
Apply the same fix as in r215823 to sys/amd64/amd64/fpu.c: use
unambiguous inline assembly to load a float variable.
-rw-r--r-- | sys/amd64/amd64/fpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/amd64/amd64/fpu.c b/sys/amd64/amd64/fpu.c index d75df64..4b1583a 100644 --- a/sys/amd64/amd64/fpu.c +++ b/sys/amd64/amd64/fpu.c @@ -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)); } /* |