]> git.proxmox.com Git - rustc.git/blob - src/binaryen/test/torture-s/20030916-1.c.s
New upstream version 1.25.0+dfsg1
[rustc.git] / src / binaryen / test / torture-s / 20030916-1.c.s
1 .text
2 .file "20030916-1.c"
3 .section .text.f,"ax",@progbits
4 .hidden f # -- Begin function f
5 .globl f
6 .type f,@function
7 f: # @f
8 .param i32
9 # BB#0: # %entry
10 i64.const $push0=, 0
11 i64.store 0($0):p2align=2, $pop0
12 i64.const $push19=, 0
13 i64.store 992($0):p2align=2, $pop19
14 i32.const $push1=, 24
15 i32.add $push2=, $0, $pop1
16 i64.const $push18=, 0
17 i64.store 0($pop2):p2align=2, $pop18
18 i32.const $push3=, 16
19 i32.add $push4=, $0, $pop3
20 i64.const $push17=, 0
21 i64.store 0($pop4):p2align=2, $pop17
22 i32.const $push5=, 8
23 i32.add $push6=, $0, $pop5
24 i64.const $push16=, 0
25 i64.store 0($pop6):p2align=2, $pop16
26 i32.const $push7=, 1016
27 i32.add $push8=, $0, $pop7
28 i64.const $push15=, 0
29 i64.store 0($pop8):p2align=2, $pop15
30 i32.const $push9=, 1008
31 i32.add $push10=, $0, $pop9
32 i64.const $push14=, 0
33 i64.store 0($pop10):p2align=2, $pop14
34 i32.const $push11=, 1000
35 i32.add $push12=, $0, $pop11
36 i64.const $push13=, 0
37 i64.store 0($pop12):p2align=2, $pop13
38 # fallthrough-return
39 .endfunc
40 .Lfunc_end0:
41 .size f, .Lfunc_end0-f
42 # -- End function
43 .section .text.main,"ax",@progbits
44 .hidden main # -- Begin function main
45 .globl main
46 .type main,@function
47 main: # @main
48 .result i32
49 .local i32, i32
50 # BB#0: # %entry
51 i32.const $push22=, 0
52 i32.const $push20=, 0
53 i32.load $push19=, __stack_pointer($pop20)
54 i32.const $push21=, 1024
55 i32.sub $push24=, $pop19, $pop21
56 tee_local $push23=, $0=, $pop24
57 i32.store __stack_pointer($pop22), $pop23
58 i32.const $1=, 0
59 .LBB1_1: # %for.body
60 # =>This Inner Loop Header: Depth=1
61 loop # label0:
62 i32.add $push0=, $0, $1
63 i32.const $push29=, 1
64 i32.store 0($pop0), $pop29
65 i32.const $push28=, 4
66 i32.add $push27=, $1, $pop28
67 tee_local $push26=, $1=, $pop27
68 i32.const $push25=, 1024
69 i32.ne $push1=, $pop26, $pop25
70 br_if 0, $pop1 # 0: up to label0
71 # BB#2: # %for.end
72 end_loop
73 i32.const $push2=, 24
74 i32.add $push3=, $0, $pop2
75 i64.const $push4=, 0
76 i64.store 0($pop3), $pop4
77 i32.const $push5=, 16
78 i32.add $push6=, $0, $pop5
79 i64.const $push36=, 0
80 i64.store 0($pop6), $pop36
81 i32.const $push7=, 1016
82 i32.add $push8=, $0, $pop7
83 i64.const $push35=, 0
84 i64.store 0($pop8), $pop35
85 i32.const $push9=, 1008
86 i32.add $push10=, $0, $pop9
87 i64.const $push34=, 0
88 i64.store 0($pop10), $pop34
89 i32.const $push11=, 1000
90 i32.add $push12=, $0, $pop11
91 i64.const $push33=, 0
92 i64.store 0($pop12), $pop33
93 i64.const $push32=, 0
94 i64.store 8($0), $pop32
95 i64.const $push31=, 0
96 i64.store 0($0), $pop31
97 i64.const $push30=, 0
98 i64.store 992($0), $pop30
99 i32.const $1=, -1
100 copy_local $0=, $0
101 .LBB1_3: # %for.body3
102 # =>This Inner Loop Header: Depth=1
103 block
104 loop # label2:
105 i32.load $push15=, 0($0)
106 i32.const $push38=, -7
107 i32.add $push13=, $1, $pop38
108 i32.const $push37=, 240
109 i32.lt_u $push14=, $pop13, $pop37
110 i32.ne $push16=, $pop15, $pop14
111 br_if 1, $pop16 # 1: down to label1
112 # BB#4: # %for.cond1
113 # in Loop: Header=BB1_3 Depth=1
114 i32.const $push43=, 4
115 i32.add $0=, $0, $pop43
116 i32.const $push42=, 1
117 i32.add $push41=, $1, $pop42
118 tee_local $push40=, $1=, $pop41
119 i32.const $push39=, 254
120 i32.le_u $push17=, $pop40, $pop39
121 br_if 0, $pop17 # 0: up to label2
122 # BB#5: # %for.end10
123 end_loop
124 i32.const $push18=, 0
125 call exit@FUNCTION, $pop18
126 unreachable
127 .LBB1_6: # %if.then
128 end_block # label1:
129 call abort@FUNCTION
130 unreachable
131 .endfunc
132 .Lfunc_end1:
133 .size main, .Lfunc_end1-main
134 # -- End function
135
136 .ident "clang version 6.0.0 (https://llvm.googlesource.com/clang.git a1774cccdccfa673c057f93ccf23bc2d8cb04932) (https://llvm.googlesource.com/llvm.git fc50e1c6121255333bc42d6faf2b524c074eae25)"
137 .functype abort, void
138 .functype exit, void, i32