[llvm] r331167 - [X86] Fix typo in skylake-avx512 model for PMAXSD/PMINSD instructions

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 30 03:46:35 PDT 2018


Author: rksimon
Date: Mon Apr 30 03:46:35 2018
New Revision: 331167

URL: http://llvm.org/viewvc/llvm-project?rev=331167&view=rev
Log:
[X86] Fix typo in skylake-avx512 model for PMAXSD/PMINSD instructions

The PMAXSD/PMINSD instregexs had been written as PMAX(C?)SD - looks like this was a search+replace error when matching float MAXSD/MINSD commutative instructions.

Modified:
    llvm/trunk/lib/Target/X86/X86SchedSkylakeServer.td

Modified: llvm/trunk/lib/Target/X86/X86SchedSkylakeServer.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86SchedSkylakeServer.td?rev=331167&r1=331166&r2=331167&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86SchedSkylakeServer.td (original)
+++ llvm/trunk/lib/Target/X86/X86SchedSkylakeServer.td Mon Apr 30 03:46:35 2018
@@ -529,11 +529,11 @@ def: InstRW<[SKXWriteResGroup5], (instre
                                             "VPMAXSBZ256rr",
                                             "VPMAXSBZrr",
                                             "(V?)PMAXSBrr",
-                                            "VPMAX(C?)SDYrr",
-                                            "VPMAX(C?)SDZ128rr",
-                                            "VPMAX(C?)SDZ256rr",
-                                            "VPMAX(C?)SDZrr",
-                                            "(V?)PMAX(C?)SDrr",
+                                            "VPMAXSDYrr",
+                                            "VPMAXSDZ128rr",
+                                            "VPMAXSDZ256rr",
+                                            "VPMAXSDZrr",
+                                            "(V?)PMAXSDrr",
                                             "VPMAXSWYrr",
                                             "VPMAXSWZ128rr",
                                             "VPMAXSWZ256rr",
@@ -559,11 +559,11 @@ def: InstRW<[SKXWriteResGroup5], (instre
                                             "VPMINSBZ256rr",
                                             "VPMINSBZrr",
                                             "(V?)PMINSBrr",
-                                            "VPMIN(C?)SDYrr",
-                                            "VPMIN(C?)SDZ128rr",
-                                            "VPMIN(C?)SDZ256rr",
-                                            "VPMIN(C?)SDZrr",
-                                            "(V?)PMIN(C?)SDrr",
+                                            "VPMINSDYrr",
+                                            "VPMINSDZ128rr",
+                                            "VPMINSDZ256rr",
+                                            "VPMINSDZrr",
+                                            "(V?)PMINSDrr",
                                             "VPMINSWYrr",
                                             "VPMINSWZ128rr",
                                             "VPMINSWZ256rr",
@@ -2332,8 +2332,8 @@ def: InstRW<[SKXWriteResGroup94], (instr
                                              "(V?)PCMPGTWrm",
                                              "VPMAXSBZ128rm(b?)",
                                              "(V?)PMAXSBrm",
-                                             "VPMAX(C?)SDZ128rm(b?)",
-                                             "(V?)PMAX(C?)SDrm",
+                                             "VPMAXSDZ128rm(b?)",
+                                             "(V?)PMAXSDrm",
                                              "VPMAXSWZ128rm(b?)",
                                              "(V?)PMAXSWrm",
                                              "VPMAXUBZ128rm(b?)",
@@ -2344,8 +2344,8 @@ def: InstRW<[SKXWriteResGroup94], (instr
                                              "(V?)PMAXUWrm",
                                              "VPMINSBZ128rm(b?)",
                                              "(V?)PMINSBrm",
-                                             "VPMIN(C?)SDZ128rm(b?)",
-                                             "(V?)PMIN(C?)SDrm",
+                                             "VPMINSDZ128rm(b?)",
+                                             "(V?)PMINSDrm",
                                              "VPMINSWZ128rm(b?)",
                                              "(V?)PMINSWrm",
                                              "VPMINUBZ128rm(b?)",
@@ -2831,9 +2831,9 @@ def: InstRW<[SKXWriteResGroup120], (inst
                                               "VPMAXSBYrm",
                                               "VPMAXSBZ256rm(b?)",
                                               "VPMAXSBZrm(b?)",
-                                              "VPMAX(C?)SDYrm",
-                                              "VPMAX(C?)SDZ256rm(b?)",
-                                              "VPMAX(C?)SDZrm(b?)",
+                                              "VPMAXSDYrm",
+                                              "VPMAXSDZ256rm(b?)",
+                                              "VPMAXSDZrm(b?)",
                                               "VPMAXSWYrm",
                                               "VPMAXSWZ256rm(b?)",
                                               "VPMAXSWZrm(b?)",
@@ -2849,9 +2849,9 @@ def: InstRW<[SKXWriteResGroup120], (inst
                                               "VPMINSBYrm",
                                               "VPMINSBZ256rm(b?)",
                                               "VPMINSBZrm(b?)",
-                                              "VPMIN(C?)SDYrm",
-                                              "VPMIN(C?)SDZ256rm(b?)",
-                                              "VPMIN(C?)SDZrm(b?)",
+                                              "VPMINSDYrm",
+                                              "VPMINSDZ256rm(b?)",
+                                              "VPMINSDZrm(b?)",
                                               "VPMINSWYrm",
                                               "VPMINSWZ256rm(b?)",
                                               "VPMINSWZrm(b?)",




More information about the llvm-commits mailing list