re PR target/93089 (Force mprefer-vector-width=512 in 'e' simd clones)
authorJakub Jelinek <jakub@redhat.com>
Fri, 3 Jan 2020 10:12:31 +0000 (11:12 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 3 Jan 2020 10:12:31 +0000 (11:12 +0100)
commit46e6341fc824ee10bdd4975a2841f945017609dc
tree0f654fabc913ecd6b1b82bd9e2839625d877bd76
parent5499c8628ac3ab7baa673013c7dacd4a03fbb0d6
re PR target/93089 (Force mprefer-vector-width=512 in 'e' simd clones)

PR target/93089
* config/i386/i386.opt (x_prefer_vector_width_type): Remove TargetSave
entry.
(mprefer-vector-width=): Add Save.
* config/i386/i386-options.c (ix86_target_string): Add PVW argument, print
-mprefer-vector-width= if non-zero.  Fix up -mfpmath= comment.
(ix86_debug_options, ix86_function_specific_print): Adjust
ix86_target_string callers.
(ix86_valid_target_attribute_inner_p): Handle prefer-vector-width=.
(ix86_valid_target_attribute_tree): Likewise.
* config/i386/i386-options.h (ix86_target_string): Add PVW argument.
* config/i386/i386-expand.c (ix86_expand_builtin): Adjust
ix86_target_string caller.

* gcc.target/i386/pr93089-1.c: New test.

From-SVN: r279856
gcc/ChangeLog
gcc/config/i386/i386-expand.c
gcc/config/i386/i386-options.c
gcc/config/i386/i386-options.h
gcc/config/i386/i386.opt
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr93089-1.c [new file with mode: 0644]