From: Simon Atanasyan Date: Tue, 18 Jun 2019 17:00:08 +0000 (+0000) Subject: [mips] Add more strict predicates to the RSQRT_S_MM and TAILCALL_MM X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a0dfa7717fba0de8701aa9916f7d6f76f60b4434;p=llvm [mips] Add more strict predicates to the RSQRT_S_MM and TAILCALL_MM This patch is one of a series of patches. The goal is to make P5600 scheduler model complete and turn on the `CompleteModel` flag. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@363703 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/Mips/MicroMipsInstrFPU.td b/lib/Target/Mips/MicroMipsInstrFPU.td index 2fdc489d0ff..5d87068ff40 100644 --- a/lib/Target/Mips/MicroMipsInstrFPU.td +++ b/lib/Target/Mips/MicroMipsInstrFPU.td @@ -264,7 +264,7 @@ let DecoderNamespace = "MicroMips" in { ROUND_W_FM_MM<0b1, 0b01001000>, ISA_MICROMIPS, FGR_64; def RSQRT_S_MM : MMRel, ABSS_FT<"rsqrt.s", FGR32Opnd, FGR32Opnd, II_RECIP_S>, - ROUND_W_FM_MM<0b0, 0b00001000>; + ROUND_W_FM_MM<0b0, 0b00001000>, ISA_MICROMIPS; def RSQRT_D32_MM : MMRel, ABSS_FT<"rsqrt.d", AFGR64Opnd, AFGR64Opnd, II_RECIP_D>, ROUND_W_FM_MM<0b1, 0b00001000>, ISA_MICROMIPS, FGR_32 { diff --git a/lib/Target/Mips/MicroMipsInstrInfo.td b/lib/Target/Mips/MicroMipsInstrInfo.td index 81ab7477afa..9b7f7b25fa9 100644 --- a/lib/Target/Mips/MicroMipsInstrInfo.td +++ b/lib/Target/Mips/MicroMipsInstrInfo.td @@ -1121,7 +1121,8 @@ let AdditionalPredicates = [NotDSP] in { ISA_MICROMIPS32_NOT_MIPS32R6; } -def TAILCALL_MM : TailCall, ISA_MIPS1_NOT_32R6_64R6; +def TAILCALL_MM : TailCall, + ISA_MICROMIPS32_NOT_MIPS32R6; def TAILCALLREG_MM : TailCallReg, ISA_MICROMIPS32_NOT_MIPS32R6;