public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-3100] rs6000: Remove the wD constraint
@ 2022-10-05 19:13 Segher Boessenkool
  0 siblings, 0 replies; only message in thread
From: Segher Boessenkool @ 2022-10-05 19:13 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:e99dcbb54e07b798c3353124f38336f96a826d43

commit r13-3100-ge99dcbb54e07b798c3353124f38336f96a826d43
Author: Segher Boessenkool <segher@kernel.crashing.org>
Date:   Tue Oct 4 21:22:15 2022 +0000

    rs6000: Remove the wD constraint
    
    2022-10-05  Segher Boessenkool  <segher@kernel.crashing.org>
    
            * config/rs6000/constraints.md (wD): Delete.
            * doc/md.texi (Machine Constraints): Adjust.

Diff:
---
 gcc/config/rs6000/constraints.md | 6 ------
 gcc/doc/md.texi                  | 3 ---
 2 files changed, 9 deletions(-)

diff --git a/gcc/config/rs6000/constraints.md b/gcc/config/rs6000/constraints.md
index 5a44a92142e..54fef8d9996 100644
--- a/gcc/config/rs6000/constraints.md
+++ b/gcc/config/rs6000/constraints.md
@@ -107,12 +107,6 @@
        (match_test "TARGET_P8_VECTOR")
        (match_operand 0 "s5bit_cint_operand")))
 
-(define_constraint "wD"
-  "@internal Int constant that is the element number of the 64-bit scalar
-   in a vector."
-  (and (match_code "const_int")
-       (match_test "TARGET_VSX && (ival == VECTOR_ELEMENT_SCALAR_64BIT)")))
-
 (define_constraint "wE"
   "@internal Vector constant that can be loaded with the XXSPLTIB instruction."
   (match_test "xxspltib_constant_nosplit (op, mode)"))
diff --git a/gcc/doc/md.texi b/gcc/doc/md.texi
index bb42ee1da36..d0a71ecbb80 100644
--- a/gcc/doc/md.texi
+++ b/gcc/doc/md.texi
@@ -3267,9 +3267,6 @@ Like @code{b}, if @option{-mpowerpc64} is used; otherwise, @code{NO_REGS}.
 @item wB
 Signed 5-bit constant integer that can be loaded into an Altivec register.
 
-@item wD
-Int constant that is the element number of the 64-bit scalar in a vector.
-
 @item wE
 Vector constant that can be loaded with the XXSPLTIB instruction.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-10-05 19:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-05 19:13 [gcc r13-3100] rs6000: Remove the wD constraint Segher Boessenkool

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).