[LLVMdev] Floating Point Register Allocation in X86 backend
aparna kotha
kotha.aparna at gmail.com
Wed May 25 11:09:30 PDT 2011
Hi Guys,
I was working on some floating point intensive benchmarks and realize that
the floating point register allocation in llvm assumes that there are only 7
floating point registers in X86, whereas the hardware has 8.
Line number
00266 assert(Reg >= X86::FP0 && Reg <= X86::FP6 && "Expected FP register!");
of X86FloatingPoint.cpp.
Is there any reason for only counting from 0 to 6, when there are actually
8 in hardware ?
Is there an assumption somewhere else, that I am missing.
Thanks and Regards
Aparna Kotha
Graduate Student
University of Maryland, College Park
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110525/8879bee2/attachment.html>
More information about the llvm-dev
mailing list