diff options
author | Zoran Jovanovic <zoran.jovanovic@imgtec.com> | 2013-12-25 10:14:07 +0000 |
---|---|---|
committer | Zoran Jovanovic <zoran.jovanovic@imgtec.com> | 2013-12-25 10:14:07 +0000 |
commit | 7dc193619e1cc49ecd7e04a365f0456454087de9 (patch) | |
tree | 829cb858158c92eb0a4da11b751908329c10219e /lib/Target/Mips/MicroMipsInstrInfo.td | |
parent | ae3597c14181f104cc71208647c90c27222865ba (diff) | |
download | llvm-7dc193619e1cc49ecd7e04a365f0456454087de9.tar.gz llvm-7dc193619e1cc49ecd7e04a365f0456454087de9.tar.bz2 llvm-7dc193619e1cc49ecd7e04a365f0456454087de9.tar.xz |
Support for microMIPS load effective address.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198010 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/MicroMipsInstrInfo.td')
-rw-r--r-- | lib/Target/Mips/MicroMipsInstrInfo.td | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Target/Mips/MicroMipsInstrInfo.td b/lib/Target/Mips/MicroMipsInstrInfo.td index 4f068dfe15..84cba5fb20 100644 --- a/lib/Target/Mips/MicroMipsInstrInfo.td +++ b/lib/Target/Mips/MicroMipsInstrInfo.td @@ -78,6 +78,9 @@ let DecoderNamespace = "MicroMips", Predicates = [InMicroMips] in { ADDI_FM_MM<0x1c>; def LUi_MM : MMRel, LoadUpper<"lui", GPR32Opnd, uimm16>, LUI_FM_MM; + def LEA_ADDiu_MM : MMRel, EffectiveAddress<"addiu", GPR32Opnd>, + LW_FM_MM<0xc>; + /// Arithmetic Instructions (3-Operand, R-Type) def ADDu_MM : MMRel, ArithLogicR<"addu", GPR32Opnd>, ADD_FM_MM<0, 0x150>; def SUBu_MM : MMRel, ArithLogicR<"subu", GPR32Opnd>, ADD_FM_MM<0, 0x1d0>; |