]> git.ipfire.org Git - thirdparty/vectorscan.git/commitdiff
getData256(): data needs to be 32-byte aligned
authorJustin Viiret <justin.viiret@intel.com>
Wed, 12 Oct 2016 03:59:20 +0000 (14:59 +1100)
committerMatthew Barr <matthew.barr@intel.com>
Fri, 2 Dec 2016 00:28:16 +0000 (11:28 +1100)
src/rose/program_runtime.h

index 3c94f54351d4aae2d656a3a402d95a3595bf4117..5b2c829f32a04a3cd4077f74da4eb7b61e781f7f 100644 (file)
@@ -875,7 +875,7 @@ m256 getData256(const struct core_info *ci, s64a offset, u32 *valid_data_mask) {
         *valid_data_mask = ~0u;
         return loadu256(ci->buf + offset);
     }
-    ALIGN_DIRECTIVE u8 data[sizeof(m256)];
+    ALIGN_AVX_DIRECTIVE u8 data[sizeof(m256)];
     *valid_data_mask = getBufferDataComplex(ci, offset, data, 32);
     return *(m256 *)data;
 }