In case we want to have an unsafe register allocator that allocated FP0 to FP6 to include FP7 as well, where in the code should we add this?<br><br><br><br>--Aparna <br><br><div class="gmail_quote">On Wed, May 25, 2011 at 3:47 PM, Jakob Stoklund Olesen <span dir="ltr"><<a href="mailto:stoklund@2pi.dk">stoklund@2pi.dk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im"><br>
On May 25, 2011, at 12:08 PM, aparna kotha wrote:<br>
<br>
> Right. But there are 8 registers on the floating point stack from ST0 to ST7 and I think llvm is only using ST0 to ST6 in some code fragments. Could this be because of the assumption that X86::FP registers run from X86::FP0 to X86:FP6 ?<br>

<br>
</div>Yes. My guess it that the code converting from FP to ST registers sometimes needs the extra stack slot.<br>
<font color="#888888"><br>
/jakob<br>
<br>
</font></blockquote></div><br>