From e4be03be5be62e367a40437a389121ef97d6cff3 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sun, 20 Aug 2023 23:30:48 -0700 Subject: tunes: Add support for sve instructions on armv8/armv9 This helps in defining correct compiler options and configure options for glibc and overall ABI for toolchain (From OE-Core rev: 58330ce58719bd82530b1143623db7af7a85e897) (From OE-Core rev: 43c980ad688cc4df5a5e687b0f693cf46778ce64) Signed-off-by: Khem Raj Signed-off-by: Alexandre Belloni Signed-off-by: Luca Ceresoli Signed-off-by: Richard Purdie --- meta/conf/machine/include/arm/feature-arm-sve.inc | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 meta/conf/machine/include/arm/feature-arm-sve.inc (limited to 'meta') diff --git a/meta/conf/machine/include/arm/feature-arm-sve.inc b/meta/conf/machine/include/arm/feature-arm-sve.inc new file mode 100644 index 0000000000..279bf8c486 --- /dev/null +++ b/meta/conf/machine/include/arm/feature-arm-sve.inc @@ -0,0 +1,5 @@ +# Scalable Vector Extension (SVE) for: +# armv8.2-a, armv8.3-a, armv8.4-a, armv8.5-a, armv8.6-a, armv8-r, armv9a + +TUNEVALID[sve] = "Enable SVE instructions for ARMv8 and ARMv9" +TUNE_CCARGS_MARCH_OPTS .= "${@bb.utils.contains('TUNE_FEATURES', 'sve', '+sve', '', d)}" -- cgit v1.2.3-54-g00ecf