Skip to content

Commit

Permalink
Fix Neon test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
solidpixel committed Aug 10, 2024
1 parent 3520617 commit 1a8e6bf
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions Source/astcenc_vecmathlib_neon_4.h
Original file line number Diff line number Diff line change
Expand Up @@ -977,7 +977,10 @@ ASTCENC_SIMD_INLINE void vtable_prepare(
vtable4_32x8& table,
const uint8_t* data
) {
table.t01 = vld2q_u8(data);
table.t01 = uint8x16x2_t {
vld1q_u8(data),
vld1q_u8(data + 16)
};
}

/**
Expand All @@ -987,7 +990,12 @@ ASTCENC_SIMD_INLINE void vtable_prepare(
vtable4_64x8& table,
const uint8_t* data
) {
table.t0123 = vld4q_u8(data);
table.t0123 = uint8x16x4_t {
vld1q_u8(data),
vld1q_u8(data + 16),
vld1q_u8(data + 32),
vld1q_u8(data + 48)
};
}

/**
Expand Down

0 comments on commit 1a8e6bf

Please sign in to comment.