]> git.proxmox.com Git - rustc.git/blame - src/binaryen/test/torture-s/pr31169.c.s
New upstream version 1.25.0+dfsg1
[rustc.git] / src / binaryen / test / torture-s / pr31169.c.s
CommitLineData
abe05a73
XL
1 .text
2 .file "pr31169.c"
3 .section .text.sign_bit_p,"ax",@progbits
4 .hidden sign_bit_p # -- Begin function sign_bit_p
5 .globl sign_bit_p
6 .type sign_bit_p,@function
7sign_bit_p: # @sign_bit_p
8 .param i32, i32, i32
9 .result i32
10 .local i32, i32, i32
11# BB#0: # %entry
12 block
13 block
14 i32.load16_u $push0=, 0($0)
15 i32.const $push1=, 511
16 i32.and $push20=, $pop0, $pop1
17 tee_local $push19=, $0=, $pop20
18 i32.const $push2=, 33
19 i32.lt_u $push3=, $pop19, $pop2
20 br_if 0, $pop3 # 0: down to label1
21# BB#1: # %if.then
22 i32.const $3=, -1
23 i32.const $push21=, -1
24 i32.const $push9=, 64
25 i32.sub $push10=, $pop9, $0
26 i32.shr_u $5=, $pop21, $pop10
27 i32.const $push13=, 1
28 i32.const $push11=, -33
29 i32.add $push12=, $0, $pop11
30 i32.shl $0=, $pop13, $pop12
31 i32.const $4=, 0
32 br 1 # 1: down to label0
33.LBB0_2: # %if.else
34 end_block # label1:
35 i32.const $push6=, -1
36 i32.const $push4=, 32
37 i32.sub $push5=, $pop4, $0
38 i32.shr_u $3=, $pop6, $pop5
39 i32.const $push8=, 1
40 i32.const $push22=, -1
41 i32.add $push7=, $0, $pop22
42 i32.shl $4=, $pop8, $pop7
43 i32.const $5=, 0
44 i32.const $0=, 0
45.LBB0_3: # %if.end
46 end_block # label0:
47 i32.and $push16=, $3, $2
48 i32.eq $push17=, $pop16, $4
49 i32.and $push14=, $5, $1
50 i32.eq $push15=, $pop14, $0
51 i32.and $push18=, $pop17, $pop15
52 # fallthrough-return: $pop18
53 .endfunc
54.Lfunc_end0:
55 .size sign_bit_p, .Lfunc_end0-sign_bit_p
56 # -- End function
57 .section .text.main,"ax",@progbits
58 .hidden main # -- Begin function main
59 .globl main
60 .type main,@function
61main: # @main
62 .result i32
63# BB#0: # %sign_bit_p.exit
64 i32.const $push0=, 0
65 # fallthrough-return: $pop0
66 .endfunc
67.Lfunc_end1:
68 .size main, .Lfunc_end1-main
69 # -- End function
70
71 .ident "clang version 6.0.0 (https://llvm.googlesource.com/clang.git a1774cccdccfa673c057f93ccf23bc2d8cb04932) (https://llvm.googlesource.com/llvm.git fc50e1c6121255333bc42d6faf2b524c074eae25)"