From 91a7ce1cda6b90c9fa2d1b5a81dbe2f019a8d64f Mon Sep 17 00:00:00 2001 From: Justin Viiret Date: Wed, 12 Oct 2016 14:59:20 +1100 Subject: [PATCH] getData256(): data needs to be 32-byte aligned --- src/rose/program_runtime.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rose/program_runtime.h b/src/rose/program_runtime.h index 3c94f543..5b2c829f 100644 --- a/src/rose/program_runtime.h +++ b/src/rose/program_runtime.h @@ -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; }