* config/avr/libgcc.S (__mulhi3): Optimize previous change.

From-SVN: r40976
This commit is contained in:
Marek Michalkiewicz 2001-03-31 18:24:16 +02:00 committed by Marek Michalkiewicz
parent 59350e5059
commit 7656d28aed
2 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2001-03-31 Marek Michalkiewicz <marekm@linux.org.pl>
* config/avr/libgcc.S (__mulhi3): Optimize previous change.
2001-03-30 Bernd Schmidt <bernds@redhat.com>
* loop.c (load_mems): When generating a load from a pseudo, update

View File

@ -143,8 +143,7 @@ __mulhi3_skip1:
lsr r_arg1H ; gets LSB of multiplier
ror r_arg1L
cp r_arg1L,__zero_reg__
cpc r_arg1H,__zero_reg__
sbiw r_arg1L,0
brne __mulhi3_loop ; exit if multiplier = 0
__mulhi3_exit:
mov r_arg1H,r_resH ; result to return register