diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2025-12-19 07:32:09 +0100 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2025-12-19 07:32:09 +0100 |
| commit | de04d37e8520079f5bba3b1a87d42313297543db (patch) | |
| tree | dcbf454949def970c428a9b4627ae04e0e9ad1fb /src/arch/neon.h | |
| parent | d5c60236c06e67e8da45e63843b37e5d619e9d7b (diff) | |
| download | nissy-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.h | 10 |
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 | ||
| 235 | STATIC_INLINE void | ||
| 236 | copy_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 | |||
| 235 | STATIC_INLINE cube_t | 245 | STATIC_INLINE cube_t |
| 236 | invcoord_co(uint64_t coord) | 246 | invcoord_co(uint64_t coord) |
| 237 | { | 247 | { |
