re PR target/70858 (__builtin_ia32_bextr_u64 ICE with '-m32 -march=core-avx2')
authorJakub Jelinek <jakub@redhat.com>
Thu, 28 Apr 2016 19:33:34 +0000 (21:33 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 28 Apr 2016 19:33:34 +0000 (21:33 +0200)
commit6181bc30ab7b986f2de6119fc846cf0d58d3328a
tree091b995c448754890f6c12fce1442adbff0fba95
parent77dbb21488422bbd30dbcfcaf34f3c9135f7732f
re PR target/70858 (__builtin_ia32_bextr_u64 ICE with '-m32 -march=core-avx2')

PR target/70858
* config/i386/i386.c (bdesc_special_args): Add | OPTION_MASK_ISA_64BIT
to __builtin_ia32_lwpval64 and __builtin_ia32_lwpins64.
(bdesc_args): Add | OPTION_MASK_ISA_64BIT to __builtin_ia32_bextr_u64,
__builtin_ia32_bextri_u64, __builtin_ia32_bzhi_di,
__builtin_ia32_pdep_di and __builtin_ia32_pext_di.

* gcc.target/i386/pr70858.c: New test.

From-SVN: r235607
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr70858.c [new file with mode: 0644]