diff --git a/llvm/lib/Target/X86/X86ScheduleZnver1.td b/llvm/lib/Target/X86/X86ScheduleZnver1.td index 7ddbb2762e51..2199b56d0e0b 100644 --- a/llvm/lib/Target/X86/X86ScheduleZnver1.td +++ b/llvm/lib/Target/X86/X86ScheduleZnver1.td @@ -367,8 +367,7 @@ def : InstRW<[WriteALULd], // INC DEC NOT NEG. // m. def : InstRW<[WriteALULd], - (instregex "(INC|DEC|NOT|NEG)(8|16|32|64)m", - "(INC|DEC)64(16|32)m")>; + (instregex "(INC|DEC|NOT|NEG)(8|16|32|64)m")>; // MUL IMUL. // r16. @@ -499,7 +498,7 @@ def ZnWriteRET : SchedWriteRes<[ZnALU03]> { let NumMicroOps = 2; } def : InstRW<[ZnWriteRET], (instregex "RET(L|Q|W)", "LRET(L|Q|W)", - "IRET(D|Q)", "RETF")>; + "IRET(16|32|64)")>; //-- Logic instructions --// @@ -913,7 +912,7 @@ def : InstRW<[ZnWriteFPU2], (instregex "MMX_MOVD64rr", "MMX_MOVD64to64rr", def : InstRW<[ZnWriteToALU2], (instregex "VMOVPQIto64rr")>; // (x)mm <- r64. -def : InstRW<[ZnWriteFPU2], (instregex "VMOV64toPQIrr", "VMOVZQI2PQIrr")>; +def : InstRW<[ZnWriteFPU2], (instregex "VMOV64toPQIrr")>; // (x)mm <- (x)mm. def : InstRW<[ZnWriteFPU], (instregex "MMX_MOVQ64rr")>;