diff options
author | andrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-02-02 23:19:30 +0000 |
---|---|---|
committer | andrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-02-02 23:19:30 +0000 |
commit | 2ac288f9199196dfc4ab05bee0a7815ca361174a (patch) | |
tree | 66ba7102ed0f7e8b6deab5416f868aa43c82ad50 /ArmPkg/Library/CompilerIntrinsicsLib/Arm/udivmoddi4.S | |
parent | 5d23922674950ec2d2654b4c606692696681b544 (diff) | |
download | edk2-platforms-2ac288f9199196dfc4ab05bee0a7815ca361174a.tar.xz |
Fix issue with fixing tabs.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11297 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ArmPkg/Library/CompilerIntrinsicsLib/Arm/udivmoddi4.S')
-rw-r--r-- | ArmPkg/Library/CompilerIntrinsicsLib/Arm/udivmoddi4.S | 412 |
1 files changed, 206 insertions, 206 deletions
diff --git a/ArmPkg/Library/CompilerIntrinsicsLib/Arm/udivmoddi4.S b/ArmPkg/Library/CompilerIntrinsicsLib/Arm/udivmoddi4.S index 63e25094e9..cadc1d291a 100644 --- a/ArmPkg/Library/CompilerIntrinsicsLib/Arm/udivmoddi4.S +++ b/ArmPkg/Library/CompilerIntrinsicsLib/Arm/udivmoddi4.S @@ -12,231 +12,231 @@ # #------------------------------------------------------------------------------ -\s\s.text -\s\s.align 2 -\s\sGCC_ASM_EXPORT(__udivmoddi4) -\s\s + .text + .align 2 + GCC_ASM_EXPORT(__udivmoddi4) + ASM_PFX(__udivmoddi4): -\s\sstmfd\s\ssp!, {r4, r5, r6, r7, lr} -\s\sadd\s\sr7, sp, #12 -\s\sstmfd\s\ssp!, {r10, r11} -\s\ssub\s\ssp, sp, #20 -\s\sstmia\s\ssp, {r2-r3} -\s\sldr\s\sr6, [sp, #48] -\s\sorrs\s\sr2, r2, r3 -\s\smov\s\sr10, r0 -\s\smov\s\sr11, r1 -\s\sbeq\s\sL2 -\s\ssubs\s\sip, r1, #0 -\s\sbne\s\sL4 -\s\scmp\s\sr3, #0 -\s\sbne\s\sL6 -\s\scmp\s\sr6, #0 -\s\sbeq\s\sL8 -\s\smov\s\sr1, r2 -\s\sbl\s\sASM_PFX(__umodsi3) -\s\smov\s\sr1, #0 -\s\sstmia\s\sr6, {r0-r1} + stmfd sp!, {r4, r5, r6, r7, lr} + add r7, sp, #12 + stmfd sp!, {r10, r11} + sub sp, sp, #20 + stmia sp, {r2-r3} + ldr r6, [sp, #48] + orrs r2, r2, r3 + mov r10, r0 + mov r11, r1 + beq L2 + subs ip, r1, #0 + bne L4 + cmp r3, #0 + bne L6 + cmp r6, #0 + beq L8 + mov r1, r2 + bl ASM_PFX(__umodsi3) + mov r1, #0 + stmia r6, {r0-r1} L8: -\s\sldr\s\sr1, [sp, #0] -\s\smov\s\sr0, r10 -\s\sb\s\sL45 + ldr r1, [sp, #0] + mov r0, r10 + b L45 L6: -\s\scmp\s\sr6, #0 -\s\smovne\s\sr1, #0 -\s\sstmneia\s\sr6, {r0-r1} -\s\sb\s\sL2 + cmp r6, #0 + movne r1, #0 + stmneia r6, {r0-r1} + b L2 L4: -\s\sldr\s\sr1, [sp, #0] -\s\scmp\s\sr1, #0 -\s\sbne\s\sL12 -\s\sldr\s\sr2, [sp, #4] -\s\scmp\s\sr2, #0 -\s\sbne\s\sL14 -\s\scmp\s\sr6, #0 -\s\sbeq\s\sL16 -\s\smov\s\sr1, r2 -\s\smov\s\sr0, r11 -\s\sbl\s\sASM_PFX(__umodsi3) -\s\smov\s\sr1, #0 -\s\sstmia\s\sr6, {r0-r1} + ldr r1, [sp, #0] + cmp r1, #0 + bne L12 + ldr r2, [sp, #4] + cmp r2, #0 + bne L14 + cmp r6, #0 + beq L16 + mov r1, r2 + mov r0, r11 + bl ASM_PFX(__umodsi3) + mov r1, #0 + stmia r6, {r0-r1} L16: -\s\sldr\s\sr1, [sp, #4] -\s\smov\s\sr0, r11 + ldr r1, [sp, #4] + mov r0, r11 L45: -\s\sbl\s\sASM_PFX(__udivsi3) + bl ASM_PFX(__udivsi3) L46: -\s\smov\s\sr10, r0 -\s\smov\s\sr11, #0 -\s\sb\s\sL10 + mov r10, r0 + mov r11, #0 + b L10 L14: -\s\ssubs\s\sr1, r0, #0 -\s\sbne\s\sL18 -\s\scmp\s\sr6, #0 -\s\sbeq\s\sL16 -\s\sldr\s\sr1, [sp, #4] -\s\smov\s\sr0, r11 -\s\sbl\s\sASM_PFX(__umodsi3) -\s\smov\s\sr4, r10 -\s\smov\s\sr5, r0 -\s\sstmia\s\sr6, {r4-r5} -\s\sb\s\sL16 + subs r1, r0, #0 + bne L18 + cmp r6, #0 + beq L16 + ldr r1, [sp, #4] + mov r0, r11 + bl ASM_PFX(__umodsi3) + mov r4, r10 + mov r5, r0 + stmia r6, {r4-r5} + b L16 L18: -\s\ssub\s\sr3, r2, #1 -\s\stst\s\sr2, r3 -\s\sbne\s\sL22 -\s\scmp\s\sr6, #0 -\s\smovne\s\sr4, r0 -\s\sandne\s\sr5, ip, r3 -\s\sstmneia\s\sr6, {r4-r5} + sub r3, r2, #1 + tst r2, r3 + bne L22 + cmp r6, #0 + movne r4, r0 + andne r5, ip, r3 + stmneia r6, {r4-r5} L24: -\s\srsb\s\sr3, r2, #0 -\s\sand\s\sr3, r2, r3 -\s\sclz\s\sr3, r3 -\s\srsb\s\sr3, r3, #31 -\s\smov\s\sr0, ip, lsr r3 -\s\sb\s\sL46 + rsb r3, r2, #0 + and r3, r2, r3 + clz r3, r3 + rsb r3, r3, #31 + mov r0, ip, lsr r3 + b L46 L22: -\s\sclz\s\sr2, r2 -\s\sclz\s\sr3, ip -\s\srsb\s\sr3, r3, r2 -\s\scmp\s\sr3, #30 -\s\sbhi\s\sL48 -\s\srsb\s\sr2, r3, #31 -\s\sadd\s\slr, r3, #1 -\s\smov\s\sr3, r1, asl r2 -\s\sstr\s\sr3, [sp, #12] -\s\smov\s\sr3, r1, lsr lr -\s\sldr\s\sr0, [sp, #0] -\s\smov\s\sr5, ip, lsr lr -\s\sorr\s\sr4, r3, ip, asl r2 -\s\sstr\s\sr0, [sp, #8] -\s\sb\s\sL29 + clz r2, r2 + clz r3, ip + rsb r3, r3, r2 + cmp r3, #30 + bhi L48 + rsb r2, r3, #31 + add lr, r3, #1 + mov r3, r1, asl r2 + str r3, [sp, #12] + mov r3, r1, lsr lr + ldr r0, [sp, #0] + mov r5, ip, lsr lr + orr r4, r3, ip, asl r2 + str r0, [sp, #8] + b L29 L12: -\s\sldr\s\sr3, [sp, #4] -\s\scmp\s\sr3, #0 -\s\sbne\s\sL30 -\s\ssub\s\sr3, r1, #1 -\s\stst\s\sr1, r3 -\s\sbne\s\sL32 -\s\scmp\s\sr6, #0 -\s\sandne\s\sr3, r3, r0 -\s\smovne\s\sr2, r3 -\s\smovne\s\sr3, #0 -\s\sstmneia\s\sr6, {r2-r3} + ldr r3, [sp, #4] + cmp r3, #0 + bne L30 + sub r3, r1, #1 + tst r1, r3 + bne L32 + cmp r6, #0 + andne r3, r3, r0 + movne r2, r3 + movne r3, #0 + stmneia r6, {r2-r3} L34: -\s\scmp\s\sr1, #1 -\s\sbeq\s\sL10 -\s\srsb\s\sr3, r1, #0 -\s\sand\s\sr3, r1, r3 -\s\sclz\s\sr3, r3 -\s\srsb\s\sr0, r3, #31 -\s\smov\s\sr1, ip, lsr r0 -\s\srsb\s\sr3, r0, #32 -\s\smov\s\sr0, r10, lsr r0 -\s\sorr\s\sip, r0, ip, asl r3 -\s\sstr\s\sr1, [sp, #12] -\s\sstr\s\sip, [sp, #8] -\s\sldrd\s\sr10, [sp, #8] -\s\sb\s\sL10 + cmp r1, #1 + beq L10 + rsb r3, r1, #0 + and r3, r1, r3 + clz r3, r3 + rsb r0, r3, #31 + mov r1, ip, lsr r0 + rsb r3, r0, #32 + mov r0, r10, lsr r0 + orr ip, r0, ip, asl r3 + str r1, [sp, #12] + str ip, [sp, #8] + ldrd r10, [sp, #8] + b L10 L32: -\s\sclz\s\sr2, r1 -\s\sclz\s\sr3, ip -\s\srsb\s\sr3, r3, r2 -\s\srsb\s\sr4, r3, #31 -\s\smov\s\sr2, r0, asl r4 -\s\smvn\s\sr1, r3 -\s\sand\s\sr2, r2, r1, asr #31 -\s\sadd\s\slr, r3, #33 -\s\sstr\s\sr2, [sp, #8] -\s\sadd\s\sr2, r3, #1 -\s\smov\s\sr3, r3, asr #31 -\s\sand\s\sr0, r3, r0, asl r1 -\s\smov\s\sr3, r10, lsr r2 -\s\sorr\s\sr3, r3, ip, asl r4 -\s\sand\s\sr3, r3, r1, asr #31 -\s\sorr\s\sr0, r0, r3 -\s\smov\s\sr3, ip, lsr lr -\s\sstr\s\sr0, [sp, #12] -\s\smov\s\sr0, r10, lsr lr -\s\sand\s\sr5, r3, r2, asr #31 -\s\srsb\s\sr3, lr, #31 -\s\smov\s\sr3, r3, asr #31 -\s\sorr\s\sr0, r0, ip, asl r1 -\s\sand\s\sr3, r3, ip, lsr r2 -\s\sand\s\sr0, r0, r2, asr #31 -\s\sorr\s\sr4, r3, r0 -\s\sb\s\sL29 + clz r2, r1 + clz r3, ip + rsb r3, r3, r2 + rsb r4, r3, #31 + mov r2, r0, asl r4 + mvn r1, r3 + and r2, r2, r1, asr #31 + add lr, r3, #33 + str r2, [sp, #8] + add r2, r3, #1 + mov r3, r3, asr #31 + and r0, r3, r0, asl r1 + mov r3, r10, lsr r2 + orr r3, r3, ip, asl r4 + and r3, r3, r1, asr #31 + orr r0, r0, r3 + mov r3, ip, lsr lr + str r0, [sp, #12] + mov r0, r10, lsr lr + and r5, r3, r2, asr #31 + rsb r3, lr, #31 + mov r3, r3, asr #31 + orr r0, r0, ip, asl r1 + and r3, r3, ip, lsr r2 + and r0, r0, r2, asr #31 + orr r4, r3, r0 + b L29 L30: -\s\sclz\s\sr2, r3 -\s\sclz\s\sr3, ip -\s\srsb\s\sr3, r3, r2 -\s\scmp\s\sr3, #31 -\s\sbls\s\sL37 + clz r2, r3 + clz r3, ip + rsb r3, r3, r2 + cmp r3, #31 + bls L37 L48: -\s\scmp\s\sr6, #0 -\s\sstmneia\s\sr6, {r10-r11} -\s\sb\s\sL2 + cmp r6, #0 + stmneia r6, {r10-r11} + b L2 L37: -\s\srsb\s\sr1, r3, #31 -\s\smov\s\sr0, r0, asl r1 -\s\sadd\s\slr, r3, #1 -\s\smov\s\sr2, #0 -\s\sstr\s\sr0, [sp, #12] -\s\smov\s\sr0, r10, lsr lr -\s\sstr\s\sr2, [sp, #8] -\s\ssub\s\sr2, r3, #31 -\s\sand\s\sr0, r0, r2, asr #31 -\s\smov\s\sr3, ip, lsr lr -\s\sorr\s\sr4, r0, ip, asl r1 -\s\sand\s\sr5, r3, r2, asr #31 + rsb r1, r3, #31 + mov r0, r0, asl r1 + add lr, r3, #1 + mov r2, #0 + str r0, [sp, #12] + mov r0, r10, lsr lr + str r2, [sp, #8] + sub r2, r3, #31 + and r0, r0, r2, asr #31 + mov r3, ip, lsr lr + orr r4, r0, ip, asl r1 + and r5, r3, r2, asr #31 L29: -\s\smov\s\sip, #0 -\s\smov\s\sr10, ip -\s\sb\s\sL40 + mov ip, #0 + mov r10, ip + b L40 L41: -\s\sldr\s\sr1, [sp, #12] -\s\sldr\s\sr2, [sp, #8] -\s\smov\s\sr3, r4, lsr #31 -\s\sorr\s\sr5, r3, r5, asl #1 -\s\smov\s\sr3, r1, lsr #31 -\s\sorr\s\sr4, r3, r4, asl #1 -\s\smov\s\sr3, r2, lsr #31 -\s\sorr\s\sr0, r3, r1, asl #1 -\s\sorr\s\sr1, ip, r2, asl #1 -\s\sldmia\s\ssp, {r2-r3} -\s\sstr\s\sr0, [sp, #12] -\s\ssubs\s\sr2, r2, r4 -\s\ssbc\s\sr3, r3, r5 -\s\sstr\s\sr1, [sp, #8] -\s\ssubs\s\sr0, r2, #1 -\s\ssbc\s\sr1, r3, #0 -\s\smov\s\sr2, r1, asr #31 -\s\sldmia\s\ssp, {r0-r1} -\s\smov\s\sr3, r2 -\s\sand\s\sip, r2, #1 -\s\sand\s\sr3, r3, r1 -\s\sand\s\sr2, r2, r0 -\s\ssubs\s\sr4, r4, r2 -\s\ssbc\s\sr5, r5, r3 -\s\sadd\s\sr10, r10, #1 + ldr r1, [sp, #12] + ldr r2, [sp, #8] + mov r3, r4, lsr #31 + orr r5, r3, r5, asl #1 + mov r3, r1, lsr #31 + orr r4, r3, r4, asl #1 + mov r3, r2, lsr #31 + orr r0, r3, r1, asl #1 + orr r1, ip, r2, asl #1 + ldmia sp, {r2-r3} + str r0, [sp, #12] + subs r2, r2, r4 + sbc r3, r3, r5 + str r1, [sp, #8] + subs r0, r2, #1 + sbc r1, r3, #0 + mov r2, r1, asr #31 + ldmia sp, {r0-r1} + mov r3, r2 + and ip, r2, #1 + and r3, r3, r1 + and r2, r2, r0 + subs r4, r4, r2 + sbc r5, r5, r3 + add r10, r10, #1 L40: -\s\scmp\s\sr10, lr -\s\sbne\s\sL41 -\s\sldrd\s\sr0, [sp, #8] -\s\sadds\s\sr0, r0, r0 -\s\sadc\s\sr1, r1, r1 -\s\scmp\s\sr6, #0 -\s\sorr\s\sr10, r0, ip -\s\smov\s\sr11, r1 -\s\sstmneia\s\sr6, {r4-r5} -\s\sb\s\sL10 + cmp r10, lr + bne L41 + ldrd r0, [sp, #8] + adds r0, r0, r0 + adc r1, r1, r1 + cmp r6, #0 + orr r10, r0, ip + mov r11, r1 + stmneia r6, {r4-r5} + b L10 L2: -\s\smov\s\sr10, #0 -\s\smov\s\sr11, #0 + mov r10, #0 + mov r11, #0 L10: -\s\smov\s\sr0, r10 -\s\smov\s\sr1, r11 -\s\ssub\s\ssp, r7, #20 -\s\sldmfd\s\ssp!, {r10, r11} -\s\sldmfd\s\ssp!, {r4, r5, r6, r7, pc} + mov r0, r10 + mov r1, r11 + sub sp, r7, #20 + ldmfd sp!, {r10, r11} + ldmfd sp!, {r4, r5, r6, r7, pc} |