forked from WebAssembly/binaryen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
960311-1.c.s
102 lines (97 loc) · 2.79 KB
/
960311-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
.text
.file "/b/build/slave/linux/build/src/src/work/gcc/gcc/testsuite/gcc.c-torture/execute/960311-1.c"
.section .text.a1,"ax",@progbits
.hidden a1
.globl a1
.type a1,@function
a1: # @a1
# BB#0: # %entry
i32.const $push0=, 0
i32.const $push4=, 0
i32.load $push1=, count($pop4)
i32.const $push2=, 1
i32.add $push3=, $pop1, $pop2
i32.store $drop=, count($pop0), $pop3
# fallthrough-return
.endfunc
.Lfunc_end0:
.size a1, .Lfunc_end0-a1
.section .text.b,"ax",@progbits
.hidden b
.globl b
.type b,@function
b: # @b
.param i32
# BB#0: # %entry
block
i32.const $push0=, 128
i32.and $push1=, $0, $pop0
i32.eqz $push21=, $pop1
br_if 0, $pop21 # 0: down to label0
# BB#1: # %if.then
i32.const $push2=, 0
i32.const $push18=, 0
i32.load $push3=, count($pop18)
i32.const $push4=, 1
i32.add $push5=, $pop3, $pop4
i32.store $drop=, count($pop2), $pop5
.LBB1_2: # %if.end
end_block # label0:
block
i32.const $push6=, 64
i32.and $push7=, $0, $pop6
i32.eqz $push22=, $pop7
br_if 0, $pop22 # 0: down to label1
# BB#3: # %if.then6
i32.const $push8=, 0
i32.const $push19=, 0
i32.load $push9=, count($pop19)
i32.const $push10=, 1
i32.add $push11=, $pop9, $pop10
i32.store $drop=, count($pop8), $pop11
.LBB1_4: # %if.end7
end_block # label1:
block
i32.const $push12=, 32
i32.and $push13=, $0, $pop12
i32.eqz $push23=, $pop13
br_if 0, $pop23 # 0: down to label2
# BB#5: # %if.then14
i32.const $push14=, 0
i32.const $push20=, 0
i32.load $push15=, count($pop20)
i32.const $push16=, 1
i32.add $push17=, $pop15, $pop16
i32.store $drop=, count($pop14), $pop17
.LBB1_6: # %if.end15
end_block # label2:
# fallthrough-return
.endfunc
.Lfunc_end1:
.size b, .Lfunc_end1-b
.section .text.main,"ax",@progbits
.hidden main
.globl main
.type main,@function
main: # @main
.result i32
# BB#0: # %if.end21
i32.const $push1=, 0
i32.const $push0=, 3
i32.store $drop=, count($pop1), $pop0
i32.const $push2=, 0
call exit@FUNCTION, $pop2
unreachable
.endfunc
.Lfunc_end2:
.size main, .Lfunc_end2-main
.hidden count # @count
.type count,@object
.section .bss.count,"aw",@nobits
.globl count
.p2align 2
count:
.int32 0 # 0x0
.size count, 4
.ident "clang version 3.9.0 "
.functype exit, void, i32