This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/77270] Flag -mprftchw is shared with 3dnow for -march=k8
- From: "uros at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 19 Aug 2016 18:14:35 +0000
- Subject: [Bug target/77270] Flag -mprftchw is shared with 3dnow for -march=k8
- Authentication-results: sourceware.org; auth=none
- Auto-submitted: auto-generated
- References: <bug-77270-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77270
--- Comment #4 from uros at gcc dot gnu.org ---
Author: uros
Date: Fri Aug 19 18:14:03 2016
New Revision: 239626
URL: https://gcc.gnu.org/viewcvs?rev=239626&root=gcc&view=rev
Log:
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.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/i386/i386.c
trunk/gcc/config/i386/i386.md