Commit 239ca41f by Kazu Hirata Committed by Kazu Hirata

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

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

From-SVN: r73538
parent fccc4eb2
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> 2003-11-13 Jan Hubicka <jh@suse.cz>
PR opt/12275 PR opt/12275
......
...@@ -589,7 +589,6 @@ setone: ...@@ -589,7 +589,6 @@ setone:
#else /* __H8300H__ */ #else /* __H8300H__ */
divmodsi4: divmodsi4:
sub.l S0P,S0P ; zero play area
mov.w A1E,A1E ; denominator top word 0? mov.w A1E,A1E ; denominator top word 0?
bne DenHighNonZero bne DenHighNonZero
...@@ -605,6 +604,7 @@ divmodsi4: ...@@ -605,6 +604,7 @@ divmodsi4:
rts rts
DenHighNonZero: DenHighNonZero:
sub.l S0P,S0P ; zero play area
mov.w A0E,A2 mov.w A0E,A2
mov.b A2H,S0L mov.b A2H,S0L
mov.b A2L,A2H mov.b A2L,A2H
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment