aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorSegher Boessenkool <segher@kernel.crashing.org>2022-10-04 21:22:15 +0000
committerSegher Boessenkool <segher@kernel.crashing.org>2022-10-05 19:12:43 +0000
commite99dcbb54e07b798c3353124f38336f96a826d43 (patch)
treeedaf22b163882513e5d85baffb44f4e06c7623db /gcc
parentba3e5a3826be53ecbb7d6044c50878d44640c296 (diff)
downloadgcc-e99dcbb54e07b798c3353124f38336f96a826d43.zip
gcc-e99dcbb54e07b798c3353124f38336f96a826d43.tar.gz
gcc-e99dcbb54e07b798c3353124f38336f96a826d43.tar.bz2
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.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/rs6000/constraints.md6
-rw-r--r--gcc/doc/md.texi3
2 files changed, 0 insertions, 9 deletions
diff --git a/gcc/config/rs6000/constraints.md b/gcc/config/rs6000/constraints.md
index 5a44a92..54fef8d 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 bb42ee1..d0a71ecb 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.