* @brief Factory that returns a vector loaded from unaligned memory. */
| 191 | * @brief Factory that returns a vector loaded from unaligned memory. |
| 192 | */ |
| 193 | static ASTCENC_SIMD_INLINE vint8 load(const uint8_t* p) |
| 194 | { |
| 195 | return vint8(_mm256_lddqu_si256(reinterpret_cast<const __m256i*>(p))); |
| 196 | } |
| 197 | |
| 198 | /** |
| 199 | * @brief Factory that returns a vector loaded from 32B aligned memory. |