forked from WebAssembly/binaryen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
20080502-1.c.s
68 lines (65 loc) · 1.97 KB
/
20080502-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
.text
.file "/b/build/slave/linux/build/src/src/work/gcc/gcc/testsuite/gcc.c-torture/execute/20080502-1.c"
.section .text.foo,"ax",@progbits
.hidden foo
.globl foo
.type foo,@function
foo: # @foo
.param i32, i64, i64
# BB#0: # %entry
i32.const $push0=, 8
i32.add $push1=, $0, $pop0
i64.const $push2=, 63
i64.shr_s $push8=, $2, $pop2
tee_local $push7=, $2=, $pop8
i64.const $push3=, 4611846683310179025
i64.and $push4=, $pop7, $pop3
i64.store $drop=, 0($pop1), $pop4
i64.const $push5=, -8905435550453399112
i64.and $push6=, $2, $pop5
i64.store $drop=, 0($0), $pop6
# fallthrough-return
.endfunc
.Lfunc_end0:
.size foo, .Lfunc_end0-foo
.section .text.main,"ax",@progbits
.hidden main
.globl main
.type main,@function
main: # @main
.result i32
.local i32
# BB#0: # %entry
i32.const $push11=, 0
i32.const $push8=, 0
i32.load $push9=, __stack_pointer($pop8)
i32.const $push10=, 16
i32.sub $push15=, $pop9, $pop10
i32.store $push17=, __stack_pointer($pop11), $pop15
tee_local $push16=, $0=, $pop17
i64.const $push1=, 0
i64.const $push0=, -4611967493404098560
call foo@FUNCTION, $pop16, $pop1, $pop0
block
i64.load $push5=, 0($0)
i64.load $push4=, 8($0)
i64.const $push3=, -8905435550453399112
i64.const $push2=, 4611846683310179025
i32.call $push6=, __eqtf2@FUNCTION, $pop5, $pop4, $pop3, $pop2
br_if 0, $pop6 # 0: down to label0
# BB#1: # %if.end
i32.const $push14=, 0
i32.const $push12=, 16
i32.add $push13=, $0, $pop12
i32.store $drop=, __stack_pointer($pop14), $pop13
i32.const $push7=, 0
return $pop7
.LBB1_2: # %if.then
end_block # label0:
call abort@FUNCTION
unreachable
.endfunc
.Lfunc_end1:
.size main, .Lfunc_end1-main
.ident "clang version 3.9.0 "
.functype abort, void