[Mono-devel-list] Patch for FP x86 local registry allocator

Torstensson, Patrik 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.

Cheers,
 Patrik Torstensson

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fp.x86.diff.txt
Url: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20031222/2c02a2e7/attachment.txt 


More information about the Mono-devel-list mailing list