]> git.proxmox.com Git - rustc.git/blob - src/binaryen/test/torture-s/20000717-5.c.s
New upstream version 1.25.0+dfsg1
[rustc.git] / src / binaryen / test / torture-s / 20000717-5.c.s
1 .text
2 .file "20000717-5.c"
3 .section .text.bar,"ax",@progbits
4 .hidden bar # -- Begin function bar
5 .globl bar
6 .type bar,@function
7 bar: # @bar
8 .param i32, i32, i32, i32
9 .result i32
10 # BB#0: # %entry
11 block
12 i32.load $push0=, 0($3)
13 i32.const $push1=, 1
14 i32.ne $push2=, $pop0, $pop1
15 br_if 0, $pop2 # 0: down to label0
16 # BB#1: # %lor.lhs.false
17 i32.load $push3=, 4($3)
18 i32.const $push4=, 2
19 i32.ne $push5=, $pop3, $pop4
20 br_if 0, $pop5 # 0: down to label0
21 # BB#2: # %lor.lhs.false2
22 i32.const $push7=, 6
23 i32.ne $push8=, $2, $pop7
24 br_if 0, $pop8 # 0: down to label0
25 # BB#3: # %lor.lhs.false2
26 i32.const $push9=, 5
27 i32.ne $push10=, $1, $pop9
28 br_if 0, $pop10 # 0: down to label0
29 # BB#4: # %lor.lhs.false2
30 i32.const $push11=, 4
31 i32.ne $push12=, $0, $pop11
32 br_if 0, $pop12 # 0: down to label0
33 # BB#5: # %lor.lhs.false2
34 i32.load $push6=, 8($3)
35 i32.const $push13=, 3
36 i32.ne $push14=, $pop6, $pop13
37 br_if 0, $pop14 # 0: down to label0
38 # BB#6: # %if.end
39 return $3
40 .LBB0_7: # %if.then
41 end_block # label0:
42 call abort@FUNCTION
43 unreachable
44 .endfunc
45 .Lfunc_end0:
46 .size bar, .Lfunc_end0-bar
47 # -- End function
48 .section .text.foo,"ax",@progbits
49 .hidden foo # -- Begin function foo
50 .globl foo
51 .type foo,@function
52 foo: # @foo
53 .param i32, i32, i32, i32
54 .result i32
55 # BB#0: # %entry
56 block
57 i32.load $push1=, 0($0)
58 i32.const $push2=, 1
59 i32.ne $push3=, $pop1, $pop2
60 br_if 0, $pop3 # 0: down to label1
61 # BB#1: # %entry
62 i32.load $push0=, 4($0)
63 i32.const $push4=, 2
64 i32.ne $push5=, $pop0, $pop4
65 br_if 0, $pop5 # 0: down to label1
66 # BB#2: # %lor.lhs.false2.i
67 i32.const $push7=, 6
68 i32.ne $push8=, $3, $pop7
69 br_if 0, $pop8 # 0: down to label1
70 # BB#3: # %lor.lhs.false2.i
71 i32.const $push9=, 5
72 i32.ne $push10=, $2, $pop9
73 br_if 0, $pop10 # 0: down to label1
74 # BB#4: # %lor.lhs.false2.i
75 i32.const $push11=, 4
76 i32.ne $push12=, $1, $pop11
77 br_if 0, $pop12 # 0: down to label1
78 # BB#5: # %lor.lhs.false2.i
79 i32.load $push6=, 8($0)
80 i32.const $push13=, 3
81 i32.ne $push14=, $pop6, $pop13
82 br_if 0, $pop14 # 0: down to label1
83 # BB#6: # %bar.exit
84 return $0
85 .LBB1_7: # %if.then.i
86 end_block # label1:
87 call abort@FUNCTION
88 unreachable
89 .endfunc
90 .Lfunc_end1:
91 .size foo, .Lfunc_end1-foo
92 # -- End function
93 .section .text.main,"ax",@progbits
94 .hidden main # -- Begin function main
95 .globl main
96 .type main,@function
97 main: # @main
98 .result i32
99 .local i32
100 # BB#0: # %entry
101 i32.const $push11=, 0
102 i32.const $push9=, 0
103 i32.load $push8=, __stack_pointer($pop9)
104 i32.const $push10=, 16
105 i32.sub $push15=, $pop8, $pop10
106 tee_local $push14=, $0=, $pop15
107 i32.store __stack_pointer($pop11), $pop14
108 i32.const $push2=, 8
109 i32.add $push3=, $0, $pop2
110 i32.const $push0=, 0
111 i32.load $push1=, .Lmain.t+8($pop0)
112 i32.store 0($pop3), $pop1
113 i32.const $push13=, 0
114 i64.load $push4=, .Lmain.t($pop13):p2align=2
115 i64.store 0($0), $pop4
116 i32.const $push7=, 4
117 i32.const $push6=, 5
118 i32.const $push5=, 6
119 i32.call $drop=, foo@FUNCTION, $0, $pop7, $pop6, $pop5
120 i32.const $push12=, 0
121 call exit@FUNCTION, $pop12
122 unreachable
123 .endfunc
124 .Lfunc_end2:
125 .size main, .Lfunc_end2-main
126 # -- End function
127 .type .Lmain.t,@object # @main.t
128 .section .rodata..Lmain.t,"a",@progbits
129 .p2align 2
130 .Lmain.t:
131 .int32 1 # 0x1
132 .int32 2 # 0x2
133 .int32 3 # 0x3
134 .size .Lmain.t, 12
135
136
137 .ident "clang version 6.0.0 (https://llvm.googlesource.com/clang.git a1774cccdccfa673c057f93ccf23bc2d8cb04932) (https://llvm.googlesource.com/llvm.git fc50e1c6121255333bc42d6faf2b524c074eae25)"
138 .functype abort, void
139 .functype exit, void, i32