search for: getarmregisternumb

Displaying 2 results from an estimated 2 matches for "getarmregisternumb".

2012 Mar 29
0
[LLVMdev] apparent mistake in several ports register td file ???
...um; > let Namespace = "ARM"; > let SubRegs = subregs; > // All bits of ARM registers with sub-registers are covered by > sub-registers. > let CoveredBySubRegs = 1; > } You are right, the field is not used currently. Instead, we have large switch statements like getARMRegisterNumbering(). Actually, I think it might be useful to have TableGen handle the register encoding numbering, just like it does for DWARF register numbers. /jakob -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/2012...
2012 Mar 21
4
[LLVMdev] apparent mistake in several ports register td file ???
The field Num seems to have no meaning. It is not recognized by the backend tools. It does not hurt anything but should not be there. // We have banks of 32 registers each. class MipsReg<string n> : Register<n> { field bits<5> Num; let Namespace = "Mips"; } class ARMReg<bits<4> num, string n, list<Register> subregs = []> : Register<n> {