PPC: Enable FRES and FRSQRTE on the default PPC64 description
authorHal Finkel <hfinkel@anl.gov>
Wed, 3 Apr 2013 14:40:18 +0000 (14:40 +0000)
committerHal Finkel <hfinkel@anl.gov>
Wed, 3 Apr 2013 14:40:18 +0000 (14:40 +0000)
I discussed this with Bill Schmidt on IRC, and it was decided that this is a
safe and reasonable default.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178659 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/PowerPC/PPC.td

index ac1b7133a33953411a6f0c0def400d8cb2cc754c..d6a3ceb18f29bfc54b0121a52647bd1533656362 100644 (file)
@@ -212,7 +212,8 @@ def : Processor<"pwr7", G5Itineraries,
 def : Processor<"ppc", G3Itineraries, [Directive32]>;
 def : Processor<"ppc64", G5Itineraries,
                   [Directive64, FeatureAltivec,
-                   FeatureMFOCRF, FeatureFSqrt, FeatureSTFIWX,
+                   FeatureMFOCRF, FeatureFSqrt, FeatureFRES,
+                   FeatureFRSQRTE, FeatureSTFIWX,
                    Feature64Bit /*, Feature64BitRegs */]>;