re PR target/93078 (Missing fma and round functions auto-vectorization with x86-64...
authorJakub Jelinek <jakub@redhat.com>
Sun, 29 Dec 2019 11:03:25 +0000 (12:03 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Sun, 29 Dec 2019 11:03:25 +0000 (12:03 +0100)
commit6ec067548fa994158819db0a62a8b5356d452c2c
treedc06b5ffaabf62e05636915869eaa80541497636
parentf0657516067909d688dc2424a876c1c894cbc182
re PR target/93078 (Missing fma and round functions auto-vectorization with x86-64 (sse2))

PR target/93078
* config/i386/i386-builtins.c (ix86_builtin_vectorized_function):
Remove CASE_CFN_RINT handling.
* config/i386/i386-builtin.def (IX86_BUILTIN_RINTPD,
IX86_BUILTIN_RINTPS, IX86_BUILTIN_RINTPD256, IX86_BUILTIN_RINTPS256):
Remove.
* config/i386/sse.md (nearbyint<mode>2, rint<mode>2): New expanders
with VF iterator.

* gcc.target/i386/sse4_1-pr93078.c: New test.
* gcc.target/i386/avx-pr93078.c: New test.
* gcc.target/i386/avx512f-pr93078.c: New test.

From-SVN: r279754
gcc/ChangeLog
gcc/config/i386/i386-builtin.def
gcc/config/i386/i386-builtins.c
gcc/config/i386/sse.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/avx-pr93078.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/avx512f-pr93078.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/sse4_1-pr93078.c [new file with mode: 0644]