From patchwork Wed May 16 18:39:41 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jim Wilson X-Patchwork-Id: 914851 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-477782-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=sifive.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="rqEcC603"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 40mNXN67lkz9s0x for ; Thu, 17 May 2018 04:40:03 +1000 (AEST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:cc:subject:date:message-id; q=dns; s=default; b=J8wbbCOIp7GD JndvOiP+JhW0yNS5m6k0GcIUFgLyZIotidbhnw14IErkupfHgwL99KMmwWhGDQK/ Tt9mnXUN0EQrWAlzlXdlGI4fFqncRLVaNsBdPXPlXRzWpqUgK7FVJQ1+DSeH5MMC K9eb97QURj1spwNC343GRFPhdt9XK/g= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:cc:subject:date:message-id; s=default; bh=be2PJM+SYbo8HcemX5 bWqYcrJl0=; b=rqEcC603Neid9kWbiLNarvKNis6pq4fw3hYKDubntjr9qfzG9Q L8bxWyPfKKq8BnOs2hCq8ocFCtxuROfY1z1Z2/Xc1AAudorxgwVfCqoHSkvCOhW4 Lt6q5vpagmFyYUfFa69vK4iLq6dbcS7CxPhfTQD9q3HA1NdeKPuNz7CVs= Received: (qmail 41553 invoked by alias); 16 May 2018 18:39:56 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 40871 invoked by uid 89); 16 May 2018 18:39:55 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.0 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:1811, HX-HELO:sk:mail-pl X-HELO: mail-pl0-f41.google.com Received: from mail-pl0-f41.google.com (HELO mail-pl0-f41.google.com) (209.85.160.41) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 16 May 2018 18:39:54 +0000 Received: by mail-pl0-f41.google.com with SMTP id c41-v6so924476plj.10 for ; Wed, 16 May 2018 11:39:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=V+4vrUwTxnqGMDVMnRCjw8ytpeR0NUkPAZkDv4xw82k=; b=ebG1o84F6SRsTIlWdj1fbGOKKIzcCVmtWadgeumny7iWshahOIz7MA8CKHA7Mucg+7 X/tIylhCQ7gkWN+os6uzujUNgZK6v9okZfC2yJ9ToPRP5ytAhzoll48PJzE5kQwutUEx 7qoI8EcULHPKq8hbQEWykfcmR9e+7yUcx239tEHSFUXf9ZfB8QbvPTkkBQcnFQgGpbNv fpZTvTuI5GJ2iX3Cb9xIE1O5UAFvP73r4sHeRpBe2zkSxayf22+AO/tugFSsrSeSKnEH DRWVlVyIzBlISfvRVYryh8vZETBfTAM4tMJr7DCGbSK1mp8phSaSFaFdHNz5L4k0R95U MacQ== X-Gm-Message-State: ALKqPwdj4oIAiyOZZVsTw3mtax5bxBcfiDaG7eIcHv4APekKmzXUMksz 9MV1VA4N2mIu4L7XNH2Qmx4V2a6Ibtw= X-Google-Smtp-Source: AB8JxZrzNtniztQprYPeittpKpRCKGBMnSa7rHUTfpHcViEnnEzHZBtYmCK3dE++oMZKFnXKZVXDAQ== X-Received: by 2002:a17:902:268:: with SMTP id 95-v6mr2062351plc.386.1526495992360; Wed, 16 May 2018 11:39:52 -0700 (PDT) Received: from rohan.internal.sifive.com ([12.206.222.5]) by smtp.gmail.com with ESMTPSA id u8-v6sm4750133pgq.7.2018.05.16.11.39.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 16 May 2018 11:39:51 -0700 (PDT) From: Jim Wilson To: gcc-patches@gcc.gnu.org Cc: Jim Wilson Subject: [PATCH] RISC-V: Minor pattern name cleanup. Date: Wed, 16 May 2018 11:39:41 -0700 Message-Id: <20180516183941.31570-1-jimw@sifive.com> This just fixes a minor nit with an earlier patch. I added some new patterns that are never directly called, and forgot to put the asterisk in the name. Tested with riscv{32,64}-{elf,linux} builds to verify that the compiler still builds OK. Committed. Jim gcc/ * config/riscv/riscv.md (si3_mask, si3_mask_1): Prepend asterisk to name. (di3_mask, di3_mask_1): Likewise. --- gcc/config/riscv/riscv.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gcc/config/riscv/riscv.md b/gcc/config/riscv/riscv.md index 9d222731a06..56fe516dbcf 100644 --- a/gcc/config/riscv/riscv.md +++ b/gcc/config/riscv/riscv.md @@ -1504,7 +1504,7 @@ [(set_attr "type" "shift") (set_attr "mode" "SI")]) -(define_insn_and_split "si3_mask" +(define_insn_and_split "*si3_mask" [(set (match_operand:SI 0 "register_operand" "= r") (any_shift:SI (match_operand:SI 1 "register_operand" " r") @@ -1523,7 +1523,7 @@ [(set_attr "type" "shift") (set_attr "mode" "SI")]) -(define_insn_and_split "si3_mask_1" +(define_insn_and_split "*si3_mask_1" [(set (match_operand:SI 0 "register_operand" "= r") (any_shift:SI (match_operand:SI 1 "register_operand" " r") @@ -1559,7 +1559,7 @@ [(set_attr "type" "shift") (set_attr "mode" "DI")]) -(define_insn_and_split "di3_mask" +(define_insn_and_split "*di3_mask" [(set (match_operand:DI 0 "register_operand" "= r") (any_shift:DI (match_operand:DI 1 "register_operand" " r") @@ -1579,7 +1579,7 @@ [(set_attr "type" "shift") (set_attr "mode" "DI")]) -(define_insn_and_split "di3_mask_1" +(define_insn_and_split "*di3_mask_1" [(set (match_operand:DI 0 "register_operand" "= r") (any_shift:DI (match_operand:DI 1 "register_operand" " r")