Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/arch/sh5/gen It helps to use the right register for...
details: https://anonhg.NetBSD.org/src/rev/9e2d8d2b2740
branches: trunk
changeset: 533875:9e2d8d2b2740
user: scw <scw%NetBSD.org@localhost>
date: Wed Jul 10 13:21:56 2002 +0000
description:
It helps to use the right register for the return value.
diffstat:
lib/libc/arch/sh5/gen/flt_rounds.S | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (20 lines):
diff -r 3f2087e161db -r 9e2d8d2b2740 lib/libc/arch/sh5/gen/flt_rounds.S
--- a/lib/libc/arch/sh5/gen/flt_rounds.S Wed Jul 10 13:13:47 2002 +0000
+++ b/lib/libc/arch/sh5/gen/flt_rounds.S Wed Jul 10 13:21:56 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: flt_rounds.S,v 1.1 2002/07/10 13:09:04 scw Exp $ */
+/* $NetBSD: flt_rounds.S,v 1.2 2002/07/10 13:21:56 scw Exp $ */
/*
* Copyright 2002 Wasabi Systems, Inc.
@@ -45,7 +45,7 @@
ENTRY(__flt_rounds)
fgetscr fr0
ptabs/l r18, tr0
- fmov.sl fr0, r3
- andi r3, 1, r3
- xori r3, 1, r3
+ fmov.sl fr0, r2
+ andi r2, 1, r2
+ xori r2, 1, r2
blink tr0, r63
Home |
Main Index |
Thread Index |
Old Index