forked from WebAssembly/binaryen
/
20060102-1.c.s
66 lines (62 loc) · 1.72 KB
/
20060102-1.c.s
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
.text
.file "/usr/local/google/home/dschuff/s/wasm-waterfall/src/work/gcc/gcc/testsuite/gcc.c-torture/execute/20060102-1.c"
.section .text.f,"ax",@progbits
.hidden f
.globl f
.type f,@function
f: # @f
.param i32
.result i32
# BB#0: # %entry
i32.const $push0=, 31
i32.shr_s $push1=, $0, $pop0
i32.const $push2=, 1
i32.or $push3=, $pop1, $pop2
# fallthrough-return: $pop3
.endfunc
.Lfunc_end0:
.size f, .Lfunc_end0-f
.section .text.main,"ax",@progbits
.hidden main
.globl main
.type main,@function
main: # @main
.result i32
# BB#0: # %entry
block
i32.const $push14=, 0
i32.load $push0=, one($pop14)
i32.const $push1=, 31
i32.shr_s $push2=, $pop0, $pop1
i32.const $push3=, 1
i32.or $push4=, $pop2, $pop3
i32.const $push13=, 0
i32.const $push12=, 0
i32.load $push5=, one($pop12)
i32.sub $push6=, $pop13, $pop5
i32.const $push11=, 31
i32.shr_s $push7=, $pop6, $pop11
i32.const $push10=, 1
i32.or $push8=, $pop7, $pop10
i32.eq $push9=, $pop4, $pop8
br_if 0, $pop9 # 0: down to label0
# BB#1: # %if.end
i32.const $push15=, 0
return $pop15
.LBB1_2: # %if.then
end_block # label0:
call abort@FUNCTION
unreachable
.endfunc
.Lfunc_end1:
.size main, .Lfunc_end1-main
.hidden one # @one
.type one,@object
.section .data.one,"aw",@progbits
.globl one
.p2align 2
one:
.int32 1 # 0x1
.size one, 4
.ident "clang version 4.0.0 (trunk 283460) (llvm/trunk 283507)"
.functype abort, void