From patchwork Tue Feb 22 15:00:20 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe Lyon X-Patchwork-Id: 51300 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id B2E18383E810 for ; Tue, 22 Feb 2022 15:09:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B2E18383E810 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1645542576; bh=K6QKLeAKnLeBj6oPGvNCcpB2honGBqcqX+aGZcEoxA8=; 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=U6Rs0IIhBEVzcZGOtWrGZYjePMC93nLChwxtaYledSBTRX0qJt24UIH/wmn9jUi8W Zmh7zc1EWxUF39/L7msr6r2aVBweuZe3ami6CWHUXpWhgxU7tAAjld4yPtydMSsKwR hEZymzNxTf3SWo0O2vGcxcaIDySdvrQzj6sL/VmQ= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) by sourceware.org (Postfix) with ESMTPS id 97E1D3898C72 for ; Tue, 22 Feb 2022 15:00:31 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 97E1D3898C72 Received: by mail-wr1-x436.google.com with SMTP id h6so33806839wrb.9 for ; Tue, 22 Feb 2022 07:00:31 -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=K6QKLeAKnLeBj6oPGvNCcpB2honGBqcqX+aGZcEoxA8=; b=wxt1nKopyjBe62xzN3/4Ei0vifMyFX+GGQHU99SQLi2k/y54dITH0cm2HE2gFFmag6 thJKDQW8S+SfWhYG8t6adrrVs5wVqX5s/vlDzl7q6PMn43dVGDZTuyXl/JTCCoXueUXg Ypl+3bX8RiEFZJw7uSTWZiMpqtbWS27tkHy4GU+hV8SEYxUxBLFKY4tpei4gcGe2Hex9 o7hxyj3rsR/ITDaQiTNqOAKOHMSFXo7F5zI9sLUOsvFX2oQtOkZ0/3rJAT7/ps8EDLwP kw+b/Dh52V9AGCDWY0WpfWQO5V9Je++bZZrNF3+o7MEFUUHDoghdys9za0FRK+BG1yHH jmpw== X-Gm-Message-State: AOAM53267zPf5IRxb9vdZTJFP/8Hdh4fGbeOl+k/4GNhxfFdA495fsRz 844LOpxf0wsKdQN/ZTGDuKJtiNOZKof5uA== X-Google-Smtp-Source: ABdhPJyP15x3tRlKBURAqQ2nE2TdJCWOD4IDDBexyMrW1jN4DiQNKfU3ySsIscjL0AzOGwxn2AxnEg== X-Received: by 2002:adf:f001:0:b0:1e4:b7b1:87c1 with SMTP id j1-20020adff001000000b001e4b7b187c1mr20797913wro.238.1645542030638; Tue, 22 Feb 2022 07:00:30 -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.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Feb 2022 07:00:30 -0800 (PST) X-Google-Original-From: Christophe Lyon To: gcc-patches@gcc.gnu.org Subject: [PATCH v4 12/12] arm: Add VPR_REG to ALL_REGS Date: Tue, 22 Feb 2022 16:00:20 +0100 Message-Id: <20220222150020.22852-13-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 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Christophe Lyon via Gcc-patches From: Christophe Lyon Reply-To: Christophe Lyon Errors-To: gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org Sender: "Gcc-patches" From: Christophe Lyon VPR_REG should be part of ALL_REGS, this patch fixes this omission. 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 gcc/ * config/arm/arm.h (REG_CLASS_CONTENTS): Add VPR_REG to ALL_REGS. diff --git a/gcc/config/arm/arm.h b/gcc/config/arm/arm.h index 61c02218b78..ef7b66f34ae 100644 --- a/gcc/config/arm/arm.h +++ b/gcc/config/arm/arm.h @@ -1347,7 +1347,7 @@ enum reg_class { 0x00000000, 0x00000000, 0x00000000, 0x00000080 }, /* AFP_REG */ \ { 0x00000000, 0x00000000, 0x00000000, 0x00000400 }, /* VPR_REG. */ \ { 0x00005FFF, 0x00000000, 0x00000000, 0x00000400 }, /* GENERAL_AND_VPR_REGS. */ \ - { 0xFFFF7FFF, 0xFFFFFFFF, 0xFFFFFFFF, 0x0000000F } /* ALL_REGS. */ \ + { 0xFFFF7FFF, 0xFFFFFFFF, 0xFFFFFFFF, 0x0000040F } /* ALL_REGS. */ \ } #define FP_SYSREGS \