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

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

From-SVN: r73620
This commit is contained in:
Kazu Hirata 2003-11-14 20:39:30 +00:00 committed by Kazu Hirata
parent 2a91b33cb0
commit 584fb00b96
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,8 @@
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>
* config/rs6000/rs6000.c (rs6000_move_block_from_reg):

View File

@ -633,13 +633,16 @@ divmod_L21:
mov.w e2,e2
bne divmod_L21
#else
bra divmod_L22
shlr.l #2,er2 ; make divisor < 2^16
mov.w e2,e2
beq divmod_L22A
divmod_L21:
shlr.l #2,er0
divmod_L22:
shlr.l #2,er2 ; make divisor < 2^16
mov.w e2,e2
bne divmod_L21
divmod_L22A:
rotxl.w r2
bcs divmod_L23
shlr.l er0