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