summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2008-03-22 12:49:54 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2008-03-22 12:49:54 +0000
commit96485795cae1097de13025d7f507e745bd4dcba9 (patch)
tree320d3a32c2ab035fb519b74ef086c8498d3ace5d
parent21c2c5a820a1ddb1cb9664c3b309246bc564d7b3 (diff)
Use ASI_BLK_P instead of ASI_BLK_COMMIT_P when saving floating point
registers. UltraSPARC T1 doesn't support ASI_BLK_COMMIT_P, and I can't see why this code needs commit force.
-rw-r--r--sys/arch/sparc64/sparc64/locore.s10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/arch/sparc64/sparc64/locore.s b/sys/arch/sparc64/sparc64/locore.s
index 91622f36cbd..e59ce2824ea 100644
--- a/sys/arch/sparc64/sparc64/locore.s
+++ b/sys/arch/sparc64/sparc64/locore.s
@@ -1,4 +1,4 @@
-/* $OpenBSD: locore.s,v 1.119 2008/03/22 10:53:15 kettenis Exp $ */
+/* $OpenBSD: locore.s,v 1.120 2008/03/22 12:49:53 kettenis Exp $ */
/* $NetBSD: locore.s,v 1.137 2001/08/13 06:10:10 jdolecek Exp $ */
/*
@@ -7526,9 +7526,9 @@ ENTRY(savefpstate)
add %o2, 128, %o2 ! Skip a block
membar #Sync
- stda %f0, [%o2] ASI_BLK_COMMIT_P ! f->fs_f0 = etc;
+ stda %f0, [%o2] ASI_BLK_P ! f->fs_f0 = etc;
inc BLOCK_SIZE, %o2
- stda %f16, [%o2] ASI_BLK_COMMIT_P
+ stda %f16, [%o2] ASI_BLK_P
inc BLOCK_SIZE, %o2
1:
btst FPRS_DU, %o5 ! Upper FPU clean?
@@ -7536,9 +7536,9 @@ ENTRY(savefpstate)
nop
membar #Sync
- stda %f32, [%o2] ASI_BLK_COMMIT_P
+ stda %f32, [%o2] ASI_BLK_P
inc BLOCK_SIZE, %o2
- stda %f48, [%o2] ASI_BLK_COMMIT_P
+ stda %f48, [%o2] ASI_BLK_P
2:
membar #Sync ! Finish operation so we can
retl