aboutsummaryrefslogtreecommitdiff
path: root/src/arch/neon.h
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2025-12-19 07:38:05 +0100
committerSebastiano Tronto <sebastiano@tronto.net>2025-12-19 07:38:05 +0100
commit30d976107352ecf74c57acc1032bed6032cd3da3 (patch)
tree665bb9940af179cbd955c57eeadf0d6af6dc31d6 /src/arch/neon.h
parentf283c08db86777fe77bdf00d3d70687107a376d9 (diff)
parentde04d37e8520079f5bba3b1a87d42313297543db (diff)
downloadnissy-core-30d976107352ecf74c57acc1032bed6032cd3da3.tar.gz
nissy-core-30d976107352ecf74c57acc1032bed6032cd3da3.zip
Merge branch 'h48-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