This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ix86 prefetch support updated (still partly perlimitary?)


> On Thu, Dec 13, 2001 at 10:00:28PM +0100, Jan Hubicka wrote:
> > 
> > Hi,
> > This adds the prefetch support at the top of configury bits.  It appears
> > to work, but I guess I need to test it more seriously tommorow.
> > 
> > Bootstrapped/regtested i386
> > 
> > Thu Dec 13 21:57:13 CET 2001  Janis Jognson <janis187@us.ibm.com>
> > 			      Jan Hubicka  <jh@suse.cz>
> > 
> > 	* config/i386/i386.h (struct processor_costs): Add new members
> > 	  prefetch_block and simultaneous_prefetches.
> > 	  (PREFETCH_BLOCK, SIMULTANEOUS_PREFETCHES): New.
> > 	* config/i386/i386.c (processor_costs structs): Add values for
> > 	  prefetch_block and simultaneous_prefetches.
> > 	* config/i386/i386.md (unspec values): Remove values for prefetch
> > 	  operations, which now use the PREFETCH rtx code.
> > 	  (prefetch_sse, prefetch_3dnow, prefetchw): Combine to use new
> > 	  unified prefetch support.
> 
> Honza, I found a couple of little problems with this, including that it
> wasn't generating prefetch instructions for -march=pentium[34].  The
> changes to i386.[ch] here apply to your changes and I assume you can
> incorporate them into your patch if they look OK to you.  There's a new
They look OK. Thanks for caring this.
As mentioned, I was in the time pressure yesterday and I wanted to send something
for discussion.  I will prepare proper patch today.

Honza
> warning that I'll let you handle:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]