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: [BENCH] Improvements to popping x87 stack in reg-stack.c


Richard Henderson wrote:

"fstp r" has latency of 6, reciprocal throughput of 1, uses port 0 and execution unit mov.



Surely that value is for a store to memory, not a register to
register move....


No, this is register to register move.

FP register to m32/m64 has a latency of 7, reciprocal throughput of 2-3, uses port 0 and execution unit store.
FP reg to m80 is implemented in microcode, reciprocal throughput 8.


This data is from section 23.2 of Agner Fog's "How to optimize for the Pentium family of microprocessors". I quote it here in the hope, the data is correct.

Uros.


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