summaryrefslogtreecommitdiff
path: root/lib/Target/PowerPC/PPC.td
diff options
context:
space:
mode:
authorHal Finkel <hfinkel@anl.gov>2013-04-03 14:40:18 +0000
committerHal Finkel <hfinkel@anl.gov>2013-04-03 14:40:18 +0000
commit110e323b619c64e63f8d7814f9ad9a455e6dbf59 (patch)
treef1e91202d9a00a359d17779231c124b6041ec519 /lib/Target/PowerPC/PPC.td
parent7d52a41e320b8b22a9dde2481df2e5157e950d79 (diff)
downloadllvm-110e323b619c64e63f8d7814f9ad9a455e6dbf59.tar.gz
llvm-110e323b619c64e63f8d7814f9ad9a455e6dbf59.tar.bz2
llvm-110e323b619c64e63f8d7814f9ad9a455e6dbf59.tar.xz
PPC: Enable FRES and FRSQRTE on the default PPC64 description
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
Diffstat (limited to 'lib/Target/PowerPC/PPC.td')
-rw-r--r--lib/Target/PowerPC/PPC.td3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Target/PowerPC/PPC.td b/lib/Target/PowerPC/PPC.td
index ac1b7133a3..d6a3ceb18f 100644
--- a/lib/Target/PowerPC/PPC.td
+++ b/lib/Target/PowerPC/PPC.td
@@ -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 */]>;