-
Notifications
You must be signed in to change notification settings - Fork 42
/
vloxei8_8.S
113 lines (99 loc) · 2.86 KB
/
vloxei8_8.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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
# Copyright TU Wien
# Licensed under the Solderpad Hardware License v2.1, see LICENSE.txt for details
# SPDX-License-Identifier: Apache-2.0 WITH SHL-2.1
.text
.balign 4
.global main
main:
la a0, vdata_start
li t0, 16
vsetvli t0, t0, e8,m1,tu,mu
li t0, 0xb5
vmv.v.x v0, t0
vle8.v v8, (a0)
vloxei8.v v16, (a0), v8
li t0, 15
vsetvli t0, t0, e8,m1,tu,mu
addi a1, a0, 64
vloxei8.v v16, (a1), v8, v0.t
li t0, 16
vsetvli t0, t0, e8,m1,tu,mu
vse8.v v16, (a0)
la a0, vdata_start
la a1, vdata_end
j spill_cache
.data
.align 10
.global vdata_start
.global vdata_end
vdata_start:
.word 0x01050d07
.word 0x0e030209
.word 0x040f0b00
.word 0x060a080c
.word 0x3f44383b
.word 0x37424d54
.word 0x5e4b5049
.word 0x4c4c4c4a
.word 0x4a505f3e
.word 0x485e5455
.word 0x4d4c4a41
.word 0x373b5451
.word 0x41454c45
.word 0x3a3e3738
.word 0x312f2e2f
.word 0x3d433f45
.word 0x46424949
.word 0x494a4d51
.word 0x49413c38
.word 0x3e514143
.word 0x47525353
.word 0x514e5052
.word 0x525a5b58
.word 0x5e575254
.word 0x56545058
.word 0x5a534947
.word 0x4744544f
.word 0x4e515051
.word 0x5a4b4545
.word 0x454c4342
.word 0x40504a3f
.word 0x4448535a
vdata_end:
.align 10
.global vref_start
.global vref_end
vref_start:
.word 0x0d4d0849
.word 0x5101423c
.word 0x093e0449
.word 0x030f3843
.word 0x3f44383b
.word 0x37424d54
.word 0x5e4b5049
.word 0x4c4c4c4a
.word 0x4a505f3e
.word 0x485e5455
.word 0x4d4c4a41
.word 0x373b5451
.word 0x41454c45
.word 0x3a3e3738
.word 0x312f2e2f
.word 0x3d433f45
.word 0x46424949
.word 0x494a4d51
.word 0x49413c38
.word 0x3e514143
.word 0x47525353
.word 0x514e5052
.word 0x525a5b58
.word 0x5e575254
.word 0x56545058
.word 0x5a534947
.word 0x4744544f
.word 0x4e515051
.word 0x5a4b4545
.word 0x454c4342
.word 0x40504a3f
.word 0x4448535a
vref_end: