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/umodsi3.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/umodsi3.S')
-rw-r--r-- | ArmPkg/Library/CompilerIntrinsicsLib/Arm/umodsi3.S | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/ArmPkg/Library/CompilerIntrinsicsLib/Arm/umodsi3.S b/ArmPkg/Library/CompilerIntrinsicsLib/Arm/umodsi3.S index 9506eedb38..9d0f17e6e9 100644 --- a/ArmPkg/Library/CompilerIntrinsicsLib/Arm/umodsi3.S +++ b/ArmPkg/Library/CompilerIntrinsicsLib/Arm/umodsi3.S @@ -12,17 +12,17 @@ # #------------------------------------------------------------------------------ -\s\s.text -\s\s.align 2 -\s\sGCC_ASM_EXPORT(__umodsi3) -\s\s + .text + .align 2 + GCC_ASM_EXPORT(__umodsi3) + ASM_PFX(__umodsi3): -\s\sstmfd\s\ssp!, {r4, r5, r7, lr} -\s\sadd\s\sr7, sp, #8 -\s\smov\s\sr5, r0 -\s\smov\s\sr4, r1 -\s\sbl \s\sASM_PFX(__udivsi3) -\s\smul\s\sr0, r4, r0 -\s\srsb\s\sr0, r0, r5 -\s\sldmfd\s\ssp!, {r4, r5, r7, pc} + stmfd sp!, {r4, r5, r7, lr} + add r7, sp, #8 + mov r5, r0 + mov r4, r1 + bl ASM_PFX(__udivsi3) + mul r0, r4, r0 + rsb r0, r0, r5 + ldmfd sp!, {r4, r5, r7, pc} |