From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2119) id E34123858D28; Mon, 1 May 2023 13:41:48 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E34123858D28 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1682948508; bh=rCuwxj6+C9/ClGdiWiJzE8KvhBBpK6JQkTrUJAGu+6o=; h=From:To:Subject:Date:From; b=CBSi9k4Es4Kn4sIQty6rOaPNFGaiyjAvQMR/TDd15AjFxWdGntdUppsQ+9bwg/l7n LXdbQ5IpkcAFWlDtmX4tuH4LXTOD1X+8I/H/kUrVs7ukDVVxaH3Fxxx2MzvalWvqKZ rJ6mblzWPlP6aj5r/a08PEJKmcdmpRoZI9zLVVoE= MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Jeff Law To: gcc-cvs@gcc.gnu.org Subject: [gcc r14-384] Convert xstormy16 to LRA X-Act-Checkin: gcc X-Git-Author: Jeff Law X-Git-Refname: refs/heads/master X-Git-Oldrev: faf8bea79b62569af2891e7adc6f758141f738af X-Git-Newrev: 977a3be3ccbc7f177316b2b349523023cac37bcd Message-Id: <20230501134148.E34123858D28@sourceware.org> Date: Mon, 1 May 2023 13:41:48 +0000 (GMT) List-Id: https://gcc.gnu.org/g:977a3be3ccbc7f177316b2b349523023cac37bcd commit r14-384-g977a3be3ccbc7f177316b2b349523023cac37bcd Author: Jeff Law Date: Mon May 1 07:40:38 2023 -0600 Convert xstormy16 to LRA This patch converts the xstormy16 patch to LRA. It introduces a code quality regression in the shiftsi testcase, but it also fixes numerous aborts/errors. IMHO it's a good tradeoff. gcc/ * config/stormy16/stormy16.cc (TARGET_LRA_P): Remove defintion. Diff: --- gcc/config/stormy16/stormy16.cc | 3 --- 1 file changed, 3 deletions(-) diff --git a/gcc/config/stormy16/stormy16.cc b/gcc/config/stormy16/stormy16.cc index 98f87fa8251..81b32dbc958 100644 --- a/gcc/config/stormy16/stormy16.cc +++ b/gcc/config/stormy16/stormy16.cc @@ -2894,9 +2894,6 @@ xstormy16_push_rounding (poly_int64 bytes) #undef TARGET_PREFERRED_OUTPUT_RELOAD_CLASS #define TARGET_PREFERRED_OUTPUT_RELOAD_CLASS xstormy16_preferred_reload_class -#undef TARGET_LRA_P -#define TARGET_LRA_P hook_bool_void_false - #undef TARGET_LEGITIMATE_ADDRESS_P #define TARGET_LEGITIMATE_ADDRESS_P xstormy16_legitimate_address_p #undef TARGET_MODE_DEPENDENT_ADDRESS_P