summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2010-12-10 09:13:02 +0000
committerkettenis <kettenis@openbsd.org>2010-12-10 09:13:02 +0000
commite6710c68861713bc7bb788b5a808edaf6b6773ca (patch)
treef10a4017eeb4eb6ae22afd6d649b31079f49a443
parentAbort endless loops during roff macro and string expansion. (diff)
downloadwireguard-openbsd-e6710c68861713bc7bb788b5a808edaf6b6773ca.tar.xz
wireguard-openbsd-e6710c68861713bc7bb788b5a808edaf6b6773ca.zip
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