]> git.proxmox.com Git - rustc.git/blob - src/binaryen/test/torture-s/20030117-1.c.s
New upstream version 1.23.0+dfsg1
[rustc.git] / src / binaryen / test / torture-s / 20030117-1.c.s
1 .text
2 .file "20030117-1.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 # BB#0: # %if.end4
10 i32.const $push0=, 0
11 call exit@FUNCTION, $pop0
12 unreachable
13 .endfunc
14 .Lfunc_end0:
15 .size main, .Lfunc_end0-main
16 # -- End function
17 .section .text.foo,"ax",@progbits
18 .hidden foo # -- Begin function foo
19 .globl foo
20 .type foo,@function
21 foo: # @foo
22 .param i32, i32, i32
23 .result i32
24 # BB#0: # %entry
25 i32.add $push0=, $1, $0
26 i32.add $push1=, $pop0, $2
27 i32.const $push2=, 3
28 i32.div_s $push3=, $pop1, $pop2
29 # fallthrough-return: $pop3
30 .endfunc
31 .Lfunc_end1:
32 .size foo, .Lfunc_end1-foo
33 # -- End function
34 .section .text.bar,"ax",@progbits
35 .hidden bar # -- Begin function bar
36 .globl bar
37 .type bar,@function
38 bar: # @bar
39 .param i32, i32, i32
40 .result i32
41 # BB#0: # %entry
42 i32.mul $push1=, $1, $1
43 i32.mul $push0=, $0, $0
44 i32.add $push2=, $pop1, $pop0
45 i32.mul $push3=, $2, $2
46 i32.add $push4=, $pop2, $pop3
47 i32.const $push5=, 3
48 i32.div_u $push6=, $pop4, $pop5
49 # fallthrough-return: $pop6
50 .endfunc
51 .Lfunc_end2:
52 .size bar, .Lfunc_end2-bar
53 # -- End function
54
55 .ident "clang version 6.0.0 (https://llvm.googlesource.com/clang.git a1774cccdccfa673c057f93ccf23bc2d8cb04932) (https://llvm.googlesource.com/llvm.git fc50e1c6121255333bc42d6faf2b524c074eae25)"
56 .functype exit, void, i32