diff options
author | Richard Sandiford <richard.sandiford@arm.com> | 2020-01-09 15:11:34 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2020-01-09 15:11:34 +0000 |
commit | 2e828dfe91a39a7a898ca6d8827048760e08b236 (patch) | |
tree | b5731ed206fb4232b69cfa5b95699e4014de80c1 /gcc | |
parent | 9ecb4221263c5416a73a8afe5ef16a8dce07a72d (diff) | |
download | gcc-2e828dfe91a39a7a898ca6d8827048760e08b236.zip gcc-2e828dfe91a39a7a898ca6d8827048760e08b236.tar.gz gcc-2e828dfe91a39a7a898ca6d8827048760e08b236.tar.bz2 |
[AArch64] Remove fictitious [SU]RHSUB instructions
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/aarch64/iterators.md | 8 |
2 files changed, 6 insertions, 7 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a33a351..4c320ac 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 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 functions the same way, rather than singling out those that aren't mapped directly to optabs. diff --git a/gcc/config/aarch64/iterators.md b/gcc/config/aarch64/iterators.md index e5fa31f..27cbda3 100644 --- a/gcc/config/aarch64/iterators.md +++ b/gcc/config/aarch64/iterators.md @@ -436,8 +436,6 @@ 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. @@ -1841,8 +1839,7 @@ (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]) @@ -2273,7 +2270,6 @@ (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") @@ -2336,8 +2332,6 @@ (UNSPEC_URHADD "add") (UNSPEC_SHSUB "sub") (UNSPEC_UHSUB "sub") - (UNSPEC_SRHSUB "sub") - (UNSPEC_URHSUB "sub") (UNSPEC_ADDHN "add") (UNSPEC_SUBHN "sub") (UNSPEC_RADDHN "add") |