[Mono-devel-list] Patch for FP x86 local registry allocator
patrik.torstensson at intel.com
Mon Dec 22 10:55:06 EST 2003
This patch solves bug 49012 by tracking the floating point stack and
spilling/loading when needed.
The floating point tracking is implemented in the liveness info phase
(forward pass) and is just implemented as a simple stack, setting a flag
in RegTrack to spill/load and/or spill before load. This information is
then used in the reversed phase to inject load/store fp operations to
maintain the stack.
This patch is not producing the best possible code, but it's a first
step. I will probably add a few peephole optmizations to optmized the
emited code from the fp reg allocator.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the Mono-devel-list