ref: d12418b3fbe4431aef922a7ab6ff9dd3a97155f1
parent: d04eab1574e175bdb6080267ba5a09ddf922a3aa
author: Luca Barbato <lu_zero@gentoo.org>
date: Wed Jul 17 15:26:48 EDT 2019
vsx: Set the correct alignment constraints
--- a/include/common/attributes.h
+++ b/include/common/attributes.h
@@ -46,7 +46,7 @@
/* x86-64 needs 32-byte alignment for AVX2. */
#define ALIGN_32_VAL 32
#define ALIGN_16_VAL 16
-#elif ARCH_X86_32 || ARCH_ARM || ARCH_AARCH64
+#elif ARCH_X86_32 || ARCH_ARM || ARCH_AARCH64 || ARCH_PPC64LE
/* ARM doesn't benefit from anything more than 16-byte alignment. */
#define ALIGN_32_VAL 16
#define ALIGN_16_VAL 16