forked from WebAssembly/binaryen
/
int-compare.c.s
129 lines (120 loc) · 3.24 KB
/
int-compare.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
124
125
126
127
128
129
.text
.file "/usr/local/google/home/dschuff/s/wasm-waterfall/src/work/gcc/gcc/testsuite/gcc.c-torture/execute/int-compare.c"
.section .text.gt,"ax",@progbits
.hidden gt
.globl gt
.type gt,@function
gt: # @gt
.param i32, i32
.result i32
# BB#0: # %entry
i32.gt_s $push0=, $0, $1
# fallthrough-return: $pop0
.endfunc
.Lfunc_end0:
.size gt, .Lfunc_end0-gt
.section .text.ge,"ax",@progbits
.hidden ge
.globl ge
.type ge,@function
ge: # @ge
.param i32, i32
.result i32
# BB#0: # %entry
i32.ge_s $push0=, $0, $1
# fallthrough-return: $pop0
.endfunc
.Lfunc_end1:
.size ge, .Lfunc_end1-ge
.section .text.lt,"ax",@progbits
.hidden lt
.globl lt
.type lt,@function
lt: # @lt
.param i32, i32
.result i32
# BB#0: # %entry
i32.lt_s $push0=, $0, $1
# fallthrough-return: $pop0
.endfunc
.Lfunc_end2:
.size lt, .Lfunc_end2-lt
.section .text.le,"ax",@progbits
.hidden le
.globl le
.type le,@function
le: # @le
.param i32, i32
.result i32
# BB#0: # %entry
i32.le_s $push0=, $0, $1
# fallthrough-return: $pop0
.endfunc
.Lfunc_end3:
.size le, .Lfunc_end3-le
.section .text.true,"ax",@progbits
.hidden true
.globl true
.type true,@function
true: # @true
.param i32
# BB#0: # %entry
block
i32.eqz $push0=, $0
br_if 0, $pop0 # 0: down to label0
# BB#1: # %if.end
return
.LBB4_2: # %if.then
end_block # label0:
call abort@FUNCTION
unreachable
.endfunc
.Lfunc_end4:
.size true, .Lfunc_end4-true
.section .text.false,"ax",@progbits
.hidden false
.globl false
.type false,@function
false: # @false
.param i32
# BB#0: # %entry
block
br_if 0, $0 # 0: down to label1
# BB#1: # %if.end
return
.LBB5_2: # %if.then
end_block # label1:
call abort@FUNCTION
unreachable
.endfunc
.Lfunc_end5:
.size false, .Lfunc_end5-false
.section .text.f,"ax",@progbits
.hidden f
.globl f
.type f,@function
f: # @f
.result i32
.local i32
# BB#0: # %true.exit
copy_local $push0=, $0
# fallthrough-return: $pop0
.endfunc
.Lfunc_end6:
.size f, .Lfunc_end6-f
.section .text.main,"ax",@progbits
.hidden main
.globl main
.type main,@function
main: # @main
.result i32
# BB#0: # %entry
i32.const $push0=, 0
call exit@FUNCTION, $pop0
unreachable
.endfunc
.Lfunc_end7:
.size main, .Lfunc_end7-main
.ident "clang version 4.0.0 (trunk 283460) (llvm/trunk 283507)"
.functype abort, void
.functype exit, void, i32