forked from WebAssembly/binaryen
/
950607-2.c.s
62 lines (59 loc) · 1.72 KB
/
950607-2.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
.text
.file "/usr/local/google/home/dschuff/s/wasm-waterfall/src/work/gcc/gcc/testsuite/gcc.c-torture/execute/950607-2.c"
.section .text.f,"ax",@progbits
.hidden f
.globl f
.type f,@function
f: # @f
.param i32, i32, i32
.result i32
.local i32, i64
# BB#0: # %entry
i32.const $push20=, 0
i32.const $push17=, 1
i32.const $push16=, 2
i32.load $push10=, 4($2)
i32.load $push28=, 4($0)
tee_local $push27=, $3=, $pop28
i32.sub $push11=, $pop10, $pop27
i64.extend_s/i32 $push12=, $pop11
i32.load $push7=, 0($1)
i32.load $push26=, 0($0)
tee_local $push25=, $0=, $pop26
i32.sub $push8=, $pop7, $pop25
i64.extend_s/i32 $push9=, $pop8
i64.mul $push13=, $pop12, $pop9
i32.load $push3=, 0($2)
i32.sub $push4=, $pop3, $0
i64.extend_s/i32 $push5=, $pop4
i32.load $push0=, 4($1)
i32.sub $push1=, $pop0, $3
i64.extend_s/i32 $push2=, $pop1
i64.mul $push6=, $pop5, $pop2
i64.sub $push24=, $pop13, $pop6
tee_local $push23=, $4=, $pop24
i64.const $push14=, 0
i64.lt_s $push15=, $pop23, $pop14
i32.select $push18=, $pop17, $pop16, $pop15
i64.const $push22=, 0
i64.gt_s $push19=, $4, $pop22
i32.select $push21=, $pop20, $pop18, $pop19
# fallthrough-return: $pop21
.endfunc
.Lfunc_end0:
.size f, .Lfunc_end0-f
.section .text.main,"ax",@progbits
.hidden main
.globl main
.type main,@function
main: # @main
.result i32
# BB#0: # %if.end
i32.const $push0=, 0
call exit@FUNCTION, $pop0
unreachable
.endfunc
.Lfunc_end1:
.size main, .Lfunc_end1-main
.ident "clang version 4.0.0 (trunk 283460) (llvm/trunk 283507)"
.functype exit, void, i32