Message ID | 20220222150020.22852-4-christophe.lyon@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.a=rsa-sha256 header.s=default header.b=JZFDWTkp; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=<UNKNOWN>) Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4K32RQ4nDzz9sGC for <incoming@patchwork.ozlabs.org>; Wed, 23 Feb 2022 02:00:49 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 14E223898C73 for <incoming@patchwork.ozlabs.org>; Tue, 22 Feb 2022 15:00:47 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 14E223898C73 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1645542047; bh=gA8AAsrjZ5Ec9EIZxd9/NH4GwkwrHUAaIPjX7o8ykXE=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=JZFDWTkpZsB4B7tGq+WSe+wHClJP0wxT6KF8YipuJ9xskF8v6RlonyOol9v5JL/1K OTSVNkWSKhFuS9/n8qJ4qO/+EzN5mgGPIudHQRk5p+uhxH1kAl0pW2yd/i/S0nWg7L RzMIYYWv/9Dq6+ZLrA+DtU0wq0fhb5h73B6NyJxI= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) by sourceware.org (Postfix) with ESMTPS id 68E21383643B for <gcc-patches@gcc.gnu.org>; Tue, 22 Feb 2022 15:00:27 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 68E21383643B Received: by mail-wr1-x433.google.com with SMTP id d28so6082684wra.4 for <gcc-patches@gcc.gnu.org>; Tue, 22 Feb 2022 07:00:27 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=gA8AAsrjZ5Ec9EIZxd9/NH4GwkwrHUAaIPjX7o8ykXE=; b=UV+LapG54qPk1b1Vp0VJ4V/242QFJM3umDqTXeeksPI5hM6ZHlXUKwEcfMAvi96pyL OvjiLi7LPDIQvV1mvDtJCYr2OfTun/e/3NhBrnGKnYE2nrPbUADgrYCZ+h50AzN34Rqi /Iwu9mmqIQcsk7Hxs7E68oGO8oKi8Ym0EOBiW08QeOcWFAFImPCs2fz/JNj4yqe9gVP/ ujDrjNUWSAnzMDxujZFSBcxNGSlzadPeoMf/F24CoI9gXnTe54wjMqHf4yymiDEa045F dqyWURRNAn/17PWFq0MTSePqKHYlwoFQWOVSS9EZJimmiLeiSmQN1tn1+LJaDDCxLMFn wCpQ== X-Gm-Message-State: AOAM533Aibz/XFHkrSNbtpHSrBpq2EpVULNOh++dlQQFax2E5iZ9sQJo 5Qe59Th9rCDHK3py5Fi1FPdDXr8oeJeQFg== X-Google-Smtp-Source: ABdhPJwZVMtsLDL1YGPixd10ZgCYaWnPaxzC12fWF706alf9o8TW64GfJ3miEYlDW0d5VFsja6ZH0w== X-Received: by 2002:a5d:5265:0:b0:1ed:9df7:a09 with SMTP id l5-20020a5d5265000000b001ed9df70a09mr514025wrc.614.1645542026448; Tue, 22 Feb 2022 07:00:26 -0800 (PST) Received: from babel.clyon.hd.free.fr ([2a01:e0a:203:b210:afd3:bde6:6149:fc73]) by smtp.gmail.com with ESMTPSA id w8sm53845941wre.83.2022.02.22.07.00.25 for <gcc-patches@gcc.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Feb 2022 07:00:25 -0800 (PST) X-Google-Original-From: Christophe Lyon <christophe.lyon@linaro.org> To: gcc-patches@gcc.gnu.org Subject: [PATCH v4 03/12] arm: Add support for VPR_REG in arm_class_likely_spilled_p Date: Tue, 22 Feb 2022 16:00:11 +0100 Message-Id: <20220222150020.22852-4-christophe.lyon@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220222150020.22852-1-christophe.lyon@linaro.org> References: <20220222150020.22852-1-christophe.lyon@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-10.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) 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 <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> From: Christophe Lyon via Gcc-patches <gcc-patches@gcc.gnu.org> Reply-To: Christophe Lyon <christophe.lyon.oss@gmail.com> Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org Sender: "Gcc-patches" <gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org> |
Series |
ARM/MVE use vectors of boolean for predicates
|
expand
|
diff --git a/gcc/config/arm/arm.cc b/gcc/config/arm/arm.cc index 9c19589186f..8d7f095b59b 100644 --- a/gcc/config/arm/arm.cc +++ b/gcc/config/arm/arm.cc @@ -29369,7 +29369,7 @@ arm_class_likely_spilled_p (reg_class_t rclass) || rclass == CC_REG) return true; - return false; + return default_class_likely_spilled_p (rclass); } /* Implements target hook small_register_classes_for_mode_p. */
From: Christophe Lyon <christophe.lyon.oss@gmail.com> VPR_REG is the only register in its class, so it should be handled by TARGET_CLASS_LIKELY_SPILLED_P, which is achieved by calling default_class_likely_spilled_p. No test fails without this patch, but it seems it should be implemented. Most of the work of this patch series was carried out while I was working at STMicroelectronics as a Linaro assignee. 2022-02-22 Christophe Lyon <christophe.lyon@arm.com> gcc/ * config/arm/arm.cc (arm_class_likely_spilled_p): Handle VPR_REG.