PERFORCE change 96636 for review

Kip Macy kmacy at FreeBSD.org
Thu May 4 00:11:55 UTC 2006


http://perforce.freebsd.org/chv.cgi?CH=96636

Change 96636 by kmacy at kmacy_storage:sun4v_rwbuf on 2006/05/04 00:11:42

	fix savefpctx (BLK ASI with fp doesn't appear to work on sun4v)

Affected files ...

.. //depot/projects/kmacy_sun4v/src/sys/sun4v/sun4v/swtch.S#19 edit

Differences ...

==== //depot/projects/kmacy_sun4v/src/sys/sun4v/sun4v/swtch.S#19 (text+ko) ====

@@ -242,12 +242,10 @@
  */
 ENTRY(savefpctx)
 	wr	%g0, FPRS_FEF, %fprs
-	wr	%g0, ASI_BLK_S, %asi
-	stda	%f0, [%o0 + (0 * 64)] %asi
-	stda	%f16, [%o0 + (1 * 64)] %asi
-	stda	%f32, [%o0 + (2 * 64)] %asi
-	stda	%f48, [%o0 + (3 * 64)] %asi
-	membar	#Sync
+	std	%f0, [%o0 + (0 * 64)] 
+	std	%f16, [%o0 + (1 * 64)] 
+	std	%f32, [%o0 + (2 * 64)] 
+	std	%f48, [%o0 + (3 * 64)] 
 	retl
 	 wr	%g0, 0, %fprs
 END(savefpctx)


More information about the p4-projects mailing list