This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Scheduling of asm()
- From: dewar at gnat dot com
- To: falk dot hueffner at student dot uni-tuebingen dot de, pkoning at equallogic dot com
- Cc: gcc at gcc dot gnu dot org
- Date: Fri, 4 Jan 2002 18:05:18 -0500 (EST)
- Subject: Re: Scheduling of asm()
<<Supplying the schedule class seems like the right answer; it may well
be that you will want to supply an instruction that the compiler would
never issue on its own and therefore has no reason to know about. An
example valid for MIPS (and for Alpha as well, if I remember
correctly) is the Prefetch instruction.
>>
I don't understand, most certainly a compiler may generate prefetch
instructions "on its own". If not a compiler then who?