[AArch64] Update hwcap string for fp16fml in aarch64-option-extensions.def
diff mbox series

Message ID f4e59fe8-647f-fe44-da32-e5d890503d2a@arm.com
State New
Headers show
  • [AArch64] Update hwcap string for fp16fml in aarch64-option-extensions.def
Related show

Commit Message

Stam Markianos-Wright Sept. 10, 2019, 12:34 p.m. UTC
Hi all,

This is a minor patch that fixes the entry for the fp16fml feature in 
GCC's aarch64-option-extensions.def.

As can be seen in the Linux sources here 
the correct string is "asimdfhm", not "asimdfml".

Cross-compiled and tested on aarch64-none-linux-gnu.

Is this ok for trunk?

Also, I don't have commit rights, so could someone commit it on my behalf?

Stam Markianos-Wright

The diff is:

      Disabling "sve" disables "sve", "sve2", "sve2-aes", "sve2-sha3", 


2019-09-09  Stamatis Markianos-Wright <stam.markianos-wright@arm.com>

      * config/aarch64/aarch64-option-extensions.def: Updated hwcap 
string for fp16fml.

diff mbox series

diff --git a/gcc/config/aarch64/aarch64-option-extensions.def b/gcc/config/aarch64/aarch64-option-extensions.def
index 9919edd43d0..60e8f28fff5 100644
--- a/gcc/config/aarch64/aarch64-option-extensions.def
+++ b/gcc/config/aarch64/aarch64-option-extensions.def
@@ -135,7 +135,7 @@  AARCH64_OPT_EXTENSION("sm4", AARCH64_FL_SM4, AARCH64_FL_SIMD, \
 /* Enabling "fp16fml" also enables "fp" and "fp16".
    Disabling "fp16fml" just disables "fp16fml".  */
-		      AARCH64_FL_FP | AARCH64_FL_F16, 0, false, "asimdfml")
+		      AARCH64_FL_FP | AARCH64_FL_F16, 0, false, "asimdfhm")
 /* Enabling "sve" also enables "fp16", "fp" and "simd".
    Disabling "sve" disables "sve", "sve2", "sve2-aes", "sve2-sha3", "sve2-sm4"