Author: dim
Date: Thu Nov 25 22:19:40 2010
New Revision: 215845
URL: http://svn.freebsd.org/changeset/base/215845

Log:
  Apply the same fix as in r215823 to sys/amd64/amd64/fpu.c: use
  unambiguous inline assembly to load a float variable.

Modified:
  head/sys/amd64/amd64/fpu.c

Modified: head/sys/amd64/amd64/fpu.c
==============================================================================
--- head/sys/amd64/amd64/fpu.c  Thu Nov 25 22:06:07 2010        (r215844)
+++ head/sys/amd64/amd64/fpu.c  Thu Nov 25 22:19:40 2010        (r215845)
@@ -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));
 }
 
 /*
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to