blob: 659d9947e233ae7618d4e01d4222c6bcf682010a [file] [log] [blame]
Georgios Pinitasc0b6f762020-11-02 01:37:17 +00001/*
Georgios Pinitase28cf392021-01-31 05:18:43 +00002 * Copyright (c) 2019-2021 Arm Limited.
Georgios Pinitasc0b6f762020-11-02 01:37:17 +00003 *
4 * SPDX-License-Identifier: MIT
5 *
6 * Permission is hereby granted, free of charge, to any person obtaining a copy
7 * of this software and associated documentation files (the "Software"), to
8 * deal in the Software without restriction, including without limitation the
9 * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
10 * sell copies of the Software, and to permit persons to whom the Software is
11 * furnished to do so, subject to the following conditions:
12 *
13 * The above copyright notice and this permission notice shall be included in
14 * all copies or substantial portions of the Software.
15 *
16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
22 * IN THE SOFTWARE.
23 */
24
25#ifdef __aarch64__
26
27template<>
28void interleave_block<8, 4, VLType::None, false>(
29 int8_t * &out_ptr, const int8_t * const * in, size_t width, size_t height,
30 size_t row_offset, bool
31)
32{
33 __asm__ __volatile__(
34 "ldr x27, [%x[in], #0x0]\n"
35 "cmp %x[height], #0x8\n"
36 "ldr x26, [%x[in], #0x8]\n"
37 "add x27, x27, %x[row_offset]\n"
38 "ldr x25, [%x[in], #0x10]\n"
39 "ldr x24, [%x[in], #0x18]\n"
40 "add x26, x26, %x[row_offset]\n"
41 "ldr x23, [%x[in], #0x20]\n"
42 "add x25, x25, %x[row_offset]\n"
43 "ldr x22, [%x[in], #0x28]\n"
44 "ldr x21, [%x[in], #0x30]\n"
45 "add x24, x24, %x[row_offset]\n"
46 "ldr x20, [%x[in], #0x38]\n"
47 "add x23, x23, %x[row_offset]\n"
48 "add x22, x22, %x[row_offset]\n"
49 "add x21, x21, %x[row_offset]\n"
50 "add x20, x20, %x[row_offset]\n"
51 "beq 1f\n"
52 "mov x20, x27\n"
53 "cmp %x[height], #0x2\n"
54 "csel x26, x26, x27, GE\n"
55 "csel x25, x25, x27, GT\n"
56 "cmp %x[height], #0x4\n"
57 "csel x24, x24, x27, GE\n"
58 "csel x23, x23, x27, GT\n"
59 "cmp %x[height], #0x6\n"
60 "csel x22, x22, x27, GE\n"
61 "csel x21, x21, x27, GT\n"
62 "1:" // no_pointer_adj
63 "prfm pldl1keep, [x27, #0x0]\n"
64 "cmp %x[width], #0x10\n"
65 "prfm pldl1keep, [x26, #0x0]\n"
66 "prfm pldl1keep, [x25, #0x0]\n"
67 "prfm pldl1keep, [x24, #0x0]\n"
68 "prfm pldl1keep, [x23, #0x0]\n"
69 "prfm pldl1keep, [x22, #0x0]\n"
70 "prfm pldl1keep, [x21, #0x0]\n"
71 "prfm pldl1keep, [x20, #0x0]\n"
72 "prfm pldl1keep, [x27, #0x40]\n"
73 "prfm pldl1keep, [x26, #0x40]\n"
74 "prfm pldl1keep, [x25, #0x40]\n"
75 "prfm pldl1keep, [x24, #0x40]\n"
76 "prfm pldl1keep, [x23, #0x40]\n"
77 "prfm pldl1keep, [x22, #0x40]\n"
78 "prfm pldl1keep, [x21, #0x40]\n"
79 "prfm pldl1keep, [x20, #0x40]\n"
80 "blt 3f\n"
81 "2:" // Main loop head
82 "ldr q28, [x27], #0x10\n"
Georgios Pinitasc0b6f762020-11-02 01:37:17 +000083 "subs %x[width], %x[width], #0x10\n"
Georgios Pinitase28cf392021-01-31 05:18:43 +000084 "ldr q29, [x26], #0x10\n"
Georgios Pinitasc0b6f762020-11-02 01:37:17 +000085 "cmp %x[width], #0x10\n"
Georgios Pinitase28cf392021-01-31 05:18:43 +000086 "ldr q25, [x25], #0x10\n"
87 "zip1 v22.4s, v28.4s, v25.4s\n"
88 "ldr q21, [x24], #0x10\n"
89 "zip2 v28.4s, v28.4s, v25.4s\n"
90 "ldr q27, [x23], #0x10\n"
91 "ldr q26, [x22], #0x10\n"
92 "zip1 v20.4s, v29.4s, v21.4s\n"
93 "ldr q19, [x21], #0x10\n"
94 "zip2 v25.4s, v29.4s, v21.4s\n"
95 "ldr q24, [x20], #0x10\n"
96 "zip1 v23.4s, v22.4s, v20.4s\n"
97 "prfm pldl1keep, [x27, #0x70]\n"
98 "zip2 v22.4s, v22.4s, v20.4s\n"
99 "prfm pldl1keep, [x26, #0x70]\n"
100 "zip1 v21.4s, v28.4s, v25.4s\n"
101 "prfm pldl1keep, [x25, #0x70]\n"
102 "zip1 v18.4s, v27.4s, v19.4s\n"
103 "prfm pldl1keep, [x24, #0x70]\n"
104 "zip1 v16.4s, v26.4s, v24.4s\n"
105 "prfm pldl1keep, [x23, #0x70]\n"
106 "zip1 v17.4s, v18.4s, v16.4s\n"
107 "prfm pldl1keep, [x22, #0x70]\n"
108 "zip2 v20.4s, v18.4s, v16.4s\n"
109 "prfm pldl1keep, [x21, #0x70]\n"
110 "zip2 v19.4s, v27.4s, v19.4s\n"
111 "prfm pldl1keep, [x20, #0x70]\n"
112 "zip2 v16.4s, v26.4s, v24.4s\n"
113 "str q23, [%x[out_ptr], #0x0]\n"
114 "zip1 v18.4s, v19.4s, v16.4s\n"
Georgios Pinitasc0b6f762020-11-02 01:37:17 +0000115 "str q17, [%x[out_ptr], #0x10]\n"
Georgios Pinitase28cf392021-01-31 05:18:43 +0000116 "zip2 v17.4s, v28.4s, v25.4s\n"
117 "str q22, [%x[out_ptr], #0x20]\n"
118 "zip2 v16.4s, v19.4s, v16.4s\n"
119 "str q20, [%x[out_ptr], #0x30]\n"
120 "str q21, [%x[out_ptr], #0x40]\n"
121 "str q18, [%x[out_ptr], #0x50]\n"
Georgios Pinitasc0b6f762020-11-02 01:37:17 +0000122 "str q17, [%x[out_ptr], #0x60]\n"
123 "str q16, [%x[out_ptr], #0x70]\n"
124 "add %x[out_ptr], %x[out_ptr], #0x80\n"
125 "bge 2b\n"
126 "3:" // Main loop skip
127 "cbz %x[width], 12f\n"
128 "tbz %x[width], #3, 7f\n"
129 "ldr d28, [x27], #0x8\n"
Georgios Pinitase28cf392021-01-31 05:18:43 +0000130 "ldr d29, [x26], #0x8\n"
131 "ldr d25, [x25], #0x8\n"
132 "ldr d21, [x24], #0x8\n"
133 "ldr d27, [x23], #0x8\n"
134 "ldr d26, [x22], #0x8\n"
Georgios Pinitasc0b6f762020-11-02 01:37:17 +0000135 "ldr d19, [x21], #0x8\n"
Georgios Pinitase28cf392021-01-31 05:18:43 +0000136 "ldr d24, [x20], #0x8\n"
Georgios Pinitasc0b6f762020-11-02 01:37:17 +0000137 "tbz %x[width], #2, 5f\n"
138 "ld1 { v28.s }[2], [x27], #0x4\n"
Georgios Pinitase28cf392021-01-31 05:18:43 +0000139 "ld1 { v29.s }[2], [x26], #0x4\n"
140 "ld1 { v25.s }[2], [x25], #0x4\n"
141 "ld1 { v21.s }[2], [x24], #0x4\n"
142 "ld1 { v27.s }[2], [x23], #0x4\n"
143 "ld1 { v26.s }[2], [x22], #0x4\n"
Georgios Pinitasc0b6f762020-11-02 01:37:17 +0000144 "ld1 { v19.s }[2], [x21], #0x4\n"
Georgios Pinitase28cf392021-01-31 05:18:43 +0000145 "ld1 { v24.s }[2], [x20], #0x4\n"
Georgios Pinitasc0b6f762020-11-02 01:37:17 +0000146 "tbz %x[width], #1, 4f\n"
147 "ld1 { v28.h }[6], [x27], #0x2\n"
Georgios Pinitasc0b6f762020-11-02 01:37:17 +0000148 "mov x19, #0x4\n"
Georgios Pinitase28cf392021-01-31 05:18:43 +0000149 "ld1 { v29.h }[6], [x26], #0x2\n"
150 "ld1 { v25.h }[6], [x25], #0x2\n"
151 "ld1 { v21.h }[6], [x24], #0x2\n"
152 "ld1 { v27.h }[6], [x23], #0x2\n"
153 "ld1 { v26.h }[6], [x22], #0x2\n"
154 "ld1 { v19.h }[6], [x21], #0x2\n"
155 "ld1 { v24.h }[6], [x20], #0x2\n"
Georgios Pinitasc0b6f762020-11-02 01:37:17 +0000156 "tbz %x[width], #0, 11f\n"
157 "ld1 { v28.b }[14], [x27]\n"
Georgios Pinitase28cf392021-01-31 05:18:43 +0000158 "ld1 { v29.b }[14], [x26]\n"
159 "ld1 { v25.b }[14], [x25]\n"
160 "ld1 { v21.b }[14], [x24]\n"
161 "ld1 { v27.b }[14], [x23]\n"
162 "ld1 { v26.b }[14], [x22]\n"
Georgios Pinitasc0b6f762020-11-02 01:37:17 +0000163 "ld1 { v19.b }[14], [x21]\n"
Georgios Pinitase28cf392021-01-31 05:18:43 +0000164 "ld1 { v24.b }[14], [x20]\n"
Georgios Pinitasc0b6f762020-11-02 01:37:17 +0000165 "b 11f\n"
166 "4:" // odd_loads_1_12
167 "mov x19, #0x3\n"
168 "tbz %x[width], #0, 11f\n"
169 "ld1 { v28.b }[12], [x27]\n"
Georgios Pinitase28cf392021-01-31 05:18:43 +0000170 "ld1 { v29.b }[12], [x26]\n"
Georgios Pinitasc0b6f762020-11-02 01:37:17 +0000171 "mov x19, #0x4\n"
Georgios Pinitase28cf392021-01-31 05:18:43 +0000172 "ld1 { v25.b }[12], [x25]\n"
173 "ld1 { v21.b }[12], [x24]\n"
174 "ld1 { v27.b }[12], [x23]\n"
175 "ld1 { v26.b }[12], [x22]\n"
176 "ld1 { v19.b }[12], [x21]\n"
177 "ld1 { v24.b }[12], [x20]\n"
Georgios Pinitasc0b6f762020-11-02 01:37:17 +0000178 "b 11f\n"
179 "5:" // odd_loads_2_8
180 "tbz %x[width], #1, 6f\n"
181 "ld1 { v28.h }[4], [x27], #0x2\n"
Georgios Pinitase28cf392021-01-31 05:18:43 +0000182 "ld1 { v29.h }[4], [x26], #0x2\n"
Georgios Pinitasc0b6f762020-11-02 01:37:17 +0000183 "mov x19, #0x3\n"
Georgios Pinitase28cf392021-01-31 05:18:43 +0000184 "ld1 { v25.h }[4], [x25], #0x2\n"
185 "ld1 { v21.h }[4], [x24], #0x2\n"
186 "ld1 { v27.h }[4], [x23], #0x2\n"
187 "ld1 { v26.h }[4], [x22], #0x2\n"
188 "ld1 { v19.h }[4], [x21], #0x2\n"
189 "ld1 { v24.h }[4], [x20], #0x2\n"
Georgios Pinitasc0b6f762020-11-02 01:37:17 +0000190 "tbz %x[width], #0, 11f\n"
191 "ld1 { v28.b }[10], [x27]\n"
Georgios Pinitase28cf392021-01-31 05:18:43 +0000192 "ld1 { v29.b }[10], [x26]\n"
193 "ld1 { v25.b }[10], [x25]\n"
194 "ld1 { v21.b }[10], [x24]\n"
195 "ld1 { v27.b }[10], [x23]\n"
196 "ld1 { v26.b }[10], [x22]\n"
Georgios Pinitasc0b6f762020-11-02 01:37:17 +0000197 "ld1 { v19.b }[10], [x21]\n"
Georgios Pinitase28cf392021-01-31 05:18:43 +0000198 "ld1 { v24.b }[10], [x20]\n"
Georgios Pinitasc0b6f762020-11-02 01:37:17 +0000199 "b 11f\n"
200 "6:" // odd_loads_1_8
201 "mov x19, #0x2\n"
202 "tbz %x[width], #0, 11f\n"
203 "ld1 { v28.b }[8], [x27]\n"
Georgios Pinitase28cf392021-01-31 05:18:43 +0000204 "ld1 { v29.b }[8], [x26]\n"
Georgios Pinitasc0b6f762020-11-02 01:37:17 +0000205 "mov x19, #0x3\n"
Georgios Pinitase28cf392021-01-31 05:18:43 +0000206 "ld1 { v25.b }[8], [x25]\n"
207 "ld1 { v21.b }[8], [x24]\n"
208 "ld1 { v27.b }[8], [x23]\n"
209 "ld1 { v26.b }[8], [x22]\n"
210 "ld1 { v19.b }[8], [x21]\n"
211 "ld1 { v24.b }[8], [x20]\n"
Georgios Pinitasc0b6f762020-11-02 01:37:17 +0000212 "b 11f\n"
213 "7:" // odd_loads_4_0
214 "tbz %x[width], #2, 9f\n"
215 "ldr s28, [x27], #0x4\n"
Georgios Pinitase28cf392021-01-31 05:18:43 +0000216 "ldr s29, [x26], #0x4\n"
217 "ldr s25, [x25], #0x4\n"
218 "ldr s21, [x24], #0x4\n"
219 "ldr s27, [x23], #0x4\n"
220 "ldr s26, [x22], #0x4\n"
Georgios Pinitasc0b6f762020-11-02 01:37:17 +0000221 "ldr s19, [x21], #0x4\n"
Georgios Pinitase28cf392021-01-31 05:18:43 +0000222 "ldr s24, [x20], #0x4\n"
Georgios Pinitasc0b6f762020-11-02 01:37:17 +0000223 "tbz %x[width], #1, 8f\n"
224 "ld1 { v28.h }[2], [x27], #0x2\n"
Georgios Pinitasc0b6f762020-11-02 01:37:17 +0000225 "mov x19, #0x2\n"
Georgios Pinitase28cf392021-01-31 05:18:43 +0000226 "ld1 { v29.h }[2], [x26], #0x2\n"
227 "ld1 { v25.h }[2], [x25], #0x2\n"
228 "ld1 { v21.h }[2], [x24], #0x2\n"
229 "ld1 { v27.h }[2], [x23], #0x2\n"
230 "ld1 { v26.h }[2], [x22], #0x2\n"
231 "ld1 { v19.h }[2], [x21], #0x2\n"
232 "ld1 { v24.h }[2], [x20], #0x2\n"
Georgios Pinitasc0b6f762020-11-02 01:37:17 +0000233 "tbz %x[width], #0, 11f\n"
234 "ld1 { v28.b }[6], [x27]\n"
Georgios Pinitase28cf392021-01-31 05:18:43 +0000235 "ld1 { v29.b }[6], [x26]\n"
236 "ld1 { v25.b }[6], [x25]\n"
237 "ld1 { v21.b }[6], [x24]\n"
238 "ld1 { v27.b }[6], [x23]\n"
239 "ld1 { v26.b }[6], [x22]\n"
Georgios Pinitasc0b6f762020-11-02 01:37:17 +0000240 "ld1 { v19.b }[6], [x21]\n"
Georgios Pinitase28cf392021-01-31 05:18:43 +0000241 "ld1 { v24.b }[6], [x20]\n"
Georgios Pinitasc0b6f762020-11-02 01:37:17 +0000242 "b 11f\n"
243 "8:" // odd_loads_1_4
244 "mov x19, #0x1\n"
245 "tbz %x[width], #0, 11f\n"
246 "ld1 { v28.b }[4], [x27]\n"
Georgios Pinitase28cf392021-01-31 05:18:43 +0000247 "ld1 { v29.b }[4], [x26]\n"
Georgios Pinitasc0b6f762020-11-02 01:37:17 +0000248 "mov x19, #0x2\n"
Georgios Pinitase28cf392021-01-31 05:18:43 +0000249 "ld1 { v25.b }[4], [x25]\n"
250 "ld1 { v21.b }[4], [x24]\n"
251 "ld1 { v27.b }[4], [x23]\n"
252 "ld1 { v26.b }[4], [x22]\n"
253 "ld1 { v19.b }[4], [x21]\n"
254 "ld1 { v24.b }[4], [x20]\n"
Georgios Pinitasc0b6f762020-11-02 01:37:17 +0000255 "b 11f\n"
256 "9:" // odd_loads_2_0
257 "tbz %x[width], #1, 10f\n"
258 "ldr h28, [x27], #0x2\n"
Georgios Pinitase28cf392021-01-31 05:18:43 +0000259 "ldr h29, [x26], #0x2\n"
Georgios Pinitasc0b6f762020-11-02 01:37:17 +0000260 "mov x19, #0x1\n"
Georgios Pinitase28cf392021-01-31 05:18:43 +0000261 "ldr h25, [x25], #0x2\n"
262 "ldr h21, [x24], #0x2\n"
263 "ldr h27, [x23], #0x2\n"
264 "ldr h26, [x22], #0x2\n"
265 "ldr h19, [x21], #0x2\n"
266 "ldr h24, [x20], #0x2\n"
Georgios Pinitasc0b6f762020-11-02 01:37:17 +0000267 "tbz %x[width], #0, 11f\n"
268 "ld1 { v28.b }[2], [x27]\n"
Georgios Pinitase28cf392021-01-31 05:18:43 +0000269 "ld1 { v29.b }[2], [x26]\n"
270 "ld1 { v25.b }[2], [x25]\n"
271 "ld1 { v21.b }[2], [x24]\n"
272 "ld1 { v27.b }[2], [x23]\n"
273 "ld1 { v26.b }[2], [x22]\n"
Georgios Pinitasc0b6f762020-11-02 01:37:17 +0000274 "ld1 { v19.b }[2], [x21]\n"
Georgios Pinitase28cf392021-01-31 05:18:43 +0000275 "ld1 { v24.b }[2], [x20]\n"
Georgios Pinitasc0b6f762020-11-02 01:37:17 +0000276 "b 11f\n"
277 "10:" // odd_loads_1_0
278 "ldr b28, [x27, #0x0]\n"
Georgios Pinitasc0b6f762020-11-02 01:37:17 +0000279 "mov x19, #0x1\n"
Georgios Pinitase28cf392021-01-31 05:18:43 +0000280 "ldr b29, [x26, #0x0]\n"
281 "ldr b25, [x25, #0x0]\n"
282 "ldr b21, [x24, #0x0]\n"
283 "ldr b27, [x23, #0x0]\n"
284 "ldr b26, [x22, #0x0]\n"
285 "ldr b19, [x21, #0x0]\n"
286 "ldr b24, [x20, #0x0]\n"
Georgios Pinitasc0b6f762020-11-02 01:37:17 +0000287 "11:" // Odd load end
Georgios Pinitase28cf392021-01-31 05:18:43 +0000288 "zip1 v22.4s, v28.4s, v25.4s\n"
Georgios Pinitasc0b6f762020-11-02 01:37:17 +0000289 "subs x19, x19, #0x1\n"
Georgios Pinitase28cf392021-01-31 05:18:43 +0000290 "zip1 v20.4s, v29.4s, v21.4s\n"
291 "zip1 v23.4s, v22.4s, v20.4s\n"
292 "str q23, [%x[out_ptr], #0x0]\n"
293 "zip1 v18.4s, v27.4s, v19.4s\n"
294 "zip1 v16.4s, v26.4s, v24.4s\n"
Georgios Pinitasc0b6f762020-11-02 01:37:17 +0000295 "zip1 v17.4s, v18.4s, v16.4s\n"
296 "str q17, [%x[out_ptr], #0x10]\n"
297 "add %x[out_ptr], %x[out_ptr], #0x20\n"
298 "beq 12f\n"
Georgios Pinitase28cf392021-01-31 05:18:43 +0000299 "zip2 v22.4s, v22.4s, v20.4s\n"
300 "str q22, [%x[out_ptr], #0x0]\n"
301 "zip2 v20.4s, v18.4s, v16.4s\n"
Georgios Pinitasc0b6f762020-11-02 01:37:17 +0000302 "subs x19, x19, #0x1\n"
Georgios Pinitase28cf392021-01-31 05:18:43 +0000303 "str q20, [%x[out_ptr], #0x10]\n"
Georgios Pinitasc0b6f762020-11-02 01:37:17 +0000304 "add %x[out_ptr], %x[out_ptr], #0x20\n"
305 "beq 12f\n"
Georgios Pinitase28cf392021-01-31 05:18:43 +0000306 "zip2 v28.4s, v28.4s, v25.4s\n"
307 "zip2 v25.4s, v29.4s, v21.4s\n"
Georgios Pinitasc0b6f762020-11-02 01:37:17 +0000308 "subs x19, x19, #0x1\n"
Georgios Pinitase28cf392021-01-31 05:18:43 +0000309 "zip1 v21.4s, v28.4s, v25.4s\n"
310 "str q21, [%x[out_ptr], #0x0]\n"
311 "zip2 v19.4s, v27.4s, v19.4s\n"
312 "zip2 v16.4s, v26.4s, v24.4s\n"
313 "zip1 v18.4s, v19.4s, v16.4s\n"
314 "str q18, [%x[out_ptr], #0x10]\n"
Georgios Pinitasc0b6f762020-11-02 01:37:17 +0000315 "add %x[out_ptr], %x[out_ptr], #0x20\n"
316 "beq 12f\n"
Georgios Pinitase28cf392021-01-31 05:18:43 +0000317 "zip2 v17.4s, v28.4s, v25.4s\n"
Georgios Pinitasc0b6f762020-11-02 01:37:17 +0000318 "str q17, [%x[out_ptr], #0x0]\n"
Georgios Pinitase28cf392021-01-31 05:18:43 +0000319 "zip2 v16.4s, v19.4s, v16.4s\n"
Georgios Pinitasc0b6f762020-11-02 01:37:17 +0000320 "str q16, [%x[out_ptr], #0x10]\n"
321 "add %x[out_ptr], %x[out_ptr], #0x20\n"
322 "12:" // Odds skip
323
Georgios Pinitase28cf392021-01-31 05:18:43 +0000324 : [out_ptr] "+&r" (out_ptr), [width] "+&r" (width)
Georgios Pinitasc0b6f762020-11-02 01:37:17 +0000325 : [height] "r" (height), [in] "r" (in), [row_offset] "r" (row_offset)
Georgios Pinitase28cf392021-01-31 05:18:43 +0000326 : "cc", "memory", "v16", "v17", "v18", "v19", "v20", "v21", "v22", "v23", "v24", "v25", "v26", "v27", "v28", "v29", "x19", "x20", "x21", "x22", "x23", "x24", "x25", "x26", "x27"
Georgios Pinitasc0b6f762020-11-02 01:37:17 +0000327 );
328}
329
330template<>
331void interleave_block<8, 4, VLType::None, false>(
332 uint8_t * &out_ptr, const uint8_t * const * in, size_t width, size_t height,
333 size_t row_offset, bool
334)
335{
336 int8_t * &out_cast = reinterpret_cast<int8_t * &>(out_ptr);
337 const int8_t * const * in_cast = reinterpret_cast<const int8_t * const *>(in);
338
339 interleave_block<8, 4, VLType::None, false>(out_cast, in_cast, width, height, row_offset, false);
340}
341
342
343#endif // __aarch64__