aboutsummaryrefslogtreecommitdiff
path: root/src/arch/neon.h
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2025-12-19 07:32:09 +0100
committerSebastiano Tronto <sebastiano@tronto.net>2025-12-19 07:32:09 +0100
commitde04d37e8520079f5bba3b1a87d42313297543db (patch)
treedcbf454949def970c428a9b4627ae04e0e9ad1fb /src/arch/neon.h
parentd5c60236c06e67e8da45e63843b37e5d619e9d7b (diff)
downloadnissy-core-h48-corner-estimate.tar.gz
nissy-core-h48-corner-estimate.zip
Add coordinate solvers for cornersh48-corner-estimate
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