Commit 584fb00b by Kazu Hirata Committed by Kazu Hirata

lib1funcs.asm (___udivsi3): Peel off the first iteration.

	* config/h8300/lib1funcs.asm (___udivsi3): Peel off the first
	iteration.

From-SVN: r73620
parent 2a91b33c
2003-11-14 Kazu Hirata <kazu@cs.umass.edu>
* config/h8300/lib1funcs.asm (___udivsi3): Peel off the first
iteration.
2003-11-14 Fariborz Jahanian <fjahanian@apple.com> 2003-11-14 Fariborz Jahanian <fjahanian@apple.com>
* config/rs6000/rs6000.c (rs6000_move_block_from_reg): * config/rs6000/rs6000.c (rs6000_move_block_from_reg):
......
...@@ -633,13 +633,16 @@ divmod_L21: ...@@ -633,13 +633,16 @@ divmod_L21:
mov.w e2,e2 mov.w e2,e2
bne divmod_L21 bne divmod_L21
#else #else
bra divmod_L22 shlr.l #2,er2 ; make divisor < 2^16
mov.w e2,e2
beq divmod_L22A
divmod_L21: divmod_L21:
shlr.l #2,er0 shlr.l #2,er0
divmod_L22: divmod_L22:
shlr.l #2,er2 ; make divisor < 2^16 shlr.l #2,er2 ; make divisor < 2^16
mov.w e2,e2 mov.w e2,e2
bne divmod_L21 bne divmod_L21
divmod_L22A:
rotxl.w r2 rotxl.w r2
bcs divmod_L23 bcs divmod_L23
shlr.l er0 shlr.l er0
......
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