Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 May 2006 00:11:54 GMT
From:      Kip Macy <kmacy@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 96636 for review
Message-ID:  <200605040011.k440BsSM058823@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=96636

Change 96636 by kmacy@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)



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