forked from WebAssembly/binaryen
/
pr31448.c.s
76 lines (71 loc) · 1.92 KB
/
pr31448.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
67
68
69
70
71
72
73
74
75
76
.text
.file "/usr/local/google/home/dschuff/s/wasm-waterfall/src/work/gcc/gcc/testsuite/gcc.c-torture/execute/pr31448.c"
.section .text.g,"ax",@progbits
.hidden g
.globl g
.type g,@function
g: # @g
# BB#0: # %entry
unreachable
unreachable
.endfunc
.Lfunc_end0:
.size g, .Lfunc_end0-g
.section .text.f,"ax",@progbits
.hidden f
.globl f
.type f,@function
f: # @f
.local i32
# BB#0: # %entry
i32.const $push0=, 0
i32.load $push15=, next($pop0)
tee_local $push14=, $0=, $pop15
i32.load $push1=, 0($0)
i32.const $push2=, -16777216
i32.and $push3=, $pop1, $pop2
i32.const $push4=, 16711422
i32.or $push5=, $pop3, $pop4
i32.store 0($pop14), $pop5
i32.const $push13=, 0
i32.load $push12=, next($pop13)
tee_local $push11=, $0=, $pop12
i32.load $push6=, 4($0)
i32.const $push10=, -16777216
i32.and $push7=, $pop6, $pop10
i32.const $push9=, 16711422
i32.or $push8=, $pop7, $pop9
i32.store 4($pop11), $pop8
# fallthrough-return
.endfunc
.Lfunc_end1:
.size f, .Lfunc_end1-f
.section .text.main,"ax",@progbits
.hidden main
.globl main
.type main,@function
main: # @main
.result i32
# BB#0: # %if.end6
i32.const $push0=, 0
i32.const $push1=, 0
i32.load $push2=, __stack_pointer($pop1)
i32.const $push3=, 16
i32.sub $push6=, $pop2, $pop3
i32.const $push4=, 8
i32.add $push5=, $pop6, $pop4
i32.store next($pop0), $pop5
i32.const $push7=, 0
# fallthrough-return: $pop7
.endfunc
.Lfunc_end2:
.size main, .Lfunc_end2-main
.hidden next # @next
.type next,@object
.section .bss.next,"aw",@nobits
.globl next
.p2align 2
next:
.int32 0
.size next, 4
.ident "clang version 4.0.0 (trunk 283460) (llvm/trunk 283507)"