All, I've been working on a new scheduler and have somehow affected register selection. My problem is that an xmm register is being used as an index expression. Specifically, addss (%xmm1,%rax,4), %xmm0 I like the idea of a floating-point index, but, like the assembler, I don't know what that means. Any suggestions on where I should look for a solution to my problem? Aran -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 194 bytes Desc: This is a digitally signed message part. URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100507/f870088b/attachment.sig>
On May 7, 2010, at 2:41 PM, Aran Clauson wrote:> All, > I've been working on a new scheduler and have > somehow affected register selection. My problem is that an > xmm register is being used as an index expression. > Specifically, > > addss (%xmm1,%rax,4), %xmm0 > > I like the idea of a floating-point index, but, like the > assembler, I don't know what that means. Any suggestions > on where I should look for a solution to my problem?What does llc -verify-machineinstrs say?