forked from WebAssembly/binaryen
/
930622-2.c.s
66 lines (62 loc) · 1.84 KB
/
930622-2.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/930622-2.c"
.section .text.ll_to_ld,"ax",@progbits
.hidden ll_to_ld
.globl ll_to_ld
.type ll_to_ld,@function
ll_to_ld: # @ll_to_ld
.param i32, i64
.local i32
# BB#0: # %entry
i32.const $push8=, 0
i32.const $push5=, 0
i32.load $push6=, __stack_pointer($pop5)
i32.const $push7=, 16
i32.sub $push14=, $pop6, $pop7
tee_local $push13=, $2=, $pop14
i32.store __stack_pointer($pop8), $pop13
call __floatditf@FUNCTION, $2, $1
i32.const $push0=, 8
i32.add $push1=, $0, $pop0
i32.const $push12=, 8
i32.add $push2=, $2, $pop12
i64.load $push3=, 0($pop2)
i64.store 0($pop1), $pop3
i64.load $push4=, 0($2)
i64.store 0($0), $pop4
i32.const $push11=, 0
i32.const $push9=, 16
i32.add $push10=, $2, $pop9
i32.store __stack_pointer($pop11), $pop10
# fallthrough-return
.endfunc
.Lfunc_end0:
.size ll_to_ld, .Lfunc_end0-ll_to_ld
.section .text.ld_to_ll,"ax",@progbits
.hidden ld_to_ll
.globl ld_to_ll
.type ld_to_ll,@function
ld_to_ll: # @ld_to_ll
.param i64, i64
.result i64
# BB#0: # %entry
i64.call $push0=, __fixtfdi@FUNCTION, $0, $1
# fallthrough-return: $pop0
.endfunc
.Lfunc_end1:
.size ld_to_ll, .Lfunc_end1-ld_to_ll
.section .text.main,"ax",@progbits
.hidden main
.globl main
.type main,@function
main: # @main
.result i32
# BB#0: # %if.end4
i32.const $push0=, 0
call exit@FUNCTION, $pop0
unreachable
.endfunc
.Lfunc_end2:
.size main, .Lfunc_end2-main
.ident "clang version 4.0.0 (trunk 283460) (llvm/trunk 283507)"
.functype exit, void, i32