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: [PATCH,RFC] Disallow reordering of x87 insns while scheduling


On Sat, Apr 16, 2005 at 08:58:46PM -0600, Roger Sayle wrote:
> This is clearly a problem for code size, so perhaps the patch below
> should be restricted to -Os.  However, on many members of the IA-32
> family, there's also performance consequences for these fxch insns.

Are there?  AFAIK, from Pentium 1 on they are pretty much free.

> Thoughts?

I think you're severely penalizing Pentium 1, which is *not* 
out-of-order, and which *does* rely on the compiler to interleave
fp operations via fxch in order to keep the pipelines full.


r~


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