summaryrefslogtreecommitdiffstats
path: root/classes
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2022-04-24 10:55:25 -0700
committerKhem Raj <raj.khem@gmail.com>2022-04-24 17:50:57 -0700
commit10461fab44ebdcee5e06c2eeb943b4d08f817965 (patch)
tree858cbf8d1c3e8a53cfb8adb424cefc9389e2fde0 /classes
parent07c1cf8e19afa529299dc3aed5c14cb42c0b8d8b (diff)
downloadmeta-clang-10461fab44ebdcee5e06c2eeb943b4d08f817965.tar.gz
clang: Enable altivec again for ppc32
This was disabled for musl issue which is not related to altivec Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'classes')
-rw-r--r--classes/clang.bbclass4
1 files changed, 0 insertions, 4 deletions
diff --git a/classes/clang.bbclass b/classes/clang.bbclass
index d91a32a..f6570d6 100644
--- a/classes/clang.bbclass
+++ b/classes/clang.bbclass
@@ -36,10 +36,6 @@ LDFLAGS:append:toolchain-clang = " ${COMPILER_RT} ${LIBCPLUSPLUS}"
36TUNE_CCARGS:remove:toolchain-clang = "-meb" 36TUNE_CCARGS:remove:toolchain-clang = "-meb"
37TUNE_CCARGS:remove:toolchain-clang = "-mel" 37TUNE_CCARGS:remove:toolchain-clang = "-mel"
38TUNE_CCARGS:append:toolchain-clang = "${@bb.utils.contains("TUNE_FEATURES", "bigendian", " -mbig-endian", " -mlittle-endian", d)}" 38TUNE_CCARGS:append:toolchain-clang = "${@bb.utils.contains("TUNE_FEATURES", "bigendian", " -mbig-endian", " -mlittle-endian", d)}"
39# Qemu uses 7400 but fails to emulate VSX/altivec instrs e.g. xor and fails with illegal instructions especially on musl/strspn.c
40# Workaround the qemu limitation by disable altivec in code generation, gcc does not use altivec, so code generated with clang is
41# superior but sadly qemu starts to puke :(, maybe it will work ok on real hardware !!
42TUNE_CCARGS:append:toolchain-clang = "${@bb.utils.contains("TUNE_FEATURES", "ppc7400", " -mno-altivec", "", d)}"
43 39
44# Clang does not yet support big.LITTLE performance tunes, so use the LITTLE for tunes 40# Clang does not yet support big.LITTLE performance tunes, so use the LITTLE for tunes
45TUNE_CCARGS:remove:toolchain-clang = "-mcpu=cortex-a57.cortex-a53 -mcpu=cortex-a72.cortex-a53 -mcpu=cortex-a15.cortex-a7 -mcpu=cortex-a17.cortex-a7 -mcpu=cortex-a72.cortex-a35 -mcpu=cortex-a73.cortex-a53 -mcpu=cortex-a75.cortex-a55 -mcpu=cortex-a76.cortex-a55" 41TUNE_CCARGS:remove:toolchain-clang = "-mcpu=cortex-a57.cortex-a53 -mcpu=cortex-a72.cortex-a53 -mcpu=cortex-a15.cortex-a7 -mcpu=cortex-a17.cortex-a7 -mcpu=cortex-a72.cortex-a35 -mcpu=cortex-a73.cortex-a53 -mcpu=cortex-a75.cortex-a55 -mcpu=cortex-a76.cortex-a55"