]> git.proxmox.com Git - rustc.git/blob - src/binaryen/test/torture-s/20100316-1.c.s
New upstream version 1.23.0+dfsg1
[rustc.git] / src / binaryen / test / torture-s / 20100316-1.c.s
1 .text
2 .file "20100316-1.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
9 .result i32
10 # BB#0: # %entry
11 i32.load16_u $push0=, 4($0)
12 i32.const $push1=, 1023
13 i32.and $push2=, $pop0, $pop1
14 # fallthrough-return: $pop2
15 .endfunc
16 .Lfunc_end0:
17 .size foo, .Lfunc_end0-foo
18 # -- End function
19 .section .text.main,"ax",@progbits
20 .hidden main # -- Begin function main
21 .globl main
22 .type main,@function
23 main: # @main
24 .result i32
25 # BB#0: # %entry
26 i32.const $push10=, 0
27 i32.const $push0=, -1
28 i32.store f($pop10), $pop0
29 i32.const $push9=, 0
30 i32.const $push8=, 0
31 i32.load16_u $push1=, f+4($pop8)
32 i32.const $push2=, 57344
33 i32.and $push3=, $pop1, $pop2
34 i32.const $push4=, 7168
35 i32.or $push5=, $pop3, $pop4
36 i32.store16 f+4($pop9), $pop5
37 block
38 i32.const $push6=, f
39 i32.call $push7=, foo@FUNCTION, $pop6
40 br_if 0, $pop7 # 0: down to label0
41 # BB#1: # %if.end
42 i32.const $push11=, 0
43 return $pop11
44 .LBB1_2: # %if.then
45 end_block # label0:
46 call abort@FUNCTION
47 unreachable
48 .endfunc
49 .Lfunc_end1:
50 .size main, .Lfunc_end1-main
51 # -- End function
52 .hidden f # @f
53 .type f,@object
54 .section .bss.f,"aw",@nobits
55 .globl f
56 .p2align 2
57 f:
58 .skip 8
59 .size f, 8
60
61
62 .ident "clang version 6.0.0 (https://llvm.googlesource.com/clang.git a1774cccdccfa673c057f93ccf23bc2d8cb04932) (https://llvm.googlesource.com/llvm.git fc50e1c6121255333bc42d6faf2b524c074eae25)"
63 .functype abort, void