diff options
author | meissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2017-03-15 00:25:10 +0000 |
---|---|---|
committer | meissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2017-03-15 00:25:10 +0000 |
commit | ea95170bf17a4cd6d927ff8efb4c2d5a9cc7b257 (patch) | |
tree | 629d35bf99cd879092f0cf4af9afb2a0d633d69b /gcc/config/rs6000 | |
parent | 0cb02458de46cb255c0606e47a10f121846e487a (diff) | |
download | gcc-ea95170bf17a4cd6d927ff8efb4c2d5a9cc7b257.tar.gz |
[gcc]
2017-03-14 Michael Meissner <meissner@linux.vnet.ibm.com>
PR target/79947
* config/rs6000/rs6000.h (TARGET_FRSQRTES): Add check for
-mpowerpc-gfxopt.
[gcc/testsuite]
2017-03-14 Michael Meissner <meissner@linux.vnet.ibm.com>
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
Diffstat (limited to 'gcc/config/rs6000')
-rw-r--r-- | gcc/config/rs6000/rs6000.h | 3 |
1 files changed, 2 insertions, 1 deletions
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 \ |