Merge branch 'add_rvv_optmized_memcopy64' of https://github.com/anthony-zy/snappy into add_rvv_optmized_memcopy64

This commit is contained in:
anthony-zy
2025-10-20 09:53:37 +08:00

View File

@@ -296,8 +296,9 @@ inline constexpr std::array<std::array<char, sizeof(V128)>,
sizeof...(pattern_sizes_minus_one)> sizeof...(pattern_sizes_minus_one)>
MakePatternMaskBytesTable(int index_offset, MakePatternMaskBytesTable(int index_offset,
index_sequence<pattern_sizes_minus_one...>) { index_sequence<pattern_sizes_minus_one...>) {
return {MakePatternMaskBytes(index_offset, pattern_sizes_minus_one + 1, return {
make_index_sequence<sizeof(V128)>())...}; MakePatternMaskBytes(index_offset, pattern_sizes_minus_one + 1,
make_index_sequence</*indexes=*/sizeof(V128)>())...};
} }
// This is an array of shuffle control masks that can be used as the source // This is an array of shuffle control masks that can be used as the source
// operand for PSHUFB to permute the contents of the destination XMM register // operand for PSHUFB to permute the contents of the destination XMM register