]> git.proxmox.com Git - rustc.git/blob - src/binaryen/test/torture-s/index-1.c.s
New upstream version 1.23.0+dfsg1
[rustc.git] / src / binaryen / test / torture-s / index-1.c.s
1 .text
2 .file "index-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 .result i32
10 # BB#0: # %entry
11 i32.const $push0=, 2
12 i32.shl $push1=, $0, $pop0
13 i32.const $push2=, a-400000
14 i32.add $push3=, $pop1, $pop2
15 i32.load $push4=, 0($pop3)
16 # fallthrough-return: $pop4
17 .endfunc
18 .Lfunc_end0:
19 .size f, .Lfunc_end0-f
20 # -- End function
21 .section .text.main,"ax",@progbits
22 .hidden main # -- Begin function main
23 .globl main
24 .type main,@function
25 main: # @main
26 .result i32
27 # BB#0: # %entry
28 block
29 i32.const $push3=, 0
30 i32.load $push0=, a+120($pop3)
31 i32.const $push1=, 30
32 i32.ne $push2=, $pop0, $pop1
33 br_if 0, $pop2 # 0: down to label0
34 # BB#1: # %if.end
35 i32.const $push4=, 0
36 call exit@FUNCTION, $pop4
37 unreachable
38 .LBB1_2: # %if.then
39 end_block # label0:
40 call abort@FUNCTION
41 unreachable
42 .endfunc
43 .Lfunc_end1:
44 .size main, .Lfunc_end1-main
45 # -- End function
46 .hidden a # @a
47 .type a,@object
48 .section .data.a,"aw",@progbits
49 .globl a
50 .p2align 4
51 a:
52 .int32 0 # 0x0
53 .int32 1 # 0x1
54 .int32 2 # 0x2
55 .int32 3 # 0x3
56 .int32 4 # 0x4
57 .int32 5 # 0x5
58 .int32 6 # 0x6
59 .int32 7 # 0x7
60 .int32 8 # 0x8
61 .int32 9 # 0x9
62 .int32 10 # 0xa
63 .int32 11 # 0xb
64 .int32 12 # 0xc
65 .int32 13 # 0xd
66 .int32 14 # 0xe
67 .int32 15 # 0xf
68 .int32 16 # 0x10
69 .int32 17 # 0x11
70 .int32 18 # 0x12
71 .int32 19 # 0x13
72 .int32 20 # 0x14
73 .int32 21 # 0x15
74 .int32 22 # 0x16
75 .int32 23 # 0x17
76 .int32 24 # 0x18
77 .int32 25 # 0x19
78 .int32 26 # 0x1a
79 .int32 27 # 0x1b
80 .int32 28 # 0x1c
81 .int32 29 # 0x1d
82 .int32 30 # 0x1e
83 .int32 31 # 0x1f
84 .int32 32 # 0x20
85 .int32 33 # 0x21
86 .int32 34 # 0x22
87 .int32 35 # 0x23
88 .int32 36 # 0x24
89 .int32 37 # 0x25
90 .int32 38 # 0x26
91 .int32 39 # 0x27
92 .size a, 160
93
94
95 .ident "clang version 6.0.0 (https://llvm.googlesource.com/clang.git a1774cccdccfa673c057f93ccf23bc2d8cb04932) (https://llvm.googlesource.com/llvm.git fc50e1c6121255333bc42d6faf2b524c074eae25)"
96 .functype abort, void
97 .functype exit, void, i32