artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4116364
)
Small cleanup of the fpu switching code; don't rely on the fact the HFP_REGS
author
kettenis
<kettenis@openbsd.org>
Sun, 1 Aug 2010 14:20:41 +0000
(14:20 +0000)
committer
kettenis
<kettenis@openbsd.org>
Sun, 1 Aug 2010 14:20:41 +0000
(14:20 +0000)
is actually zero and remove a redundant instruction.
ok jsing@
sys/arch/hppa/hppa/locore.S
patch
|
blob
|
history
diff --git
a/sys/arch/hppa/hppa/locore.S
b/sys/arch/hppa/hppa/locore.S
index
44ec1ed
..
796fe55
100644
(file)
--- a/
sys/arch/hppa/hppa/locore.S
+++ b/
sys/arch/hppa/hppa/locore.S
@@
-1,4
+1,4
@@
-/* $OpenBSD: locore.S,v 1.17
7 2010/07/01 23:20:13 jsing Exp $
*/
+/* $OpenBSD: locore.S,v 1.17
8 2010/08/01 14:20:41 kettenis Exp $
*/
/*
* Copyright (c) 1998-2004 Michael Shalayeff
@@
-1137,9
+1137,8
@@
$fpusw_nosave
fldds 0(r17), fr0 /* fr0 must be restored last */
mfctl cr29, r1
- stw r17, CI_FPU_STATE(r1)
- mfctl cr30, r17
- stw r1, HFP_CPU(r17)
+ stw r9, CI_FPU_STATE(r1)
+ stw r1, HFP_CPU(r9)
sync
$fpusw_done