bx lr is faster than mov pc, lr

dev
MITSUNARI Shigeo 9 years ago
parent 295766369e
commit ed102088d4
  1. 10
      src/low_armv7.s

@ -17,9 +17,9 @@ mcl_fp_addNC64:
# slow
.align 2
mcl_fp_addNC64_2:
ldm r1, {r3, r12}
ldm r2, {r1, r2}
ldm r1, {r3, r12}
ldm r2, {r1, r2}
adds r1, r1, r3
adc r2, r2, r12
stm r0, {r1, r2}
mov pc, lr
adc r2, r2, r12
stm r0, {r1, r2}
bx lr

Loading…
Cancel
Save