lib1funcs.asm (divnorm, [...]): Fix code to negate SImode values.
* lib1funcs.asm (divnorm, modnorm, exitdiv): Fix code to negate SImode values. From-SVN: r13991
This commit is contained in:
parent
4c58124363
commit
51ac666bcb
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user