aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/arch/neon.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/neon.h b/src/arch/neon.h
index 45db305..6261c9a 100644
--- a/src/arch/neon.h
+++ b/src/arch/neon.h
@@ -69,7 +69,7 @@ equal(cube_t c1, cube_t c2)
69 69
70 // convert the comparison vectors to 64-bit vectors and combine them 70 // convert the comparison vectors to 64-bit vectors and combine them
71 cmp_corner_u64 = vreinterpretq_u64_u8( 71 cmp_corner_u64 = vreinterpretq_u64_u8(
72 vcombine_u64(cmp_corner, cmp_corner)); 72 vcombine_u8(cmp_corner, cmp_corner));
73 cmp_edge_u64 = vreinterpretq_u64_u8(cmp_edge); 73 cmp_edge_u64 = vreinterpretq_u64_u8(cmp_edge);
74 cmp_result = vandq_u64(cmp_corner_u64, cmp_edge_u64); 74 cmp_result = vandq_u64(cmp_corner_u64, cmp_edge_u64);
75 75
@@ -130,7 +130,7 @@ compose_edges_slim(uint8x16_t edge1, uint8x16_t edge2)
130 uint8x16_t ret = vorrq_u8(vandq_u8(piece1, p_bits), orien); 130 uint8x16_t ret = vorrq_u8(vandq_u8(piece1, p_bits), orien);
131 131
132 // Mask to clear the last 32 bits of the result 132 // Mask to clear the last 32 bits of the result
133 uint8x16_t mask_last_32 = 133 uint32x4_t mask_last_32 =
134 vsetq_lane_u32(0, vreinterpretq_u32_u8(ret), 3); 134 vsetq_lane_u32(0, vreinterpretq_u32_u8(ret), 3);
135 ret = vreinterpretq_u8_u32(mask_last_32); 135 ret = vreinterpretq_u8_u32(mask_last_32);
136 136

Generated with cgit - Back to sebastiano.tronto.net