From 65692c809efa46337bf80f12b1795e785a6e7207 Mon Sep 17 00:00:00 2001 From: Reed Kotler Date: Wed, 20 Feb 2013 05:45:15 +0000 Subject: Expand pseudos/macros: SltCCRxRy16, SltiCCRxImmX16, SltiuCCRxImmX16, SltuCCRxRy16 $T8 shows up as register $24 when emitted from C++ code so we had to change some tests that were already there for this functionality. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175593 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/Mips/Mips16InstrInfo.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'lib/Target/Mips/Mips16InstrInfo.h') diff --git a/lib/Target/Mips/Mips16InstrInfo.h b/lib/Target/Mips/Mips16InstrInfo.h index 2699a1c39e..0048fff5e6 100644 --- a/lib/Target/Mips/Mips16InstrInfo.h +++ b/lib/Target/Mips/Mips16InstrInfo.h @@ -123,6 +123,20 @@ private: MachineBasicBlock &MBB, MachineBasicBlock::iterator I, unsigned BtOpc, unsigned CmpiOpc, unsigned CmpiXOpc) const; + void ExpandFEXT_CCRX16_ins( + MachineBasicBlock &MBB, MachineBasicBlock::iterator I, + unsigned SltOpc) const; + + void ExpandFEXT_CCRXI16_ins( + MachineBasicBlock &MBB, MachineBasicBlock::iterator I, + unsigned SltiOpc, unsigned SltiXOpc) const; + + static unsigned + whichOp8_or_16uimm (unsigned shortOp, unsigned longOp, int64_t Imm); + + static unsigned + whichOp8u_or_16simm (unsigned shortOp, unsigned longOp, int64_t Imm); + }; } -- cgit v1.2.3