lib1funcs.asm (ARM_DIV_BODY case __OPTIMIZE_SIZE__): Fix condition on IT instruction for early termination.
2010-12-20 Yvan Roux <yvan.roux@st.com> * config/arm/lib1funcs.asm (ARM_DIV_BODY case __OPTIMIZE_SIZE__): Fix condition on IT instruction for early termination. From-SVN: r168088
This commit is contained in:
parent
5b64bab91c
commit
ee102849bd
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2010-12-20 Yvan Roux <yvan.roux@st.com>
|
||||
|
||||
* config/arm/lib1funcs.asm (ARM_DIV_BODY case __OPTIMIZE_SIZE__): Fix
|
||||
condition on IT instruction for early termination.
|
||||
|
||||
2010-12-20 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
* config/rs6000/freebsd.h (SVR4_ASM_SPEC): Don't define.
|
||||
|
|
|
@ -641,7 +641,7 @@ pc .req r15
|
|||
subhs \dividend, \dividend, \divisor, lsr #3
|
||||
orrhs \result, \result, \curbit, lsr #3
|
||||
cmp \dividend, #0 @ Early termination?
|
||||
do_it hs, t
|
||||
do_it ne, t
|
||||
movnes \curbit, \curbit, lsr #4 @ No, any more bits to do?
|
||||
movne \divisor, \divisor, lsr #4
|
||||
bne 1b
|
||||
|
|
Loading…
Add table
Reference in a new issue