diff options
author | Jim Grosbach <grosbach@apple.com> | 2011-07-28 19:46:12 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2011-07-28 19:46:12 +0000 |
commit | c29769b0e875013a594f47305a1e4ea3c19bcb75 (patch) | |
tree | 2a661ebf20b644e0e04937d61a20da3c74bdad2e /lib | |
parent | ad759c5a073dbd66d3297347c64da3ab148a92a4 (diff) | |
download | external_llvm-c29769b0e875013a594f47305a1e4ea3c19bcb75.zip external_llvm-c29769b0e875013a594f47305a1e4ea3c19bcb75.tar.gz external_llvm-c29769b0e875013a594f47305a1e4ea3c19bcb75.tar.bz2 |
Add fixme.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136375 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Target/ARM/ARMInstrInfo.td | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/Target/ARM/ARMInstrInfo.td b/lib/Target/ARM/ARMInstrInfo.td index c53cd94..e756616 100644 --- a/lib/Target/ARM/ARMInstrInfo.td +++ b/lib/Target/ARM/ARMInstrInfo.td @@ -2862,6 +2862,10 @@ defm BIC : AsI1_bin_irs<0b1110, "bic", IIC_iBITi, IIC_iBITr, IIC_iBITsr, BinOpFrag<(and node:$LHS, (not node:$RHS))>, "BIC">; +// FIXME: bf_inv_mask_imm should be two operands, the lsb and the msb, just +// like in the actual instruction encoding. The complexity of mapping the mask +// to the lsb/msb pair should be handled by ISel, not encapsulated in the +// instruction description. def BFC : I<(outs GPR:$Rd), (ins GPR:$src, bf_inv_mask_imm:$imm), AddrMode1, 4, IndexModeNone, DPFrm, IIC_iUNAsi, "bfc", "\t$Rd, $imm", "$src = $Rd", @@ -2873,7 +2877,7 @@ def BFC : I<(outs GPR:$Rd), (ins GPR:$src, bf_inv_mask_imm:$imm), let Inst{6-0} = 0b0011111; let Inst{15-12} = Rd; let Inst{11-7} = imm{4-0}; // lsb - let Inst{20-16} = imm{9-5}; // width + let Inst{20-16} = imm{9-5}; // msb } // A8.6.18 BFI - Bitfield insert (Encoding A1) |