aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Law <law@gcc.gnu.org>1997-04-29 16:12:25 -0600
committerJeff Law <law@gcc.gnu.org>1997-04-29 16:12:25 -0600
commit51ac666bcb92f0a63e633057ec9fc7ad26111b03 (patch)
treec6485b9629eaec6eb182f5c9da88a609de4ea9e8
parent4c58124363e36ea1e835819b31e91c13109665b8 (diff)
downloadgcc-51ac666bcb92f0a63e633057ec9fc7ad26111b03.zip
gcc-51ac666bcb92f0a63e633057ec9fc7ad26111b03.tar.gz
gcc-51ac666bcb92f0a63e633057ec9fc7ad26111b03.tar.bz2
lib1funcs.asm (divnorm, [...]): Fix code to negate SImode values.
* lib1funcs.asm (divnorm, modnorm, exitdiv): Fix code to negate SImode values. From-SVN: r13991
-rw-r--r--gcc/config/h8300/lib1funcs.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/config/h8300/lib1funcs.asm b/gcc/config/h8300/lib1funcs.asm
index 4179a74..8b6066e 100644
--- a/gcc/config/h8300/lib1funcs.asm
+++ b/gcc/config/h8300/lib1funcs.asm
@@ -339,8 +339,8 @@ divnorm:
add #1,A1L
addx #0,A1H
- addx #0,A0H
addx #0,A0L
+ addx #0,A0H
mov.b #1,S2L ; the sign will be -ve
postive:
@@ -373,8 +373,8 @@ modnorm:
add #1,A1L
addx #0,A1H
- addx #0,A0H
addx #0,A0L
+ addx #0,A0H
mov.b #1,S2L ; the sign will be -ve
mpostive:
@@ -499,8 +499,8 @@ exitdiv:
add #1,A1L
addx #0,A1H
- addx #0,A0H
addx #0,A0L
+ addx #0,A0H
#else /* __H8300H__ */
neg.l A0P
#endif