From 10461fab44ebdcee5e06c2eeb943b4d08f817965 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sun, 24 Apr 2022 10:55:25 -0700 Subject: clang: Enable altivec again for ppc32 This was disabled for musl issue which is not related to altivec Signed-off-by: Khem Raj --- classes/clang.bbclass | 4 ---- 1 file changed, 4 deletions(-) (limited to 'classes') 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}" TUNE_CCARGS:remove:toolchain-clang = "-meb" TUNE_CCARGS:remove:toolchain-clang = "-mel" TUNE_CCARGS:append:toolchain-clang = "${@bb.utils.contains("TUNE_FEATURES", "bigendian", " -mbig-endian", " -mlittle-endian", d)}" -# Qemu uses 7400 but fails to emulate VSX/altivec instrs e.g. xor and fails with illegal instructions especially on musl/strspn.c -# Workaround the qemu limitation by disable altivec in code generation, gcc does not use altivec, so code generated with clang is -# superior but sadly qemu starts to puke :(, maybe it will work ok on real hardware !! -TUNE_CCARGS:append:toolchain-clang = "${@bb.utils.contains("TUNE_FEATURES", "ppc7400", " -mno-altivec", "", d)}" # Clang does not yet support big.LITTLE performance tunes, so use the LITTLE for tunes TUNE_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" -- cgit v1.2.3-54-g00ecf