From 711c065c028b904b41f944d4a7190edda07fbd03 Mon Sep 17 00:00:00 2001 From: Michael Meissner Date: Mon, 16 Nov 2015 22:13:21 +0000 Subject: [PATCH] vsx.md (VSX_L): Do not include IBM extended double 128-bit types... 2015-11-16 Michael Meissner * config/rs6000/vsx.md (VSX_L): Do not include IBM extended double 128-bit types, just types that fit in a single vector. * config/rs6000/rs6000.md (FMOVE128_GPR): Likewise. From-SVN: r230440 --- gcc/ChangeLog | 6 ++++++ gcc/config/rs6000/rs6000.md | 5 ++--- gcc/config/rs6000/vsx.md | 5 +---- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b403718c833..f4a130be8b9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2015-11-16 Michael Meissner + + * config/rs6000/vsx.md (VSX_L): Do not include IBM extended double + 128-bit types, just types that fit in a single vector. + * config/rs6000/rs6000.md (FMOVE128_GPR): Likewise. + 2015-11-16 David Wohlferd * doc/md.texi ('#' and '*' constraint modifiers): Do not include these diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md index 1fdc7bbda42..8c1ddb02a9c 100644 --- a/gcc/config/rs6000/rs6000.md +++ b/gcc/config/rs6000/rs6000.md @@ -409,9 +409,8 @@ (V2DI "") (V2DF "") (V1TI "") - (KF "") - (TF "") - (IF "")]) + (KF "FLOAT128_VECTOR_P (KFmode)") + (TF "FLOAT128_VECTOR_P (TFmode)")]) ; Iterator for 128-bit VSX types for pack/unpack (define_mode_iterator FMOVE128_VSX [V1TI KF]) diff --git a/gcc/config/rs6000/vsx.md b/gcc/config/rs6000/vsx.md index 596b11d01ab..2b92d451a54 100644 --- a/gcc/config/rs6000/vsx.md +++ b/gcc/config/rs6000/vsx.md @@ -46,8 +46,6 @@ (define_mode_iterator VSX_F [V4SF V2DF]) ;; Iterator for logical types supported by VSX -;; Note, IFmode won't actually be used since it isn't a VSX type, but it simplifies -;; the code by using 128-bit iterators for floating point. (define_mode_iterator VSX_L [V16QI V8HI V4SI @@ -57,8 +55,7 @@ V1TI TI (KF "FLOAT128_VECTOR_P (KFmode)") - (TF "FLOAT128_VECTOR_P (TFmode)") - (IF "FLOAT128_VECTOR_P (IFmode)")]) + (TF "FLOAT128_VECTOR_P (TFmode)")]) ;; Iterator for memory move. Handle TImode specially to allow ;; it to use gprs as well as vsx registers. -- 2.30.2