-
-
Save anonymous/9197267 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.syntax unified | |
.eabi_attribute 6, 1 @ Tag_CPU_arch | |
.eabi_attribute 8, 1 @ Tag_ARM_ISA_use | |
.eabi_attribute 20, 1 @ Tag_ABI_FP_denormal | |
.eabi_attribute 21, 1 @ Tag_ABI_FP_exceptions | |
.eabi_attribute 23, 3 @ Tag_ABI_FP_number_model | |
.eabi_attribute 24, 1 @ Tag_ABI_align_needed | |
.eabi_attribute 25, 1 @ Tag_ABI_align_preserved | |
.file "<stdin>" | |
.text | |
.globl test_basic | |
.align 2 | |
.type test_basic,%function | |
test_basic: @ @test_basic | |
.fnstart | |
.Leh_func_begin0: | |
@ BB#0: | |
push {r4, r5} | |
mrc p15, #0, r4, c13, c0, #3 | |
mov r5, sp | |
cmp r4, #0 | |
mvneq r4, #61440 | |
ldreq r4, [r4, #-15] | |
add r4, r4, #4 | |
ldr r4, [r4] | |
cmp r4, r5 | |
blo .LBB0_2 | |
@ BB#1: | |
mov r4, #24 | |
mov r5, #0 | |
stmdb sp!, {lr} | |
bl __morestack | |
ldm sp!, {lr} | |
pop {r4, r5} | |
mov pc, lr | |
.LBB0_2: | |
pop {r4, r5} | |
.save {r4, r5, r6, r11, lr} | |
push {r4, r5, r6, r11, lr} | |
.setfp r11, sp, #12 | |
add r11, sp, #12 | |
.pad #4 | |
sub sp, sp, #4 | |
mov r4, r0 | |
mov r0, #7 | |
add r0, r0, r4, lsl #2 | |
bic r0, r0, #7 | |
sub r0, sp, r0 | |
mov sp, r0 | |
mov r1, r4 | |
bl dummy_use | |
cmp r4, #0 | |
beq .LBB0_4 | |
@ BB#3: @ %false | |
sub r0, r4, #1 | |
bl test_basic | |
b .LBB0_5 | |
.LBB0_4: @ %true | |
mov r0, #0 | |
.LBB0_5: @ %true | |
sub sp, r11, #12 | |
pop {r4, r5, r6, r11, lr} | |
mov pc, lr | |
.Ltmp2: | |
.size test_basic, .Ltmp2-test_basic | |
.Leh_func_end0: | |
.fnend | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment