[LLVMdev] X86RegisterInfo.td

Chris Lattner sabre at nondot.org
Sat Feb 24 22:41:49 PST 2007


On Sat, 24 Feb 2007, Bill Wendling wrote:
> In the X86RegisterInfo.td file, RST is defined like this:
>
> // Floating point stack registers (these are not allocatable by the
> // register allocator - the floating point stackifier is responsible
> // for transforming FPn allocations to STn registers)
> def RST : RegisterClass<"X86", [f64], 32,

> Is the "begin()" in there correct? Or should it maybe be "end()"?

Yep, it is right.  The FP0-x registers are allocatable for the FP stack, 
the RST registers are not.

-Chris

-- 
http://nondot.org/sabre/
http://llvm.org/



More information about the llvm-dev mailing list