public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-7753] aarch64: Enable FP16 feature by default for Armv9
@ 2022-03-22 11:47 Andre Simoes Dias Vieira
  0 siblings, 0 replies; only message in thread
From: Andre Simoes Dias Vieira @ 2022-03-22 11:47 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:0bae246acc758d4b11dd575b05207fd69169109b

commit r12-7753-g0bae246acc758d4b11dd575b05207fd69169109b
Author: Andre Vieira <andre.simoesdiasvieira@arm.com>
Date:   Tue Mar 22 11:44:06 2022 +0000

    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  <andre.simoesdiasvieira@arm.com>
    
            * config/aarch64/aarch64.h (AARCH64_FL_FOR_ARCH9): Add FP16 feature
            bit.

Diff:
---
 gcc/config/aarch64/aarch64.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gcc/config/aarch64/aarch64.h b/gcc/config/aarch64/aarch64.h
index 27ba4f4ca3f..efa46ac0b87 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.  */


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-03-22 11:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-22 11:47 [gcc r12-7753] aarch64: Enable FP16 feature by default for Armv9 Andre Simoes Dias Vieira

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).