From patchwork Fri Mar 3 14:01:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anthony Green X-Patchwork-Id: 63934 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp423914wrd; Fri, 3 Mar 2023 06:02:42 -0800 (PST) X-Google-Smtp-Source: AK7set8wzDECG531QlH0NxJMzzpJuSwpq0HkI85Cm/SPPUQw9/O6apc+tw47XMXs9ug84A6TlTfL X-Received: by 2002:a17:906:85c3:b0:881:f614:44ed with SMTP id i3-20020a17090685c300b00881f61444edmr1703951ejy.30.1677852162376; Fri, 03 Mar 2023 06:02:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677852162; cv=none; d=google.com; s=arc-20160816; b=ynJjYYh7wT8/IeCVO5F+BWo4eBU9wh7ACBEW6vfdknnaFxM51CyOEYzy6kmVpaR7w9 W6xXvFAUnSmDXHs01+2aA2ovrbhn5TK+6fLnQ6PWRm5g7qT9BHAfPkHNyr4QaJXzyvOa M1ICyonlQq7iAhSbc7fxOgHqekITCTNQOCHgAkvB/K8I3y5W/k0BCJ2Tgk1iuqbIlBAC /jd9Iw9TkqmsmXqJZnc9uyOqZL1lmdKsKeuFY9cZbWNaNFZNnReVjx7nShegVPNT/OLP FjrMJWTW6/4ygZkvh7NMFpRq1xB3nN8+B31XlLqolbInTi0tzZfmgaA0iPnPi+ru/H5y joEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:mime-version:user-agent :message-id:date:subject:to:from:dkim-signature:dmarc-filter :delivered-to; bh=nYgp+/Ni30NH8hP8JQ8+nRMSAOHjfvSBU5w/gw30L0M=; b=0ezt9R3/YyRDPTmoHfqXuwOr+8rPAulpyg0HLUX5QQLdPZcUy6W/BhARGc6yXUo9bu yg2qZFos/06dTw7T8DctW6z4FX7qVZJHcnxUbf5QMQEHEe7KtHi7oVmS6vVummJGs6YX Qp2nXCmR9KasBkh8njDQwPN1uFL676uuEQLDTzxnW7HrEWjf62Gw2vZt3+vIRWfrw2T1 b8WSo+y6QgFlNry9gqZlcBr/nRJ1/07KNPCYeh0psEzsqFYlbdYzxeDqni3dbtrTztjF V1ha9MQz4xDawE/UUuEPEctLypc+5ZbXVtSwcbva3HSg4+6+wpfwdrnArgcSPTFzWQch 7d+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@moxielogic-com.20210112.gappssmtp.com header.s=20210112 header.b=Wihf3Ju0; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id ko11-20020a170907986b00b008affa064028si2118677ejc.654.2023.03.03.06.02.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Mar 2023 06:02:42 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@moxielogic-com.20210112.gappssmtp.com header.s=20210112 header.b=Wihf3Ju0; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 4D16D385B511 for ; Fri, 3 Mar 2023 14:02:12 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-oi1-x231.google.com (mail-oi1-x231.google.com [IPv6:2607:f8b0:4864:20::231]) by sourceware.org (Postfix) with ESMTPS id B86983858020 for ; Fri, 3 Mar 2023 14:01:45 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org B86983858020 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=moxielogic.com Authentication-Results: sourceware.org; spf=none smtp.mailfrom=moxielogic.com Received: by mail-oi1-x231.google.com with SMTP id y184so1830645oiy.8 for ; Fri, 03 Mar 2023 06:01:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=moxielogic-com.20210112.gappssmtp.com; s=20210112; t=1677852104; h=mime-version:user-agent:message-id:date:subject:to:from:from:to:cc :subject:date:message-id:reply-to; bh=nYgp+/Ni30NH8hP8JQ8+nRMSAOHjfvSBU5w/gw30L0M=; b=Wihf3Ju01j9q/S8+vL13Q6RQ3szHJKh5ibxG9DWBQa+iIpDxdC5XW0V7Yo9hf34kAa 80sPO2zj41RZ0vG5OtsnBtZdYsrFum+Xobu+nhQKenRUTtmNoo5JEqAT0xDQqm+cwST4 4HVwB/hkKLG44T1IIWGizPuCLS1PC/v/JtLnlOLWGP00ft7CaoX9JsQMQqYXmbGsUPKq QIVTKl4Z7mvfnONE0RAwcmOD4frAQE5wvVKZTDxEbUx9EPQt1txPoBpPAFITon44D2nH vOKNOokx0VCIOvMPSKKP63dInGu3elNZl9x+zVXo6SBpSibj0NViJadHkEj2pK8ACJAo 6frg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677852104; h=mime-version:user-agent:message-id:date:subject:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=nYgp+/Ni30NH8hP8JQ8+nRMSAOHjfvSBU5w/gw30L0M=; b=5oTgwRcOz5JnY+xlcLEwtx8VMGLdGRz12umchR1bkjDy4Id3SK4X7iNYx4gEheX1wh t4rwbnffdFpc6JpZaBBaeJvgGiP7RNBRBpKhVJVSV7hGbraLOHnhM1ZmThTKi1upg4MP MxJMycK7ncNsY1/VTo3xLUfb7Xl/Zc5fk+uv/+hFzeCi9eG1ocOU7ouMOJwnzmB38cIx wYKp2SZkos3+dMKSh7sP9Sr8ctF8OGWEnhF1E+zE/jgnMldEbemzexw52lK6yWcioAPO QDYZvVIN1YI+1hZGDhRsV2khUohpt4pc8b+Rz0HHfbEKm4VlOqE4U6WBjce7J3HzsrXF s2dA== X-Gm-Message-State: AO0yUKVyUcNcZ4wsCckitnB+0JRece0MgBNzDj77gqhe2rXMeSrHV3UA uFtomgQn/ds8calrs5vWiJ6Gtguht/QflhDpZB3whw== X-Received: by 2002:a05:6808:158:b0:384:6672:e452 with SMTP id h24-20020a056808015800b003846672e452mr703271oie.27.1677852104626; Fri, 03 Mar 2023 06:01:44 -0800 (PST) Received: from localhost ([104.156.64.74]) by smtp.gmail.com with ESMTPSA id q28-20020a05620a2a5c00b007422fd3009esm1810091qkp.20.2023.03.03.06.01.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Mar 2023 06:01:44 -0800 (PST) From: Anthony Green To: gcc-patches@gcc.gnu.org Subject: [PATCH] moxie: enable LRA Date: Fri, 03 Mar 2023 09:01:43 -0500 Message-ID: <87mt4uszlk.fsf@laptop.mail-host-address-is-not-set> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 X-Spam-Status: No, score=-9.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1759355509145024174?= X-GMAIL-MSGID: =?utf-8?q?1759355509145024174?= Committed as obviously correct. Enable LRA for the moxie port. gcc/ChangeLog: * config/moxie/moxie.cc (TARGET_LRA_P): Remove. diff --git a/gcc/config/moxie/moxie.cc b/gcc/config/moxie/moxie.cc index dcf87ef98a1..2132b6e48a3 100644 --- a/gcc/config/moxie/moxie.cc +++ b/gcc/config/moxie/moxie.cc @@ -616,9 +616,6 @@ moxie_legitimate_address_p (machine_mode mode ATTRIBUTE_UNUSED, #undef TARGET_FUNCTION_ARG_ADVANCE #define TARGET_FUNCTION_ARG_ADVANCE moxie_function_arg_advance -#undef TARGET_LRA_P -#define TARGET_LRA_P hook_bool_void_false - #undef TARGET_ADDR_SPACE_LEGITIMATE_ADDRESS_P #define TARGET_ADDR_SPACE_LEGITIMATE_ADDRESS_P moxie_legitimate_address_p