[llvm-commits] [llvm] r96462 - /llvm/trunk/lib/Target/ARM/ARMInstrInfo.td
Evan Cheng
evan.cheng at apple.com
Wed Feb 17 10:33:21 PST 2010
PR5100
On Feb 17, 2010, at 9:45 AM, Chris Lattner wrote:
>
> On Feb 16, 2010, at 10:31 PM, Johnny Chen wrote:
>
>> Author: johnny
>> Date: Wed Feb 17 00:31:48 2010
>> New Revision: 96462
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=96462&view=rev
>> Log:
>> Added BFI for disassembly only.
>>
>> A8.6.18 BFI - Bitfield insert (Encoding A1)
>
> I'm not sure what this does, but it sounds potentially useful to add a pattern for it.
>
> -Chris
>
>>
>> Modified:
>> llvm/trunk/lib/Target/ARM/ARMInstrInfo.td
>>
>> Modified: llvm/trunk/lib/Target/ARM/ARMInstrInfo.td
>> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMInstrInfo.td?rev=96462&r1=96461&r2=96462&view=diff
>>
>> ==============================================================================
>> --- llvm/trunk/lib/Target/ARM/ARMInstrInfo.td (original)
>> +++ llvm/trunk/lib/Target/ARM/ARMInstrInfo.td Wed Feb 17 00:31:48 2010
>> @@ -1443,6 +1443,17 @@
>> let Inst{6-0} = 0b0011111;
>> }
>>
>> +// A8.6.18 BFI - Bitfield insert (Encoding A1)
>> +// Added for disassembler with the pattern field purposely left blank.
>> +def BFI : I<(outs GPR:$dst), (ins GPR:$src, bf_inv_mask_imm:$imm),
>> + AddrMode1, Size4Bytes, IndexModeNone, DPFrm, IIC_iUNAsi,
>> + "bfi", "\t$dst, $src, $imm", "",
>> + [/* For disassembly only; pattern left blank */]>,
>> + Requires<[IsARM, HasV6T2]> {
>> + let Inst{27-21} = 0b0111110;
>> + let Inst{6-4} = 0b001; // Rn: Inst{3-0} != 15
>> +}
>> +
>> def MVNr : AsI1<0b1111, (outs GPR:$dst), (ins GPR:$src), DPFrm, IIC_iMOVr,
>> "mvn", "\t$dst, $src",
>> [(set GPR:$dst, (not GPR:$src))]>, UnaryDP {
>>
>>
>> _______________________________________________
>> llvm-commits mailing list
>> llvm-commits at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
More information about the llvm-commits
mailing list