forked from WebAssembly/binaryen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
960312-1.c.s
85 lines (81 loc) · 2.15 KB
/
960312-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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
.text
.file "/b/build/slave/linux/build/src/src/work/gcc/gcc/testsuite/gcc.c-torture/execute/960312-1.c"
.section .text.f,"ax",@progbits
.hidden f
.globl f
.type f,@function
f: # @f
.param i32
.result i32
.local i32, i32, i32, i32, i32, i32, i32
# BB#0: # %entry
i32.const $push0=, 16
i32.add $push4=, $0, $pop0
tee_local $push3=, $3=, $pop4
i32.load $4=, 0($pop3)
i32.load $5=, 12($0)
i32.load $push2=, 8($0)
tee_local $push1=, $6=, $pop2
i32.load $7=, 0($pop1)
i32.load $2=, 8($6)
i32.load $1=, 4($6)
#APP
#NO_APP
i32.store $drop=, 0($6), $4
i32.store $drop=, 8($6), $7
i32.store $drop=, 0($0), $6
i32.store $drop=, 12($0), $2
i32.store $drop=, 0($3), $5
i32.store $drop=, 4($0), $1
copy_local $push5=, $0
# fallthrough-return: $pop5
.endfunc
.Lfunc_end0:
.size f, .Lfunc_end0-f
.section .text.main,"ax",@progbits
.hidden main
.globl main
.type main,@function
main: # @main
.result i32
.local i32, i32, i32
# BB#0: # %entry
i32.const $push8=, 0
i32.load $2=, main.sc($pop8)
i32.const $push7=, 0
i32.load $1=, main.sc+8($pop7)
i32.const $push6=, 0
i32.load $0=, main.sc+4($pop6)
#APP
#NO_APP
i32.const $push5=, 0
i32.const $push1=, 11
i32.store $drop=, main.sc($pop5), $pop1
block
i32.const $push4=, 0
i32.store $push0=, main.sc+8($pop4), $2
i32.const $push2=, 2
i32.ne $push3=, $pop0, $pop2
br_if 0, $pop3 # 0: down to label0
# BB#1: # %if.end
i32.const $push9=, 0
call exit@FUNCTION, $pop9
unreachable
.LBB1_2: # %if.then
end_block # label0:
call abort@FUNCTION
unreachable
.endfunc
.Lfunc_end1:
.size main, .Lfunc_end1-main
.type main.sc,@object # @main.sc
.section .data.main.sc,"aw",@progbits
.p2align 2
main.sc:
.int32 2 # 0x2
.int32 3 # 0x3
.int32 4 # 0x4
.size main.sc, 12
.ident "clang version 3.9.0 "
.functype abort, void
.functype exit, void, i32