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: "nightstrike at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 20 Aug 2016 14:12:38 +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 #5 from nightstrike <nightstrike at gmail dot com> ---
(In reply to Uroš Bizjak from comment #2)
> The problem is in the fact that for -march=native, the driver will pass
> -mno-prfchw, since the relevant bit is not present in cpuid flags.
I'm a little confused. -march=native gets it right. It's -march=k8 that gets
it wrong. Does your patch make -march-k8 do the right thing now?