]>
Commit | Line | Data |
---|---|---|
abe05a73 XL |
1 | .text |
2 | .file "pr43220.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, i32, i32, i32 | |
10 | # BB#0: # %entry | |
11 | i32.const $push13=, 0 | |
12 | i32.load $push15=, __stack_pointer($pop13) | |
13 | tee_local $push14=, $3=, $pop15 | |
14 | copy_local $drop=, $pop14 | |
15 | i32.const $2=, 0 | |
16 | .LBB0_1: # %lab | |
17 | # =>This Inner Loop Header: Depth=1 | |
18 | loop # label0: | |
19 | i32.const $push42=, 1000 | |
20 | i32.rem_s $push1=, $2, $pop42 | |
21 | i32.const $push41=, 2 | |
22 | i32.shl $push40=, $pop1, $pop41 | |
23 | tee_local $push39=, $0=, $pop40 | |
24 | i32.const $push38=, 19 | |
25 | i32.add $push2=, $pop39, $pop38 | |
26 | i32.const $push37=, -16 | |
27 | i32.and $push3=, $pop2, $pop37 | |
28 | i32.sub $push36=, $3, $pop3 | |
29 | tee_local $push35=, $1=, $pop36 | |
30 | copy_local $drop=, $pop35 | |
31 | i32.const $push34=, 1 | |
32 | i32.store 0($1), $pop34 | |
33 | i32.const $push33=, 0 | |
34 | i32.store p($pop33), $1 | |
35 | i32.add $push5=, $1, $0 | |
36 | i32.const $push32=, 2 | |
37 | i32.store 0($pop5), $pop32 | |
38 | copy_local $push4=, $3 | |
39 | copy_local $push31=, $pop4 | |
40 | tee_local $push30=, $3=, $pop31 | |
41 | i32.const $push29=, 1 | |
42 | i32.add $push6=, $2, $pop29 | |
43 | i32.const $push28=, 1000 | |
44 | i32.rem_s $push7=, $pop6, $pop28 | |
45 | i32.const $push27=, 2 | |
46 | i32.shl $push26=, $pop7, $pop27 | |
47 | tee_local $push25=, $0=, $pop26 | |
48 | i32.const $push24=, 19 | |
49 | i32.add $push8=, $pop25, $pop24 | |
50 | i32.const $push23=, -16 | |
51 | i32.and $push9=, $pop8, $pop23 | |
52 | i32.sub $push22=, $pop30, $pop9 | |
53 | tee_local $push21=, $1=, $pop22 | |
54 | copy_local $drop=, $pop21 | |
55 | i32.const $push20=, 1 | |
56 | i32.store 0($1), $pop20 | |
57 | i32.const $push19=, 0 | |
58 | i32.store p($pop19), $1 | |
59 | i32.add $push11=, $1, $0 | |
60 | i32.const $push18=, 2 | |
61 | i32.store 0($pop11), $pop18 | |
62 | i32.const $push17=, 999998 | |
63 | i32.lt_u $1=, $2, $pop17 | |
64 | copy_local $push10=, $3 | |
65 | copy_local $3=, $pop10 | |
66 | i32.const $push16=, 2 | |
67 | i32.add $push0=, $2, $pop16 | |
68 | copy_local $2=, $pop0 | |
69 | br_if 0, $1 # 0: up to label0 | |
70 | # BB#2: # %if.end | |
71 | end_loop | |
72 | i32.const $push12=, 0 | |
73 | # fallthrough-return: $pop12 | |
74 | .endfunc | |
75 | .Lfunc_end0: | |
76 | .size main, .Lfunc_end0-main | |
77 | # -- End function | |
78 | .hidden p # @p | |
79 | .type p,@object | |
80 | .section .bss.p,"aw",@nobits | |
81 | .globl p | |
82 | .p2align 2 | |
83 | p: | |
84 | .int32 0 | |
85 | .size p, 4 | |
86 | ||
87 | ||
88 | .ident "clang version 6.0.0 (https://llvm.googlesource.com/clang.git a1774cccdccfa673c057f93ccf23bc2d8cb04932) (https://llvm.googlesource.com/llvm.git fc50e1c6121255333bc42d6faf2b524c074eae25)" |