From: Andre Vieira Date: Tue, 22 Mar 2022 11:44:06 +0000 (+0000) Subject: aarch64: Enable FP16 feature by default for Armv9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0bae246acc758d4b11dd575b05207fd69169109b;p=test_jj.git aarch64: Enable FP16 feature by default for Armv9 This patch adds the feature bit for FP16 to the feature set for Armv9 since Armv9 requires SVE to be implemented and SVE requires FP16 to be implemented. 2022-03-22 Andre Vieira * config/aarch64/aarch64.h (AARCH64_FL_FOR_ARCH9): Add FP16 feature bit. --- diff --git a/gcc/config/aarch64/aarch64.h b/gcc/config/aarch64/aarch64.h index 27ba4f4..efa46ac 100644 --- a/gcc/config/aarch64/aarch64.h +++ b/gcc/config/aarch64/aarch64.h @@ -278,7 +278,8 @@ extern unsigned aarch64_architecture_version; #define AARCH64_FL_FOR_ARCH8_R \ (AARCH64_FL_FOR_ARCH8_4 | AARCH64_FL_V8_R) #define AARCH64_FL_FOR_ARCH9 \ - (AARCH64_FL_FOR_ARCH8_5 | AARCH64_FL_SVE | AARCH64_FL_SVE2 | AARCH64_FL_V9) + (AARCH64_FL_FOR_ARCH8_5 | AARCH64_FL_SVE | AARCH64_FL_SVE2 | AARCH64_FL_V9 \ + | AARCH64_FL_F16) /* Macros to test ISA flags. */