From ea95170bf17a4cd6d927ff8efb4c2d5a9cc7b257 Mon Sep 17 00:00:00 2001 From: meissner Date: Wed, 15 Mar 2017 00:25:10 +0000 Subject: [gcc] 2017-03-14 Michael Meissner PR target/79947 * config/rs6000/rs6000.h (TARGET_FRSQRTES): Add check for -mpowerpc-gfxopt. [gcc/testsuite] 2017-03-14 Michael Meissner PR target/79947 * gcc.target/powerpc/pr79947.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@246150 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/config/rs6000/rs6000.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gcc/config/rs6000/rs6000.h') diff --git a/gcc/config/rs6000/rs6000.h b/gcc/config/rs6000/rs6000.h index 0180e0c3dfd..da6fd522f9d 100644 --- a/gcc/config/rs6000/rs6000.h +++ b/gcc/config/rs6000/rs6000.h @@ -752,7 +752,8 @@ extern int rs6000_vector_align[]; && (TARGET_POPCNTB || VECTOR_UNIT_VSX_P (DFmode))) #define TARGET_FRSQRTES (TARGET_HARD_FLOAT && TARGET_POPCNTB \ - && TARGET_FPRS && TARGET_SINGLE_FLOAT) + && TARGET_PPC_GFXOPT && TARGET_FPRS \ + && TARGET_SINGLE_FLOAT) #define TARGET_FRSQRTE (TARGET_HARD_FLOAT && TARGET_FPRS \ && TARGET_DOUBLE_FLOAT \ -- cgit v1.2.1