|Convert pseudo register-based assembly to stack-based assembly email@example.com (2007-12-12)|
|Re: Convert pseudo register-based assembly to stack-based assembly firstname.lastname@example.org (Michael Beck) (2008-01-06)|
|From:||Michael Beck <email@example.com>|
|Date:||Sun, 6 Jan 2008 18:02:12 -0500 (EST)|
|Organization:||University of Karlsruhe, Germany|
|Posted-Date:||06 Jan 2008 18:02:12 EST|
> Now I want to optimize that code by using the fpu stack. I've thought
> of using the register allocation with pseudo fpu instructions and
> pseudo fpu registers. After the register allocation, I would convert
> pseudo-instruction into real fpu stack, allocating stack slot to
> register. LLVM is using such a technique to allocate stack slot. But I
> can't find any information on this process. Does anybody have
> experience on this or have information about it?
Search for this:
Allen Leung and Lal George:
Some notes on the new MLRISC X86 floating point code generator.
Note that although this paper assumes only 7 pseudo registers, it also works
Moreover, the x87 simulator in libFirm (www.sf.net/project/libfirm) should
have some hopefully understandable comments regarding this technique :-).
Return to the
Search the comp.compilers archives again.