Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/hppa/hppa Remove unnecessary %sr2 instructions in s...
details: https://anonhg.NetBSD.org/src/rev/1aa6f941c3e4
branches: trunk
changeset: 327391:1aa6f941c3e4
user: skrll <skrll%NetBSD.org@localhost>
date: Thu Mar 06 17:44:49 2014 +0000
description:
Remove unnecessary %sr2 instructions in spstrcpy
diffstat:
sys/arch/hppa/hppa/copy.S | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diffs (25 lines):
diff -r 02d1eb5c58c8 -r 1aa6f941c3e4 sys/arch/hppa/hppa/copy.S
--- a/sys/arch/hppa/hppa/copy.S Thu Mar 06 15:21:58 2014 +0000
+++ b/sys/arch/hppa/hppa/copy.S Thu Mar 06 17:44:49 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: copy.S,v 1.19 2011/10/01 15:50:46 chs Exp $ */
+/* $NetBSD: copy.S,v 1.20 2014/03/06 17:44:49 skrll Exp $ */
/*-
* Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -156,7 +156,6 @@
stw %t2, PCB_ONFAULT(%r31)
ldw HPPA_FRAME_ARG(4)(%sp), %ret1 /* size */
- mfsp %sr2, %ret0 /* XXX need this? */
mtsp %arg0, %sr1
mtsp %arg2, %sr2
copy %arg1, %arg0 /* save src */
@@ -175,7 +174,6 @@
L$spstrcpy_fault:
/* reset fault handler */
stw %r0, PCB_ONFAULT(%r31)
- mtsp %r0, %sr2 /* XXX need this? */
sub %arg1, %arg0, %arg1
ldw HPPA_FRAME_ARG(5)(%sp), %arg0 /* rsize */
comiclr,= 0, %arg0, %r0
Home |
Main Index |
Thread Index |
Old Index