From: ktkachov Date: Tue, 24 Sep 2019 13:31:04 +0000 (+0000) Subject: [GCC][PATCH][AArch64] Update hwcap string for fp16fml in aarch64-option-extensions.def X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6e9d0fd9421c55a2674de74456e3c143a2efdd00;p=thirdparty%2Fgcc.git [GCC][PATCH][AArch64] Update hwcap string for fp16fml in aarch64-option-extensions.def 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 https://github.com/torvalds/linux/blob/master/arch/arm64/kernel/cpuinfo.c#L69 the correct string is "asimdfhm", not "asimdfml". Cross-compiled and tested on aarch64-none-linux-gnu. 2019-09-24 Stamatis Markianos-Wright * config/aarch64/aarch64-option-extensions.def (fp16fml): Update hwcap string for fp16fml. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@276097 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ec00174d26dd..0f8c0b0baa5e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2019-09-24 Stamatis Markianos-Wright + + * config/aarch64/aarch64-option-extensions.def (fp16fml): + Update hwcap string for fp16fml. + 2019-09-24 Jakub Jelinek PR middle-end/91866 diff --git a/gcc/config/aarch64/aarch64-option-extensions.def b/gcc/config/aarch64/aarch64-option-extensions.def index de91550a53d8..d3ae1b2431bb 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_OPT_EXTENSION("fp16fml", AARCH64_FL_F16FML, \ - 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"