summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2010-12-10 09:13:03 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2010-12-10 09:13:03 +0000
commit24877300f6b9712fe7d3322bf40f1fc50779300d (patch)
tree16cd9b9e1c843834e844e641d5c5ae94f6f9e363
parentf1e79ec68713661173a39689ac7ec54384c9e6eb (diff)
There's no need to flush the cache for the FPU state ever since we got rid
of the non-equivalent aliases for it. ok miod@
-rw-r--r--sys/arch/hppa/hppa/locore.S22
1 files changed, 1 insertions, 21 deletions
diff --git a/sys/arch/hppa/hppa/locore.S b/sys/arch/hppa/hppa/locore.S
index faf916d860e..4613c382498 100644
--- a/sys/arch/hppa/hppa/locore.S
+++ b/sys/arch/hppa/hppa/locore.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: locore.S,v 1.180 2010/11/28 20:09:14 miod Exp $ */
+/* $OpenBSD: locore.S,v 1.181 2010/12/10 09:13:02 kettenis Exp $ */
/*
* Copyright (c) 1998-2004 Michael Shalayeff
@@ -2327,16 +2327,6 @@ LEAF_ENTRY(fpu_save)
fstds,ma %fr29, 8(arg0)
fstds,ma %fr30, 8(arg0)
fstds %fr31, 0(arg0)
- ldo -24(arg0), arg0
- ldi -32, r25 /* gotta be free for all callers */
- fdc,m r25(arg0)
- fdc,m r25(arg0)
- fdc,m r25(arg0)
- fdc,m r25(arg0)
- fdc,m r25(arg0)
- fdc,m r25(arg0)
- fdc,m r25(arg0)
- fdc,m r25(arg0)
bv r0(rp)
sync
EXIT(fpu_save)
@@ -2413,16 +2403,6 @@ ENTRY($fpu_emulate,320)
zdep ret0, 5, 6, r17 /* intentionally zero the insn */
stw r17, 4(r25)
- fdc,m r1(r25)
- fdc,m r1(r25)
- fdc,m r1(r25)
- fdc,m r1(r25)
- fdc,m r1(r25)
- fdc,m r1(r25)
- fdc,m r1(r25)
- fdc r0(r25)
- sync
-
mfctl cr29, r31
ldw CI_STACK(r31), r31