forked from WebAssembly/binaryen
/
store-trunc.s
48 lines (42 loc) · 977 Bytes
/
store-trunc.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
.text
.file "/s/llvm-upstream/llvm/test/CodeGen/WebAssembly/store-trunc.ll"
.globl trunc_i8_i32
.type trunc_i8_i32,@function
trunc_i8_i32:
.param i32, i32
i32.store8 0($0), $1
.endfunc
.Lfunc_end0:
.size trunc_i8_i32, .Lfunc_end0-trunc_i8_i32
.globl trunc_i16_i32
.type trunc_i16_i32,@function
trunc_i16_i32:
.param i32, i32
i32.store16 0($0), $1
.endfunc
.Lfunc_end1:
.size trunc_i16_i32, .Lfunc_end1-trunc_i16_i32
.globl trunc_i8_i64
.type trunc_i8_i64,@function
trunc_i8_i64:
.param i32, i64
i64.store8 0($0), $1
.endfunc
.Lfunc_end2:
.size trunc_i8_i64, .Lfunc_end2-trunc_i8_i64
.globl trunc_i16_i64
.type trunc_i16_i64,@function
trunc_i16_i64:
.param i32, i64
i64.store16 0($0), $1
.endfunc
.Lfunc_end3:
.size trunc_i16_i64, .Lfunc_end3-trunc_i16_i64
.globl trunc_i32_i64
.type trunc_i32_i64,@function
trunc_i32_i64:
.param i32, i64
i64.store32 0($0), $1
.endfunc
.Lfunc_end4:
.size trunc_i32_i64, .Lfunc_end4-trunc_i32_i64