[PATCH] fix ix86 prefetch support with -Os

Janis Johnson janis187@us.ibm.com
Tue Jan 15 21:10:00 GMT 2002


On Tue, Jan 15, 2002 at 07:59:27PM -0800, Richard Henderson wrote:
> On Tue, Jan 15, 2002 at 12:44:44PM -0800, Janis Johnson wrote:
> > This patch allows -fprefetch-loop-arrays to work with -Os ...
> 
> -Os should never generate prefetch instrctions.  They only
> add to the size of the executable.

-Os doesn't turn on prefetch instructions, but shouldn't a user be able
to specify both -Os and -fprefetch-loop-arrays?  Are there other
optimizations that cannot be requested along with -Os?

Janis



More information about the Gcc-patches mailing list