lib1funcs.asm (divmodsi4): Clear S0P in DenHighNonZero.

* config/h8300/lib1funcs.asm (divmodsi4): Clear S0P in
	DenHighNonZero.

From-SVN: r73538
This commit is contained in:
Kazu Hirata 2003-11-13 04:26:00 +00:00 committed by Kazu Hirata
parent fccc4eb240
commit 239ca41f81
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2003-11-12 Kazu Hirata <kazu@cs.umass.edu>
* config/h8300/lib1funcs.asm (divmodsi4): Clear S0P in
DenHighNonZero.
2003-11-13 Jan Hubicka <jh@suse.cz>
PR opt/12275

View file

@ -589,7 +589,6 @@ setone:
#else /* __H8300H__ */
divmodsi4:
sub.l S0P,S0P ; zero play area
mov.w A1E,A1E ; denominator top word 0?
bne DenHighNonZero
@ -605,6 +604,7 @@ divmodsi4:
rts
DenHighNonZero:
sub.l S0P,S0P ; zero play area
mov.w A0E,A2
mov.b A2H,S0L
mov.b A2L,A2H