]> git.proxmox.com Git - rustc.git/blob - src/binaryen/test/torture-s/bitfld-5.c.s
New upstream version 1.23.0+dfsg1
[rustc.git] / src / binaryen / test / torture-s / bitfld-5.c.s
1 .text
2 .file "bitfld-5.c"
3 .section .text.g,"ax",@progbits
4 .hidden g # -- Begin function g
5 .globl g
6 .type g,@function
7 g: # @g
8 .param i64, i64
9 # BB#0: # %entry
10 #APP
11 #NO_APP
12 block
13 i64.ne $push0=, $0, $1
14 br_if 0, $pop0 # 0: down to label0
15 # BB#1: # %if.end
16 return
17 .LBB0_2: # %if.then
18 end_block # label0:
19 call abort@FUNCTION
20 unreachable
21 .endfunc
22 .Lfunc_end0:
23 .size g, .Lfunc_end0-g
24 # -- End function
25 .section .text.f,"ax",@progbits
26 .hidden f # -- Begin function f
27 .globl f
28 .type f,@function
29 f: # @f
30 .param i32, i64
31 # BB#0: # %entry
32 #APP
33 #NO_APP
34 i64.load $push0=, 0($0)
35 i64.const $push1=, 2
36 i64.shr_u $push2=, $pop0, $pop1
37 i64.const $push3=, 1099511627775
38 i64.and $push4=, $pop2, $pop3
39 call g@FUNCTION, $pop4, $1
40 # fallthrough-return
41 .endfunc
42 .Lfunc_end1:
43 .size f, .Lfunc_end1-f
44 # -- End function
45 .section .text.main,"ax",@progbits
46 .hidden main # -- Begin function main
47 .globl main
48 .type main,@function
49 main: # @main
50 .result i32
51 .local i32
52 # BB#0: # %entry
53 i32.const $push8=, 0
54 i32.const $push6=, 0
55 i32.load $push5=, __stack_pointer($pop6)
56 i32.const $push7=, 16
57 i32.sub $push17=, $pop5, $pop7
58 tee_local $push16=, $0=, $pop17
59 i32.store __stack_pointer($pop8), $pop16
60 i32.const $push0=, 0
61 i64.load $push1=, .Lmain.s($pop0)
62 i64.store 8($0), $pop1
63 i32.const $push12=, 8
64 i32.add $push13=, $0, $pop12
65 i64.const $push2=, 10
66 call f@FUNCTION, $pop13, $pop2
67 i32.const $push15=, 0
68 i64.load $push3=, .Lmain.t($pop15)
69 i64.store 0($0), $pop3
70 i64.const $push4=, 1099511627778
71 call f@FUNCTION, $0, $pop4
72 i32.const $push11=, 0
73 i32.const $push9=, 16
74 i32.add $push10=, $0, $pop9
75 i32.store __stack_pointer($pop11), $pop10
76 i32.const $push14=, 0
77 # fallthrough-return: $pop14
78 .endfunc
79 .Lfunc_end2:
80 .size main, .Lfunc_end2-main
81 # -- End function
82 .type .Lmain.s,@object # @main.s
83 .section .rodata.cst8,"aM",@progbits,8
84 .p2align 3
85 .Lmain.s:
86 .int8 41 # 0x29
87 .int8 0 # 0x0
88 .int8 0 # 0x0
89 .int8 0 # 0x0
90 .int8 0 # 0x0
91 .int8 12 # 0xc
92 .int8 0 # 0x0
93 .int8 0 # 0x0
94 .size .Lmain.s, 8
95
96 .type .Lmain.t,@object # @main.t
97 .p2align 3
98 .Lmain.t:
99 .int8 9 # 0x9
100 .int8 0 # 0x0
101 .int8 0 # 0x0
102 .int8 0 # 0x0
103 .int8 0 # 0x0
104 .int8 12 # 0xc
105 .int8 0 # 0x0
106 .int8 0 # 0x0
107 .size .Lmain.t, 8
108
109
110 .ident "clang version 6.0.0 (https://llvm.googlesource.com/clang.git a1774cccdccfa673c057f93ccf23bc2d8cb04932) (https://llvm.googlesource.com/llvm.git fc50e1c6121255333bc42d6faf2b524c074eae25)"
111 .functype abort, void