diff options
Diffstat (limited to 'src/arch/neon.h')
| -rw-r--r-- | src/arch/neon.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/arch/neon.h b/src/arch/neon.h index f997813..1157938 100644 --- a/src/arch/neon.h +++ b/src/arch/neon.h | |||
| @@ -48,7 +48,7 @@ popcount_u32(uint32_t x) | |||
| 48 | } | 48 | } |
| 49 | 49 | ||
| 50 | STATIC void | 50 | STATIC void |
| 51 | pieces(cube_t cube[static 1], uint8_t c[static 8], uint8_t e[static 12]) | 51 | pieces(cube_t cube[NON_NULL], uint8_t c[SIZE(8)], uint8_t e[SIZE(12)]) |
| 52 | { | 52 | { |
| 53 | // First 8 bytes of the corner vector are copied from the c array | 53 | // First 8 bytes of the corner vector are copied from the c array |
| 54 | vst1_u8(c, cube->corner); | 54 | vst1_u8(c, cube->corner); |
| @@ -233,7 +233,7 @@ coord_co(cube_t c) | |||
| 233 | } | 233 | } |
| 234 | 234 | ||
| 235 | STATIC_INLINE void | 235 | STATIC_INLINE void |
| 236 | copy_co(cube_t cube[static 1], cube_t co) | 236 | copy_co(cube_t cube[NON_NULL], cube_t co) |
| 237 | { | 237 | { |
| 238 | uint8x8_t coclean; | 238 | uint8x8_t coclean; |
| 239 | 239 | ||
| @@ -329,19 +329,19 @@ coord_esep(cube_t c) | |||
| 329 | } | 329 | } |
| 330 | 330 | ||
| 331 | STATIC_INLINE void | 331 | STATIC_INLINE void |
| 332 | copy_corners(cube_t dst[static 1], cube_t src) | 332 | copy_corners(cube_t dst[NON_NULL], cube_t src) |
| 333 | { | 333 | { |
| 334 | dst->corner = src.corner; | 334 | dst->corner = src.corner; |
| 335 | } | 335 | } |
| 336 | 336 | ||
| 337 | STATIC_INLINE void | 337 | STATIC_INLINE void |
| 338 | copy_edges(cube_t dst[static 1], cube_t src) | 338 | copy_edges(cube_t dst[NON_NULL], cube_t src) |
| 339 | { | 339 | { |
| 340 | dst->edge = src.edge; | 340 | dst->edge = src.edge; |
| 341 | } | 341 | } |
| 342 | 342 | ||
| 343 | STATIC_INLINE void | 343 | STATIC_INLINE void |
| 344 | set_eo(cube_t cube[static 1], uint64_t eo) | 344 | set_eo(cube_t cube[NON_NULL], uint64_t eo) |
| 345 | { | 345 | { |
| 346 | // Temp array to store the NEON vector | 346 | // Temp array to store the NEON vector |
| 347 | uint8_t mem[16]; | 347 | uint8_t mem[16]; |
