[MLton] Shortening dependency chains in the x86 codegen
Wesley W. Terpstra
wesley at terpstra.ca
Mon Jan 8 17:49:02 PST 2007
On Jan 7, 2007, at 5:57 PM, Vesa Karvonen wrote:
> IOW, the idea is to systematically, after a register-to-register copy,
> swap the roles of the registers, so that the target of the copy
> isn't the
> target (or source) of the subsequent op.
I think this is a pretty good idea. I have no idea how to implement
it, though. I imagine it's in the x86 codegen. It might not always be
the case that people operate on the copy first, but I think you're
right that heuristically speaking this is more common.
More information about the MLton
mailing list