forked from WebAssembly/binaryen
/
20101025-1.c.s
89 lines (82 loc) · 2.16 KB
/
20101025-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
.text
.file "/usr/local/google/home/dschuff/s/wasm-waterfall/src/work/gcc/gcc/testsuite/gcc.c-torture/execute/20101025-1.c"
.section .text.f2,"ax",@progbits
.hidden f2
.globl f2
.type f2,@function
f2: # @f2
.param i32
# BB#0: # %entry
i32.const $push0=, 0
i32.store g_3($pop0), $0
# fallthrough-return
.endfunc
.Lfunc_end0:
.size f2, .Lfunc_end0-f2
.section .text.f3,"ax",@progbits
.hidden f3
.globl f3
.type f3,@function
f3: # @f3
.result i32
# BB#0: # %entry
i32.const $push0=, 0
i32.load $push1=, g_6($pop0)
i32.const $push2=, 1
i32.store 0($pop1), $pop2
i32.const $push5=, 0
i32.load $push3=, g_7($pop5)
call f2@FUNCTION, $pop3
i32.const $push4=, 0
# fallthrough-return: $pop4
.endfunc
.Lfunc_end1:
.size f3, .Lfunc_end1-f3
.section .text.main,"ax",@progbits
.hidden main
.globl main
.type main,@function
main: # @main
.result i32
# BB#0: # %entry
i32.call $drop=, f3@FUNCTION
block
i32.const $push3=, 0
i32.load $push0=, g_3($pop3)
i32.const $push1=, 1
i32.ne $push2=, $pop0, $pop1
br_if 0, $pop2 # 0: down to label0
# BB#1: # %if.end
i32.const $push4=, 0
call exit@FUNCTION, $pop4
unreachable
.LBB2_2: # %if.then
end_block # label0:
call abort@FUNCTION
unreachable
.endfunc
.Lfunc_end2:
.size main, .Lfunc_end2-main
.hidden g_3 # @g_3
.type g_3,@object
.section .bss.g_3,"aw",@nobits
.globl g_3
.p2align 2
g_3:
.int32 0 # 0x0
.size g_3, 4
.type g_6,@object # @g_6
.section .data.g_6,"aw",@progbits
.p2align 2
g_6:
.int32 g_7
.size g_6, 4
.type g_7,@object # @g_7
.section .bss.g_7,"aw",@nobits
.p2align 2
g_7:
.int32 0 # 0x0
.size g_7, 4
.ident "clang version 4.0.0 (trunk 283460) (llvm/trunk 283507)"
.functype abort, void
.functype exit, void, i32