forked from WebAssembly/binaryen
/
20050316-1.c.s
97 lines (90 loc) · 2.6 KB
/
20050316-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
.text
.file "/usr/local/google/home/dschuff/s/wasm-waterfall/src/work/gcc/gcc/testsuite/gcc.c-torture/execute/20050316-1.c"
.section .text.test1,"ax",@progbits
.hidden test1
.globl test1
.type test1,@function
test1: # @test1
.result i32
# BB#0: # %entry
i32.const $push0=, 0
# fallthrough-return: $pop0
.endfunc
.Lfunc_end0:
.size test1, .Lfunc_end0-test1
.section .text.test2,"ax",@progbits
.hidden test2
.globl test2
.type test2,@function
test2: # @test2
.param i32, i32
.result i32
# BB#0: # %entry
copy_local $push0=, $0
# fallthrough-return: $pop0
.endfunc
.Lfunc_end1:
.size test2, .Lfunc_end1-test2
.section .text.test3,"ax",@progbits
.hidden test3
.globl test3
.type test3,@function
test3: # @test3
.param i32
# BB#0: # %entry
i32.const $push0=, 4
i32.add $push1=, $0, $pop0
i32.const $push2=, 0
i32.store 0($pop1), $pop2
i32.const $push3=, 0
i32.store 0($0), $pop3
# fallthrough-return
.endfunc
.Lfunc_end2:
.size test3, .Lfunc_end2-test3
.section .text.test4,"ax",@progbits
.hidden test4
.globl test4
.type test4,@function
test4: # @test4
.param i32, i32, i32
# BB#0: # %entry
i32.const $push2=, 65535
i32.and $push3=, $1, $pop2
i32.const $push0=, 16
i32.shl $push1=, $2, $pop0
i32.or $push4=, $pop3, $pop1
i64.extend_s/i32 $push5=, $pop4
i64.store 0($0), $pop5
# fallthrough-return
.endfunc
.Lfunc_end3:
.size test4, .Lfunc_end3-test4
.section .text.test5,"ax",@progbits
.hidden test5
.globl test5
.type test5,@function
test5: # @test5
.param i32, i32, i32
# BB#0: # %entry
i32.const $push0=, 4
i32.add $push1=, $0, $pop0
i32.store 0($pop1), $2
i32.store 0($0), $1
# fallthrough-return
.endfunc
.Lfunc_end4:
.size test5, .Lfunc_end4-test5
.section .text.main,"ax",@progbits
.hidden main
.globl main
.type main,@function
main: # @main
.result i32
# BB#0: # %if.end30
i32.const $push0=, 0
# fallthrough-return: $pop0
.endfunc
.Lfunc_end5:
.size main, .Lfunc_end5-main
.ident "clang version 4.0.0 (trunk 283460) (llvm/trunk 283507)"