From 51ac666bcb92f0a63e633057ec9fc7ad26111b03 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Tue, 29 Apr 1997 16:12:25 -0600 Subject: [PATCH] lib1funcs.asm (divnorm, [...]): Fix code to negate SImode values. * lib1funcs.asm (divnorm, modnorm, exitdiv): Fix code to negate SImode values. From-SVN: r13991 --- gcc/config/h8300/lib1funcs.asm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gcc/config/h8300/lib1funcs.asm b/gcc/config/h8300/lib1funcs.asm index 4179a747fab..8b6066ec386 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