i386.c (enum ix86_builtins): Reorder enumerators...
authorJakub Jelinek <jakub@redhat.com>
Tue, 16 Aug 2016 19:27:41 +0000 (21:27 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 16 Aug 2016 19:27:41 +0000 (21:27 +0200)
commit4687d82a93265f708c72861f8cfc1c77f61bf7c9
tree74c6c7240d7425641db0ef549c936c5ebfcf1fce
parent3c5db734e071af3ea89cb9dfc0a03d89744ed455
i386.c (enum ix86_builtins): Reorder enumerators...

* config/i386/i386.c (enum ix86_builtins): Reorder enumerators, so
that builtins not mentioned in bdesc_* arrays come first, then
the ones mentioned in bdesc_* arrays in the order they appear in
the arrays in between IX86_BUILTIN__BDESC_*_FIRST and
IX86_BUILTIN__BDESC_*_LAST enumerator.
(bdesc_mpx): Fix up a comment typo.
(bdesc_multi_arg): Remove __builtin_ia32_vpcomne[bwdq] and
__builtin_ia32_vpcomneu[bwdq] builtins.
(BDESC_VERIFY, BDESC_VERIFYS): Define.
(ix86_init_mmx_sse_builtins, ix86_init_mpx_builtins): Verify
enum ix86_builtins ordering.
(ix86_expand_builtin): Use enum ix86_builtins ordering assumption
for direct bdesc_* array member access instead of searching all the
arrays until an fcode match is found.

From-SVN: r239512
gcc/ChangeLog
gcc/config/i386/i386.c