]> git.proxmox.com Git - rustc.git/blob - src/binaryen/test/torture-s/20021120-3.c.s
New upstream version 1.23.0+dfsg1
[rustc.git] / src / binaryen / test / torture-s / 20021120-3.c.s
1 .text
2 .file "20021120-3.c"
3 .section .text.foo,"ax",@progbits
4 .hidden foo # -- Begin function foo
5 .globl foo
6 .type foo,@function
7 foo: # @foo
8 .param i32, i32, i32
9 .result i32
10 .local i32
11 # BB#0: # %entry
12 i32.const $push9=, 0
13 i32.const $push7=, 0
14 i32.load $push6=, __stack_pointer($pop7)
15 i32.const $push8=, 16
16 i32.sub $push15=, $pop6, $pop8
17 tee_local $push14=, $3=, $pop15
18 i32.store __stack_pointer($pop9), $pop14
19 i32.div_u $push0=, $1, $2
20 i32.store 0($3), $pop0
21 i32.const $push1=, .L.str
22 i32.call $drop=, sprintf@FUNCTION, $0, $pop1, $3
23 i32.const $push12=, 0
24 i32.const $push10=, 16
25 i32.add $push11=, $3, $pop10
26 i32.store __stack_pointer($pop12), $pop11
27 i32.const $push2=, 1
28 i32.add $push4=, $1, $pop2
29 i32.const $push13=, 1
30 i32.add $push3=, $2, $pop13
31 i32.div_u $push5=, $pop4, $pop3
32 # fallthrough-return: $pop5
33 .endfunc
34 .Lfunc_end0:
35 .size foo, .Lfunc_end0-foo
36 # -- End function
37 .section .text.main,"ax",@progbits
38 .hidden main # -- Begin function main
39 .globl main
40 .type main,@function
41 main: # @main
42 .result i32
43 .local i32
44 # BB#0: # %if.end
45 i32.const $push6=, 0
46 i32.const $push4=, 0
47 i32.load $push3=, __stack_pointer($pop4)
48 i32.const $push5=, 32
49 i32.sub $push10=, $pop3, $pop5
50 tee_local $push9=, $0=, $pop10
51 i32.store __stack_pointer($pop6), $pop9
52 i32.const $push0=, 1073741823
53 i32.store 0($0), $pop0
54 i32.const $push7=, 16
55 i32.add $push8=, $0, $pop7
56 i32.const $push1=, .L.str
57 i32.call $drop=, sprintf@FUNCTION, $pop8, $pop1, $0
58 i32.const $push2=, 0
59 call exit@FUNCTION, $pop2
60 unreachable
61 .endfunc
62 .Lfunc_end1:
63 .size main, .Lfunc_end1-main
64 # -- End function
65 .type .L.str,@object # @.str
66 .section .rodata.str1.1,"aMS",@progbits,1
67 .L.str:
68 .asciz "%d"
69 .size .L.str, 3
70
71
72 .ident "clang version 6.0.0 (https://llvm.googlesource.com/clang.git a1774cccdccfa673c057f93ccf23bc2d8cb04932) (https://llvm.googlesource.com/llvm.git fc50e1c6121255333bc42d6faf2b524c074eae25)"
73 .functype sprintf, i32, i32, i32
74 .functype exit, void, i32