[PATCH] D13284: [ PowerPC ] Remove FeatureMFOCRF from the e500mc ProcessorModel.

Tom Rix via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 30 05:35:18 PDT 2015


trixirt created this revision.
trixirt added a reviewer: hfinkel.
trixirt added a subscriber: llvm-commits.

On the e500, mfocrf is an illegal instruction.
Removing the FeatureMFOCRF from the ProcessorModel, disables it's default use for -mcpu=e500mc.


http://reviews.llvm.org/D13284

Files:
  lib/Target/PowerPC/PPC.td

Index: lib/Target/PowerPC/PPC.td
===================================================================
--- lib/Target/PowerPC/PPC.td
+++ lib/Target/PowerPC/PPC.td
@@ -309,7 +309,7 @@
                    Feature64Bit /*, Feature64BitRegs */,
                    FeatureMFTB, DeprecatedDST]>;
 def : ProcessorModel<"e500mc", PPCE500mcModel,
-                  [DirectiveE500mc, FeatureMFOCRF,
+                  [DirectiveE500mc,
                    FeatureSTFIWX, FeatureICBT, FeatureBookE, 
                    FeatureISEL, FeatureMFTB]>;
 def : ProcessorModel<"e5500", PPCE5500Model,


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13284.36087.patch
Type: text/x-patch
Size: 583 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150930/810c0f80/attachment.bin>


More information about the llvm-commits mailing list