[AArch64] Remove fictitious [SU]RHSUB instructions
authorRichard Sandiford <richard.sandiford@arm.com>
Thu, 9 Jan 2020 15:11:34 +0000 (15:11 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Thu, 9 Jan 2020 15:11:34 +0000 (15:11 +0000)
We've had skeleton support for "SRHSUB" and "URHSUB" since the initial
commit of the port, but no such instructions exist.

2020-01-09  Richard Sandiford  <richard.sandiford@arm.com>

gcc/
* config/aarch64/iterators.md (SRHSUB, URHSUB): Delete.
(HADDSUB, sur, addsub): Remove them.

From-SVN: r280049

gcc/ChangeLog
gcc/config/aarch64/iterators.md

index a33a3518622ed8eda3b55dc34f0460e2b4926bd0..4c320acf42fc2d7559e74a05870807ccea387967 100644 (file)
@@ -1,3 +1,8 @@
+2020-01-09  Richard Sandiford  <richard.sandiford@arm.com>
+
+       * config/aarch64/iterators.md (SRHSUB, URHSUB): Delete.
+       (HADDSUB, sur, addsub): Remove them.
+
 2020-01-09  Richard Sandiford  <richard.sandiford@arm.com>
 
        * tree-nrv.c (pass_return_slot::execute): Handle all internal
index e5fa31f6748ee81d4323f11544fd8edb19d9af43..27cbda3457167906b4ce1e6f20f7dbfe4c48039c 100644 (file)
     UNSPEC_URHADD      ; Used in aarch64-simd.md.
     UNSPEC_SHSUB       ; Used in aarch64-simd.md.
     UNSPEC_UHSUB       ; Used in aarch64-simd.md.
-    UNSPEC_SRHSUB      ; Used in aarch64-simd.md.
-    UNSPEC_URHSUB      ; Used in aarch64-simd.md.
     UNSPEC_ADDHN       ; Used in aarch64-simd.md.
     UNSPEC_RADDHN      ; Used in aarch64-simd.md.
     UNSPEC_SUBHN       ; Used in aarch64-simd.md.
 
 (define_int_iterator HADDSUB [UNSPEC_SHADD UNSPEC_UHADD
                              UNSPEC_SRHADD UNSPEC_URHADD
-                             UNSPEC_SHSUB UNSPEC_UHSUB
-                             UNSPEC_SRHSUB UNSPEC_URHSUB])
+                             UNSPEC_SHSUB UNSPEC_UHSUB])
 
 (define_int_iterator HADD [UNSPEC_SHADD UNSPEC_UHADD])
 
 (define_int_attr sur [(UNSPEC_SHADD "s") (UNSPEC_UHADD "u")
                      (UNSPEC_SRHADD "sr") (UNSPEC_URHADD "ur")
                      (UNSPEC_SHSUB "s") (UNSPEC_UHSUB "u")
-                     (UNSPEC_SRHSUB "sr") (UNSPEC_URHSUB "ur")
                      (UNSPEC_ADDHN "") (UNSPEC_RADDHN "r")
                      (UNSPEC_SABAL "s") (UNSPEC_UABAL "u")
                      (UNSPEC_SABDL2 "s") (UNSPEC_UABDL2 "u")
                         (UNSPEC_URHADD "add")
                         (UNSPEC_SHSUB "sub")
                         (UNSPEC_UHSUB "sub")
-                        (UNSPEC_SRHSUB "sub")
-                        (UNSPEC_URHSUB "sub")
                         (UNSPEC_ADDHN "add")
                         (UNSPEC_SUBHN "sub")
                         (UNSPEC_RADDHN "add")