aboutsummaryrefslogtreecommitdiff
path: root/src/arch/neon.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/neon.h')
-rw-r--r--src/arch/neon.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/arch/neon.h b/src/arch/neon.h
index 9871125..f997813 100644
--- a/src/arch/neon.h
+++ b/src/arch/neon.h
@@ -232,6 +232,16 @@ coord_co(cube_t c)
232 return ret; 232 return ret;
233} 233}
234 234
235STATIC_INLINE void
236copy_co(cube_t cube[static 1], cube_t co)
237{
238 uint8x8_t coclean;
239
240 coclean = vand_u8(co.corner, CO2_NEON);
241 cube->corner = vbic_u8(cube->corner, CO2_NEON);
242 cube->corner = vorr_u8(cube->corner, coclean);
243}
244
235STATIC_INLINE cube_t 245STATIC_INLINE cube_t
236invcoord_co(uint64_t coord) 246invcoord_co(uint64_t coord)
237{ 247{

Generated with cgit - Back to sebastiano.tronto.net