]> git.proxmox.com Git - rustc.git/blob - src/binaryen/test/torture-s/ffs-2.c.s
New upstream version 1.23.0+dfsg1
[rustc.git] / src / binaryen / test / torture-s / ffs-2.c.s
1 .text
2 .file "ffs-2.c"
3 .section .text.main,"ax",@progbits
4 .hidden main # -- Begin function main
5 .globl main
6 .type main,@function
7 main: # @main
8 .result i32
9 .local i32
10 # BB#0: # %entry
11 block
12 i32.const $push46=, 0
13 i32.load $push45=, ffstesttab($pop46)
14 tee_local $push44=, $0=, $pop45
15 i32.ctz $push0=, $pop44
16 i32.const $push43=, 1
17 i32.add $push1=, $pop0, $pop43
18 i32.const $push42=, 0
19 i32.select $push2=, $pop1, $pop42, $0
20 i32.const $push41=, 0
21 i32.load $push3=, ffstesttab+4($pop41)
22 i32.ne $push4=, $pop2, $pop3
23 br_if 0, $pop4 # 0: down to label0
24 # BB#1: # %for.cond
25 i32.const $push52=, 0
26 i32.load $push51=, ffstesttab+8($pop52)
27 tee_local $push50=, $0=, $pop51
28 i32.ctz $push5=, $pop50
29 i32.const $push49=, 1
30 i32.add $push6=, $pop5, $pop49
31 i32.const $push48=, 0
32 i32.select $push7=, $pop6, $pop48, $0
33 i32.const $push47=, 0
34 i32.load $push8=, ffstesttab+12($pop47)
35 i32.ne $push9=, $pop7, $pop8
36 br_if 0, $pop9 # 0: down to label0
37 # BB#2: # %for.cond.1
38 i32.const $push58=, 0
39 i32.load $push57=, ffstesttab+16($pop58)
40 tee_local $push56=, $0=, $pop57
41 i32.ctz $push10=, $pop56
42 i32.const $push55=, 1
43 i32.add $push11=, $pop10, $pop55
44 i32.const $push54=, 0
45 i32.select $push12=, $pop11, $pop54, $0
46 i32.const $push53=, 0
47 i32.load $push13=, ffstesttab+20($pop53)
48 i32.ne $push14=, $pop12, $pop13
49 br_if 0, $pop14 # 0: down to label0
50 # BB#3: # %for.cond.2
51 i32.const $push64=, 0
52 i32.load $push63=, ffstesttab+24($pop64)
53 tee_local $push62=, $0=, $pop63
54 i32.ctz $push15=, $pop62
55 i32.const $push61=, 1
56 i32.add $push16=, $pop15, $pop61
57 i32.const $push60=, 0
58 i32.select $push17=, $pop16, $pop60, $0
59 i32.const $push59=, 0
60 i32.load $push18=, ffstesttab+28($pop59)
61 i32.ne $push19=, $pop17, $pop18
62 br_if 0, $pop19 # 0: down to label0
63 # BB#4: # %for.cond.3
64 i32.const $push70=, 0
65 i32.load $push69=, ffstesttab+32($pop70)
66 tee_local $push68=, $0=, $pop69
67 i32.ctz $push20=, $pop68
68 i32.const $push67=, 1
69 i32.add $push21=, $pop20, $pop67
70 i32.const $push66=, 0
71 i32.select $push22=, $pop21, $pop66, $0
72 i32.const $push65=, 0
73 i32.load $push23=, ffstesttab+36($pop65)
74 i32.ne $push24=, $pop22, $pop23
75 br_if 0, $pop24 # 0: down to label0
76 # BB#5: # %for.cond.4
77 i32.const $push76=, 0
78 i32.load $push75=, ffstesttab+40($pop76)
79 tee_local $push74=, $0=, $pop75
80 i32.ctz $push25=, $pop74
81 i32.const $push73=, 1
82 i32.add $push26=, $pop25, $pop73
83 i32.const $push72=, 0
84 i32.select $push27=, $pop26, $pop72, $0
85 i32.const $push71=, 0
86 i32.load $push28=, ffstesttab+44($pop71)
87 i32.ne $push29=, $pop27, $pop28
88 br_if 0, $pop29 # 0: down to label0
89 # BB#6: # %for.cond.5
90 i32.const $push82=, 0
91 i32.load $push81=, ffstesttab+48($pop82)
92 tee_local $push80=, $0=, $pop81
93 i32.ctz $push30=, $pop80
94 i32.const $push79=, 1
95 i32.add $push31=, $pop30, $pop79
96 i32.const $push78=, 0
97 i32.select $push32=, $pop31, $pop78, $0
98 i32.const $push77=, 0
99 i32.load $push33=, ffstesttab+52($pop77)
100 i32.ne $push34=, $pop32, $pop33
101 br_if 0, $pop34 # 0: down to label0
102 # BB#7: # %for.cond.6
103 i32.const $push88=, 0
104 i32.load $push87=, ffstesttab+56($pop88)
105 tee_local $push86=, $0=, $pop87
106 i32.ctz $push35=, $pop86
107 i32.const $push85=, 1
108 i32.add $push36=, $pop35, $pop85
109 i32.const $push84=, 0
110 i32.select $push37=, $pop36, $pop84, $0
111 i32.const $push83=, 0
112 i32.load $push38=, ffstesttab+60($pop83)
113 i32.ne $push39=, $pop37, $pop38
114 br_if 0, $pop39 # 0: down to label0
115 # BB#8: # %for.cond.7
116 i32.const $push40=, 0
117 call exit@FUNCTION, $pop40
118 unreachable
119 .LBB0_9: # %if.then
120 end_block # label0:
121 call abort@FUNCTION
122 unreachable
123 .endfunc
124 .Lfunc_end0:
125 .size main, .Lfunc_end0-main
126 # -- End function
127 .hidden ffstesttab # @ffstesttab
128 .type ffstesttab,@object
129 .section .data.ffstesttab,"aw",@progbits
130 .globl ffstesttab
131 .p2align 4
132 ffstesttab:
133 .int32 2147483648 # 0x80000000
134 .int32 32 # 0x20
135 .int32 2779096485 # 0xa5a5a5a5
136 .int32 1 # 0x1
137 .int32 1515870810 # 0x5a5a5a5a
138 .int32 2 # 0x2
139 .int32 3405643776 # 0xcafe0000
140 .int32 18 # 0x12
141 .int32 32768 # 0x8000
142 .int32 16 # 0x10
143 .int32 42405 # 0xa5a5
144 .int32 1 # 0x1
145 .int32 23130 # 0x5a5a
146 .int32 2 # 0x2
147 .int32 3232 # 0xca0
148 .int32 6 # 0x6
149 .size ffstesttab, 64
150
151
152 .ident "clang version 6.0.0 (https://llvm.googlesource.com/clang.git a1774cccdccfa673c057f93ccf23bc2d8cb04932) (https://llvm.googlesource.com/llvm.git fc50e1c6121255333bc42d6faf2b524c074eae25)"
153 .functype abort, void
154 .functype exit, void, i32