]> git.proxmox.com Git - rustc.git/blob - src/binaryen/test/torture-s/20050316-1.c.s
New upstream version 1.23.0+dfsg1
[rustc.git] / src / binaryen / test / torture-s / 20050316-1.c.s
1 .text
2 .file "20050316-1.c"
3 .section .text.test1,"ax",@progbits
4 .hidden test1 # -- Begin function test1
5 .globl test1
6 .type test1,@function
7 test1: # @test1
8 .result i32
9 # BB#0: # %entry
10 i32.const $push0=, 0
11 # fallthrough-return: $pop0
12 .endfunc
13 .Lfunc_end0:
14 .size test1, .Lfunc_end0-test1
15 # -- End function
16 .section .text.test2,"ax",@progbits
17 .hidden test2 # -- Begin function test2
18 .globl test2
19 .type test2,@function
20 test2: # @test2
21 .param i32, i32
22 .result i32
23 # BB#0: # %entry
24 copy_local $push0=, $0
25 # fallthrough-return: $pop0
26 .endfunc
27 .Lfunc_end1:
28 .size test2, .Lfunc_end1-test2
29 # -- End function
30 .section .text.test3,"ax",@progbits
31 .hidden test3 # -- Begin function test3
32 .globl test3
33 .type test3,@function
34 test3: # @test3
35 .param i32
36 # BB#0: # %entry
37 i32.const $push0=, 4
38 i32.add $push1=, $0, $pop0
39 i32.const $push2=, 0
40 i32.store 0($pop1), $pop2
41 i32.const $push3=, 0
42 i32.store 0($0), $pop3
43 # fallthrough-return
44 .endfunc
45 .Lfunc_end2:
46 .size test3, .Lfunc_end2-test3
47 # -- End function
48 .section .text.test4,"ax",@progbits
49 .hidden test4 # -- Begin function test4
50 .globl test4
51 .type test4,@function
52 test4: # @test4
53 .param i32, i32, i32
54 # BB#0: # %entry
55 i32.const $push2=, 65535
56 i32.and $push3=, $1, $pop2
57 i32.const $push0=, 16
58 i32.shl $push1=, $2, $pop0
59 i32.or $push4=, $pop3, $pop1
60 i64.extend_s/i32 $push5=, $pop4
61 i64.store 0($0), $pop5
62 # fallthrough-return
63 .endfunc
64 .Lfunc_end3:
65 .size test4, .Lfunc_end3-test4
66 # -- End function
67 .section .text.test5,"ax",@progbits
68 .hidden test5 # -- Begin function test5
69 .globl test5
70 .type test5,@function
71 test5: # @test5
72 .param i32, i32, i32
73 # BB#0: # %entry
74 i32.const $push0=, 4
75 i32.add $push1=, $0, $pop0
76 i32.store 0($pop1), $2
77 i32.store 0($0), $1
78 # fallthrough-return
79 .endfunc
80 .Lfunc_end4:
81 .size test5, .Lfunc_end4-test5
82 # -- End function
83 .section .text.main,"ax",@progbits
84 .hidden main # -- Begin function main
85 .globl main
86 .type main,@function
87 main: # @main
88 .result i32
89 # BB#0: # %if.end30
90 i32.const $push0=, 0
91 # fallthrough-return: $pop0
92 .endfunc
93 .Lfunc_end5:
94 .size main, .Lfunc_end5-main
95 # -- End function
96
97 .ident "clang version 6.0.0 (https://llvm.googlesource.com/clang.git a1774cccdccfa673c057f93ccf23bc2d8cb04932) (https://llvm.googlesource.com/llvm.git fc50e1c6121255333bc42d6faf2b524c074eae25)"