From 2e828dfe91a39a7a898ca6d8827048760e08b236 Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Thu, 9 Jan 2020 15:11:34 +0000 Subject: [PATCH] [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 gcc/ * config/aarch64/iterators.md (SRHSUB, URHSUB): Delete. (HADDSUB, sur, addsub): Remove them. From-SVN: r280049 --- gcc/ChangeLog | 5 +++++ gcc/config/aarch64/iterators.md | 8 +------- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a33a3518622..4c320acf42f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2020-01-09 Richard Sandiford + + * config/aarch64/iterators.md (SRHSUB, URHSUB): Delete. + (HADDSUB, sur, addsub): Remove them. + 2020-01-09 Richard Sandiford * tree-nrv.c (pass_return_slot::execute): Handle all internal diff --git a/gcc/config/aarch64/iterators.md b/gcc/config/aarch64/iterators.md index e5fa31f6748..27cbda34571 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") -- 2.30.2