]> git.proxmox.com Git - rustc.git/blob - src/binaryen/test/torture-s/20051110-2.c.s
New upstream version 1.23.0+dfsg1
[rustc.git] / src / binaryen / test / torture-s / 20051110-2.c.s
1 .text
2 .file "20051110-2.c"
3 .section .text.add_unwind_adjustsp,"ax",@progbits
4 .hidden add_unwind_adjustsp # -- Begin function add_unwind_adjustsp
5 .globl add_unwind_adjustsp
6 .type add_unwind_adjustsp,@function
7 add_unwind_adjustsp: # @add_unwind_adjustsp
8 .param i32
9 .local i32, i32, i32, i32, i32, i32
10 # BB#0: # %entry
11 i32.const $6=, 0
12 i32.const $push14=, 0
13 i32.const $push0=, -516
14 i32.add $push1=, $0, $pop0
15 i32.const $push2=, 2
16 i32.shr_s $push13=, $pop1, $pop2
17 tee_local $push12=, $5=, $pop13
18 i32.const $push11=, 127
19 i32.and $push3=, $pop12, $pop11
20 i32.store8 bytes($pop14), $pop3
21 block
22 i32.const $push10=, 7
23 i32.shr_u $push9=, $5, $pop10
24 tee_local $push8=, $0=, $pop9
25 i32.eqz $push30=, $pop8
26 br_if 0, $pop30 # 0: down to label0
27 # BB#1: # %if.then.lr.ph.lr.ph
28 i32.const $push15=, 0
29 i32.load $1=, flag($pop15)
30 i32.const $4=, bytes
31 .LBB0_2: # %if.then.lr.ph
32 # =>This Loop Header: Depth=1
33 # Child Loop BB0_3 Depth 2
34 loop # label1:
35 copy_local $push17=, $0
36 tee_local $push16=, $2=, $pop17
37 copy_local $0=, $pop16
38 .LBB0_3: # %if.then
39 # Parent Loop BB0_2 Depth=1
40 # => This Inner Loop Header: Depth=2
41 block
42 block
43 loop # label4:
44 copy_local $3=, $0
45 i32.eqz $push31=, $1
46 br_if 1, $pop31 # 1: down to label3
47 # BB#4: # %a
48 # in Loop: Header=BB0_3 Depth=2
49 i32.const $push20=, 7
50 i32.shr_u $push19=, $3, $pop20
51 tee_local $push18=, $0=, $pop19
52 br_if 0, $pop18 # 0: up to label4
53 br 2 # 2: down to label2
54 .LBB0_5: # %if.end7.thread
55 # in Loop: Header=BB0_2 Depth=1
56 end_loop
57 end_block # label3:
58 i32.const $push29=, 128
59 i32.or $push6=, $5, $pop29
60 i32.store8 0($4), $pop6
61 i32.const $push28=, bytes+1
62 i32.add $push27=, $6, $pop28
63 tee_local $push26=, $4=, $pop27
64 i32.const $push25=, 127
65 i32.and $push7=, $2, $pop25
66 i32.store8 0($pop26), $pop7
67 i32.const $push24=, 1
68 i32.add $6=, $6, $pop24
69 copy_local $5=, $2
70 i32.const $push23=, 7
71 i32.shr_u $push22=, $2, $pop23
72 tee_local $push21=, $0=, $pop22
73 br_if 1, $pop21 # 1: up to label1
74 br 2 # 2: down to label0
75 .LBB0_6: # %a.do.end_crit_edge
76 end_block # label2:
77 end_loop
78 i32.const $push4=, 127
79 i32.and $push5=, $3, $pop4
80 i32.store8 0($4), $pop5
81 .LBB0_7: # %do.end
82 end_block # label0:
83 # fallthrough-return
84 .endfunc
85 .Lfunc_end0:
86 .size add_unwind_adjustsp, .Lfunc_end0-add_unwind_adjustsp
87 # -- End function
88 .section .text.main,"ax",@progbits
89 .hidden main # -- Begin function main
90 .globl main
91 .type main,@function
92 main: # @main
93 .result i32
94 # BB#0: # %entry
95 i32.const $push5=, 0
96 i32.const $push0=, 8
97 i32.store8 bytes($pop5), $pop0
98 block
99 i32.const $push4=, 0
100 i32.load $push1=, flag($pop4)
101 br_if 0, $pop1 # 0: down to label5
102 # BB#1: # %if.end
103 i32.const $push7=, 0
104 i32.const $push3=, 1928
105 i32.store16 bytes($pop7):p2align=0, $pop3
106 i32.const $push6=, 0
107 return $pop6
108 .LBB1_2: # %if.then
109 end_block # label5:
110 i32.const $push8=, 0
111 i32.const $push2=, 7
112 i32.store8 bytes($pop8), $pop2
113 call abort@FUNCTION
114 unreachable
115 .endfunc
116 .Lfunc_end1:
117 .size main, .Lfunc_end1-main
118 # -- End function
119 .hidden bytes # @bytes
120 .type bytes,@object
121 .section .bss.bytes,"aw",@nobits
122 .globl bytes
123 bytes:
124 .skip 5
125 .size bytes, 5
126
127 .hidden flag # @flag
128 .type flag,@object
129 .section .bss.flag,"aw",@nobits
130 .globl flag
131 .p2align 2
132 flag:
133 .int32 0 # 0x0
134 .size flag, 4
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