Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Nov 2010 22:19:40 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r215845 - head/sys/amd64/amd64
Message-ID:  <201011252219.oAPMJea9019349@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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));
 }
 
 /*



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201011252219.oAPMJea9019349>