forked from WebAssembly/binaryen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
20010925-1.c.s
69 lines (64 loc) · 1.64 KB
/
20010925-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
.text
.file "/b/build/slave/linux/build/src/src/work/gcc/gcc/testsuite/gcc.c-torture/execute/20010925-1.c"
.section .text.main,"ax",@progbits
.hidden main
.globl main
.type main,@function
main: # @main
.result i32
# BB#0: # %if.end
i32.const $push0=, 0
i32.const $push6=, 0
i32.load16_u $push1=, src+8($pop6)
i32.store16 $drop=, dst+8($pop0), $pop1
i32.const $push5=, 0
i32.const $push4=, 0
i64.load $push2=, src($pop4)
i64.store $drop=, dst($pop5), $pop2
i32.const $push3=, 0
call exit@FUNCTION, $pop3
unreachable
.endfunc
.Lfunc_end0:
.size main, .Lfunc_end0-main
.section .text.foo,"ax",@progbits
.hidden foo
.globl foo
.type foo,@function
foo: # @foo
.param i32, i32, i32
.result i32
.local i32
# BB#0: # %entry
i32.const $3=, 1
block
i32.eqz $push0=, $2
br_if 0, $pop0 # 0: down to label0
# BB#1: # %if.end
i32.call $drop=, memcpy@FUNCTION, $0, $1, $2
i32.const $3=, 0
.LBB1_2: # %return
end_block # label0:
copy_local $push1=, $3
# fallthrough-return: $pop1
.endfunc
.Lfunc_end1:
.size foo, .Lfunc_end1-foo
.hidden dst # @dst
.type dst,@object
.section .bss.dst,"aw",@nobits
.globl dst
.p2align 4
dst:
.skip 40
.size dst, 40
.hidden src # @src
.type src,@object
.section .bss.src,"aw",@nobits
.globl src
.p2align 4
src:
.skip 40
.size src, 40
.ident "clang version 3.9.0 "
.functype exit, void, i32