]> git.proxmox.com Git - rustc.git/blob - src/binaryen/test/torture-s/980424-1.c.s
New upstream version 1.23.0+dfsg1
[rustc.git] / src / binaryen / test / torture-s / 980424-1.c.s
1 .text
2 .file "980424-1.c"
3 .section .text.f,"ax",@progbits
4 .hidden f # -- Begin function f
5 .globl f
6 .type f,@function
7 f: # @f
8 .param i32
9 # BB#0: # %entry
10 block
11 i32.const $push0=, 1
12 i32.ne $push1=, $0, $pop0
13 br_if 0, $pop1 # 0: down to label0
14 # BB#1: # %if.end
15 return
16 .LBB0_2: # %if.then
17 end_block # label0:
18 call abort@FUNCTION
19 unreachable
20 .endfunc
21 .Lfunc_end0:
22 .size f, .Lfunc_end0-f
23 # -- End function
24 .section .text.g,"ax",@progbits
25 .hidden g # -- Begin function g
26 .globl g
27 .type g,@function
28 g: # @g
29 # BB#0: # %entry
30 block
31 i32.const $push0=, 0
32 i32.load $push1=, i($pop0)
33 i32.const $push2=, 63
34 i32.and $push3=, $pop1, $pop2
35 i32.const $push4=, 2
36 i32.shl $push5=, $pop3, $pop4
37 i32.const $push6=, a
38 i32.add $push7=, $pop5, $pop6
39 i32.load $push8=, 0($pop7)
40 i32.const $push9=, 1
41 i32.ne $push10=, $pop8, $pop9
42 br_if 0, $pop10 # 0: down to label1
43 # BB#1: # %f.exit
44 return
45 .LBB1_2: # %if.then.i
46 end_block # label1:
47 call abort@FUNCTION
48 unreachable
49 .endfunc
50 .Lfunc_end1:
51 .size g, .Lfunc_end1-g
52 # -- End function
53 .section .text.main,"ax",@progbits
54 .hidden main # -- Begin function main
55 .globl main
56 .type main,@function
57 main: # @main
58 .result i32
59 # BB#0: # %entry
60 i32.const $push1=, 0
61 i32.const $push0=, 64
62 i32.store i($pop1), $pop0
63 i32.const $push4=, 0
64 i32.const $push2=, 1
65 i32.store a($pop4), $pop2
66 call g@FUNCTION
67 i32.const $push3=, 0
68 call exit@FUNCTION, $pop3
69 unreachable
70 .endfunc
71 .Lfunc_end2:
72 .size main, .Lfunc_end2-main
73 # -- End function
74 .hidden a # @a
75 .type a,@object
76 .section .bss.a,"aw",@nobits
77 .globl a
78 .p2align 4
79 a:
80 .skip 396
81 .size a, 396
82
83 .hidden i # @i
84 .type i,@object
85 .section .bss.i,"aw",@nobits
86 .globl i
87 .p2align 2
88 i:
89 .int32 0 # 0x0
90 .size i, 4
91
92
93 .ident "clang version 6.0.0 (https://llvm.googlesource.com/clang.git a1774cccdccfa673c057f93ccf23bc2d8cb04932) (https://llvm.googlesource.com/llvm.git fc50e1c6121255333bc42d6faf2b524c074eae25)"
94 .functype abort, void
95 .functype exit, void, i32