Commit 0c0c7049 by H.J. Lu Committed by H.J. Lu

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
parent 8bd32653
2019-02-28 H.J. Lu <hongjiu.lu@intel.com>
PR target/89455
* config/i386/i386.c (get_builtin_code_for_version): Identify
Westmere from PCLMUL, instead of AES.
2019-02-28 Jakub Jelinek <jakub@redhat.com> 2019-02-28 Jakub Jelinek <jakub@redhat.com>
PR target/89434 PR target/89434
......
...@@ -31992,10 +31992,10 @@ get_builtin_code_for_version (tree decl, tree *predicate_list) ...@@ -31992,10 +31992,10 @@ get_builtin_code_for_version (tree decl, tree *predicate_list)
priority = P_PROC_SSSE3; priority = P_PROC_SSSE3;
break; break;
case PROCESSOR_NEHALEM: 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"; arg_str = "westmere";
priority = P_AES; priority = P_PCLMUL;
} }
else else
{ {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment