Untitled diff
8 removals
77 lines
9 additions
78 lines
/* Compilation: -O1 */
/* Compilation: -O2 */
.file "test.c"
.file "test.c"
__SP_L__ = 0x3d
__SP_L__ = 0x3d
__SREG__ = 0x3f
__SREG__ = 0x3f
__tmp_reg__ = 0
__tmp_reg__ = 0
__zero_reg__ = 1
__zero_reg__ = 1
.text
.section .text.startup,"ax",@progbits
.global main
.global main
.type main, @function
.type main, @function
main:
main:
/* prologue: function */
/* prologue: function */
/* frame size = 0 */
/* frame size = 0 */
/* stack size = 0 */
/* stack size = 0 */
.L__stack_usage = 0
.L__stack_usage = 0
ldi r24,lo8(1)
ldi r24,lo8(1)
out 0x17,r24
out 0x17,r24
ldi r24,lo8(10)
ldi r24,lo8(10)
ldi r25,lo8(1)
ldi r25,lo8(1)
.L3:
.L4:
out 0x18,r25
out 0x18,r25
ldi r18,lo8(119999)
ldi r18,lo8(119999)
ldi r19,hi8(119999)
ldi r19,hi8(119999)
ldi r20,hlo8(119999)
ldi r20,hlo8(119999)
1: subi r18,1
1: subi r18,1
sbci r19,0
sbci r19,0
sbci r20,0
sbci r20,0
brne 1b
brne 1b
rjmp .
rjmp .
nop
nop
out 0x18,__zero_reg__
out 0x18,__zero_reg__
ldi r18,lo8(119999)
ldi r18,lo8(119999)
ldi r19,hi8(119999)
ldi r19,hi8(119999)
ldi r20,hlo8(119999)
ldi r20,hlo8(119999)
1: subi r18,1
1: subi r18,1
sbci r19,0
sbci r19,0
sbci r20,0
sbci r20,0
brne 1b
brne 1b
rjmp .
rjmp .
nop
nop
subi r24,lo8(-(-1))
subi r24,lo8(-(-1))
brne .L3
brne .L4
.L4:
.L3:
rjmp .L4
rjmp .L3
.size main, .-main
.size main, .-main
.text
.global test
.global test
.type test, @function
.type test, @function
test:
test:
/* prologue: function */
/* prologue: function */
/* frame size = 0 */
/* frame size = 0 */
/* stack size = 0 */
/* stack size = 0 */
.L__stack_usage = 0
.L__stack_usage = 0
ldi r24,lo8(1)
ldi r24,lo8(1)
out 0x17,r24
out 0x17,r24
ldi r24,lo8(10)
ldi r24,lo8(10)
ldi r25,lo8(1)
ldi r25,lo8(1)
.L7:
.L8:
out 0x18,r25
out 0x18,r25
ldi r30,lo8(29999)
ldi r30,lo8(29999)
ldi r31,hi8(29999)
ldi r31,hi8(29999)
1: sbiw r30,1
1: sbiw r30,1
brne 1b
brne 1b
rjmp .
rjmp .
nop
nop
out 0x18,__zero_reg__
out 0x18,__zero_reg__
ldi r30,lo8(29999)
ldi r30,lo8(29999)
ldi r31,hi8(29999)
ldi r31,hi8(29999)
1: sbiw r30,1
1: sbiw r30,1
brne 1b
brne 1b
rjmp .
rjmp .
nop
nop
subi r24,lo8(-(-1))
subi r24,lo8(-(-1))
brne .L7
brne .L8
/* epilogue start */
/* epilogue start */
ret
ret
.size test, .-test
.size test, .-test
.ident "GCC: (GNU) 4.8.2"
.ident "GCC: (GNU) 4.8.2"