[llvm-commits] [llvm] r103731 - /llvm/trunk/lib/Target/ARM/ARMRegisterInfo.td
Evan Cheng
evan.cheng at apple.com
Thu May 13 13:02:08 PDT 2010
Author: evancheng
Date: Thu May 13 15:02:08 2010
New Revision: 103731
URL: http://llvm.org/viewvc/llvm-project?rev=103731&view=rev
Log:
Add comment about the pseudo registers QQ, each of which is a pair of Q registers.
Modified:
llvm/trunk/lib/Target/ARM/ARMRegisterInfo.td
Modified: llvm/trunk/lib/Target/ARM/ARMRegisterInfo.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMRegisterInfo.td?rev=103731&r1=103730&r2=103731&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMRegisterInfo.td (original)
+++ llvm/trunk/lib/Target/ARM/ARMRegisterInfo.td Thu May 13 15:02:08 2010
@@ -108,6 +108,11 @@
// Pseudo 256-bit registers to represent pairs of Q registers. These should
// never be present in the emitted code.
+// These are used for NEON load / store instructions, e.g. vld4, vst3.
+// NOTE: It's possible to define more QQ registers since technical the
+// starting D register number doesn't have to be multiple of 4. e.g.
+// D1, D2, D3, D4 would be a legal quad. But that would make the sub-register
+// stuffs very messy.
def QQ0 : ARMReg<0, "qq0", [Q0, Q1]>;
def QQ1 : ARMReg<1, "qq1", [Q2, Q3]>;
def QQ2 : ARMReg<2, "qq2", [Q4, Q5]>;
More information about the llvm-commits
mailing list