From: H.J. Lu Date: Thu, 28 Feb 2019 14:24:52 +0000 (+0000) Subject: i386: Identify Westmere from PCLMUL X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0c0c7049a0b1424d3f4b7a18bbe90190f99d704b;p=gcc.git i386: Identify Westmere from PCLMUL Since AES has been removed from Westmere in GCC 9, we should identify Westmere from PCLMUL, instead of AES. PR target/89455 * config/i386/i386.c (get_builtin_code_for_version): Identify Westmere from PCLMUL, instead of AES. From-SVN: r269281 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 34c3bbdae2c..2f23ded84f4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2019-02-28 H.J. Lu + + PR target/89455 + * config/i386/i386.c (get_builtin_code_for_version): Identify + Westmere from PCLMUL, instead of AES. + 2019-02-28 Jakub Jelinek PR target/89434 diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index b8357a7db5d..c8f9957163b 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -31992,10 +31992,10 @@ get_builtin_code_for_version (tree decl, tree *predicate_list) priority = P_PROC_SSSE3; break; case PROCESSOR_NEHALEM: - if (new_target->x_ix86_isa_flags & OPTION_MASK_ISA_AES) + if (new_target->x_ix86_isa_flags & OPTION_MASK_ISA_PCLMUL) { arg_str = "westmere"; - priority = P_AES; + priority = P_PCLMUL; } else {