forked from WebAssembly/binaryen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
20021024-1.c.s
123 lines (117 loc) · 3.21 KB
/
20021024-1.c.s
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
.text
.file "/b/build/slave/linux/build/src/src/work/gcc/gcc/testsuite/gcc.c-torture/execute/20021024-1.c"
.section .text.foo,"ax",@progbits
.hidden foo
.globl foo
.type foo,@function
foo: # @foo
# BB#0: # %entry
# fallthrough-return
.endfunc
.Lfunc_end0:
.size foo, .Lfunc_end0-foo
.section .text.bar,"ax",@progbits
.hidden bar
.globl bar
.type bar,@function
bar: # @bar
.param i32, i32
.local i32, i32, i32
# BB#0: # %entry
i32.const $push0=, 511
i32.and $2=, $0, $pop0
i32.const $push1=, 20
i32.shr_u $push2=, $0, $pop1
i32.const $push3=, 4088
i32.and $push4=, $pop2, $pop3
i32.add $4=, $1, $pop4
i32.const $push5=, 6
i32.shr_u $push6=, $0, $pop5
i32.const $push16=, 4088
i32.and $push7=, $pop6, $pop16
i32.add $3=, $1, $pop7
i32.const $push15=, 0
i32.load $0=, cp($pop15)
.LBB1_1: # %top
# =>This Inner Loop Header: Depth=1
loop # label0:
i64.const $push19=, 1
i64.store $drop=, 0($0), $pop19
i32.const $push18=, 0
i64.load $push9=, 0($4)
i64.load $push8=, 0($3)
i64.add $push10=, $pop9, $pop8
i64.store $drop=, m($pop18), $pop10
i64.const $push17=, 2
i64.store $drop=, 0($0), $pop17
i32.eqz $push20=, $2
br_if 0, $pop20 # 0: up to label0
# BB#2: # %if.end
end_loop # label1:
i32.const $push11=, 3
i32.shl $push12=, $2, $pop11
i32.add $push13=, $1, $pop12
i64.const $push14=, 1
i64.store $drop=, 0($pop13), $pop14
# fallthrough-return
.endfunc
.Lfunc_end1:
.size bar, .Lfunc_end1-bar
.section .text.main,"ax",@progbits
.hidden main
.globl main
.type main,@function
main: # @main
.result i32
.local i32
# BB#0: # %entry
i32.const $push9=, 0
i32.const $push6=, 0
i32.load $push7=, __stack_pointer($pop6)
i32.const $push8=, 16
i32.sub $push12=, $pop7, $pop8
i32.store $0=, __stack_pointer($pop9), $pop12
i32.const $push1=, 0
i64.const $push0=, 47
i64.store $drop=, main.r+32($pop1), $pop0
i32.const $push17=, 0
i64.const $push2=, 11
i64.store $drop=, main.r+64($pop17), $pop2
i32.const $push16=, 0
i64.const $push3=, 58
i64.store $drop=, m($pop16), $pop3
i32.const $push15=, 0
i64.const $push4=, 1
i64.store $drop=, main.r+120($pop15), $pop4
i32.const $push14=, 0
i32.const $push10=, 8
i32.add $push11=, $0, $pop10
i32.store $drop=, cp($pop14), $pop11
i64.const $push5=, 2
i64.store $drop=, 8($0), $pop5
i32.const $push13=, 0
call exit@FUNCTION, $pop13
unreachable
.endfunc
.Lfunc_end2:
.size main, .Lfunc_end2-main
.hidden cp # @cp
.type cp,@object
.section .bss.cp,"aw",@nobits
.globl cp
.p2align 2
cp:
.int32 0
.size cp, 4
.hidden m # @m
.type m,@object
.section .bss.m,"aw",@nobits
.globl m
.p2align 3
m:
.int64 0 # 0x0
.size m, 8
.type main.r,@object # @main.r
.lcomm main.r,512,4
.ident "clang version 3.9.0 "
.functype exit, void, i32