]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
rs6000: Remove the wD constraint
authorSegher Boessenkool <segher@kernel.crashing.org>
Tue, 4 Oct 2022 21:22:15 +0000 (21:22 +0000)
committerSegher Boessenkool <segher@kernel.crashing.org>
Wed, 5 Oct 2022 19:12:43 +0000 (19:12 +0000)
2022-10-05  Segher Boessenkool  <segher@kernel.crashing.org>

* config/rs6000/constraints.md (wD): Delete.
* doc/md.texi (Machine Constraints): Adjust.

gcc/config/rs6000/constraints.md
gcc/doc/md.texi

index 5a44a92142e5eb396de56eacfd489064d012a629..54fef8d9996e371282a4662fec7c042fcad5a522 100644 (file)
        (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)"))
index bb42ee1da36cd0baa53ca558fddce1175c73c1f1..d0a71ecbb806de3a6564c6ffe973fec5da5c597b 100644 (file)
@@ -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.