| 299 | // returns an array. |
| 300 | template <size_t... pattern_sizes_minus_one> |
| 301 | inline constexpr std::array<std::array<char, sizeof(V128)>, |
| 302 | sizeof...(pattern_sizes_minus_one)> |
| 303 | MakePatternMaskBytesTable(int index_offset, |
| 304 | index_sequence<pattern_sizes_minus_one...>) { |
| 305 | return { |
| 306 | MakePatternMaskBytes(index_offset, pattern_sizes_minus_one + 1, |
| 307 | make_index_sequence</*indexes=*/sizeof(V128)>())...}; |
| 308 | } |
| 309 | // This is an array of shuffle control masks that can be used as the source |
| 310 | // operand for PSHUFB to permute the contents of the destination XMM register |
| 311 | // into a repeating byte pattern. |
no test coverage detected