diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1997-04-29 22:12:25 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1997-04-29 22:12:25 +0000 |
commit | 98cceb177962662bca0ba51eee5c1f78c4fa602e (patch) | |
tree | c6485b9629eaec6eb182f5c9da88a609de4ea9e8 /gcc/config/h8300/lib1funcs.asm | |
parent | 3ec33c573b159d074ee81976e655a39a0f3bf647 (diff) | |
download | gcc-98cceb177962662bca0ba51eee5c1f78c4fa602e.tar.gz |
* lib1funcs.asm (divnorm, modnorm, exitdiv): Fix code to
negate SImode values.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13991 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/h8300/lib1funcs.asm')
-rw-r--r-- | gcc/config/h8300/lib1funcs.asm | 6 |
1 files 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 |