[llvm-commits] [llvm] r78701 - in /llvm/trunk/lib/Target/ARM: ARMBaseInstrInfo.cpp ARMInstrThumb2.td
Chris Lattner
clattner at apple.com
Thu Aug 13 17:18:54 PDT 2009
On Aug 13, 2009, at 8:59 AM, Sandeep Patel wrote:
> On Tue, Aug 11, 2009 at 7:42 PM, Jim Grosbach<grosbach at apple.com>
> wrote:
>> Author: grosbach
>> Date: Tue Aug 11 14:42:21 2009
>> New Revision: 78701
> ...
>> =
>> =
>> =
>> =
>> =
>> =
>> =
>> =
>> =
>> =====================================================================
>> --- llvm/trunk/lib/Target/ARM/ARMInstrThumb2.td (original)
>> +++ llvm/trunk/lib/Target/ARM/ARMInstrThumb2.td Tue Aug 11 14:42:21
>> 2009
> ...
>> +let Defs =
>> + [ R0, R1, R3, R4, R5, R6, R7, R8, R9, R10, R11, R12, LR,
>> + D0, D2, D3, D4, D5, D6, D7, D8, D9, D10, D11, D12,
>> D13, D14, D15,
>> + D16, D17, D18, D19, D20, D21, D22, D23, D24, D25, D26, D27,
>> D28, D29, D30,
>> + D31 ] in {
>> + def t2Int_eh_sjlj_setjmp : Thumb2XI<(outs), (ins GPR:$src),
>> + AddrModeNone, SizeSpecial,
>> NoItinerary,
>> + "str.w sp, [$src, #+8] @ eh_setjmp
>> begin\n"
>> + "\tadr ip, 0f\n"
>> + "\torr ip, #1\n"
>> + "\tstr.w ip, [$src, #+4]\n"
>> + "\tmovs r0, #0\n"
>> + "\tb 1f\n"
>> + "0:\tmovs r0, #1 @ eh_setjmp end\n"
>> + "1:\n", "",
>> + [(set R0, (ARMeh_sjlj_setjmp GPR:
>> $src))]>;
>
> What about D1? R2?
>
> Don't you wish we had range specifiers like D0-D31 here? :)
tblgen supports list slices, see test/TableGen/ListSlices.td for
examples.
-Chris
More information about the llvm-commits
mailing list