re PR target/77270 (Flag -mprftchw is shared with 3dnow for -march=k8)
authorUros Bizjak <ubizjak@gmail.com>
Fri, 19 Aug 2016 18:14:03 +0000 (20:14 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Fri, 19 Aug 2016 18:14:03 +0000 (20:14 +0200)
commit9db4c25d2c8ae0138c8a538b2723d399834ab049
tree22a6ea45a60e61fe64d7b1a7ec746616d6ed979e
parentc65699efcce48d68ef57ab3ce7fc5420fac5cbf9
re PR target/77270 (Flag -mprftchw is shared with 3dnow for -march=k8)

PR target/77270
* config/i386/i386.c (ix86_option_override_internal): Remove
PTA_PRFCHW from entries that also have PTA_3DNOW flag.
Enable SSE prefetch also for TARGET_PREFETCHWT1.
Do not try to enable TARGET_PRFCHW ISA flag here.
* config/i386/i386.md (prefetch): Enable also for TARGET_3DNOW.
Rewrite expander function body.
(*prefetch_3dnow): Enable for TARGET_3DNOW and TARGET_PREFETCHWT1.

From-SVN: r239626
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/config/i386/i386.md