This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: preliminary patch: prefetch support for i386
- From: Richard Henderson <rth at redhat dot com>
- To: Janis Johnson <janis187 at us dot ibm dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 29 Nov 2001 13:38:40 -0800
- Subject: Re: preliminary patch: prefetch support for i386
- References: <20011129130113.A4811@us.ibm.com>
On Thu, Nov 29, 2001 at 01:01:13PM -0800, Janis Johnson wrote:
> If a specified architecture (via -march) supports data prefetch
> instructions then an additional option for extensions shouldn't
> be necessary ...
Yes, but that's where things get confusing, with P1, P1+MMX,
P2, P2+MMX, P3, P4, K6, K6+3dNow, Athlon, Athlon+SSE...
So at present we just have -mmmx/-msse/-msse2/-m3dnow to
enable the various extensions.
Suggestions for how to do it better?
r~