From patchwork Thu Jun 9 13:35:21 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Maciej W. Rozycki" X-Patchwork-Id: 54984 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 DACA23834E7F for ; Thu, 9 Jun 2022 13:35:42 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) by sourceware.org (Postfix) with ESMTPS id 7337F385277F for ; Thu, 9 Jun 2022 13:35:25 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 7337F385277F Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=embecosm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=embecosm.com Received: by mail-wr1-x42b.google.com with SMTP id k16so32458178wrg.7 for ; Thu, 09 Jun 2022 06:35:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=embecosm.com; s=google; h=date:from:to:cc:subject:message-id:user-agent:mime-version; bh=QR4IiS29nMjIWTtRIwPA640s5OiaD57tVG5kxRMHnf8=; b=ZzALuSzDR5hjkZ53WJ4HGFomyKFFacoCn3OrM29oPg0MdqsXJI1HVDJREVFR0vn3Gv wHE/7ZNua33ZB8ACGGDPHnSiq7FU9Jv/CQSMt8VYcsrQqsfGJVGWBW/GpEVxo74mskLM H3eCfLstyJYjA+BDhUZ4K34iUUFeZLmY5YdhPRFWpxlOEHSKz26XQraNaXpWQyI3kzVW 4RTzDgyP9yyy2OvH+PiE3d3pJefsJTHNvbsu5+zZiEaaGKW7vLk/xpyJzwmYMwcI85we 7S3rLhB+dfMeDpu7uhe3Sssx3l+hTxK0UHejFIQ2Gvbogc/+XNMFDPJOUvW9q3iB545Z lG7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:user-agent :mime-version; bh=QR4IiS29nMjIWTtRIwPA640s5OiaD57tVG5kxRMHnf8=; b=gSh9uRwshdR1y3/NhTJsUpFq4kUT+bLa2d8c7Z64FNLWp3B+v+R77MwZNUs8vNSX+d YOWn9usq2XVC6lonpKbW6jFORqVWZnzBogJ3eIFiXjv0c9otIrrVi2/0dNzMZc+OJ6xa UTm3MO7wWEeDKbqyLSv19uVGK6MVT6PX5pIsIm5xbJ4PHAgpAPgOC06eIDG1YviuDgVF IlKOtKp8iyx3zBYa7U9Dnel8VpXZcOTgDIbi3TZ8+X8vIxVN9hvLwZH1q65R6kPUi8iC QZCJNmL1PCu/fN38xHGYOX/MRrCPZCOhPy5g+kjAaz/f4hpV0Hb2iw5TYqvVukAKV7WW 9GTw== X-Gm-Message-State: AOAM531i8+8GM8tdYRulUzS+zW7Z0ouKgEpeej7w1U8hQtUjs2isUL3U 25POzsNoqn+KGmy3H4QNIxScVAxI0U7a3A== X-Google-Smtp-Source: ABdhPJwU+9Uum9h87qdx/XWWRXuFb/HW8NO9X+E4D/jqz07ykcjjLZo11FsoiO47OYOIH1CjcIH6zg== X-Received: by 2002:a05:6000:1819:b0:210:2eb7:559f with SMTP id m25-20020a056000181900b002102eb7559fmr37889421wrh.386.1654781724223; Thu, 09 Jun 2022 06:35:24 -0700 (PDT) Received: from tpp.orcam.me.uk (tpp.orcam.me.uk. [2001:8b0:154:0:ea6a:64ff:fe24:f2fc]) by smtp.gmail.com with ESMTPSA id p9-20020a5d4589000000b0020fcf070f61sm24660670wrq.59.2022.06.09.06.35.23 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 09 Jun 2022 06:35:23 -0700 (PDT) Date: Thu, 9 Jun 2022 14:35:21 +0100 (BST) From: "Maciej W. Rozycki" To: gcc-patches@gcc.gnu.org Subject: [committed] RISC-V: Use a tab rather than space with FSFLAGS Message-ID: User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE 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: , Cc: Andrew Waterman , Kito Cheng Errors-To: gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org Sender: "Gcc-patches" Consistently use a tab rather than a space as the separator between the assembly instruction mnemonic and its operand with FSFLAGS instructions produced with the unordered FP comparison RTL insns. gcc/ * config/riscv/riscv.md (*f_quiet4_default) (*f_quiet4_snan): Emit a tab rather than space with FSFLAGS. --- Hi, Committed as obvious. Maciej --- gcc/config/riscv/riscv.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) gcc-riscv-fcmp-tab.diff Index: gcc/gcc/config/riscv/riscv.md =================================================================== --- gcc.orig/gcc/config/riscv/riscv.md +++ gcc/gcc/config/riscv/riscv.md @@ -2344,7 +2344,7 @@ QUIET_COMPARISON)) (clobber (match_scratch:X 3 "=&r"))] "TARGET_HARD_FLOAT && ! HONOR_SNANS (mode)" - "frflags\t%3\n\tf.\t%0,%1,%2\n\tfsflags %3" + "frflags\t%3\n\tf.\t%0,%1,%2\n\tfsflags\t%3" [(set_attr "type" "fcmp") (set_attr "mode" "") (set (attr "length") (const_int 12))]) @@ -2357,7 +2357,7 @@ QUIET_COMPARISON)) (clobber (match_scratch:X 3 "=&r"))] "TARGET_HARD_FLOAT && HONOR_SNANS (mode)" - "frflags\t%3\n\tf.\t%0,%1,%2\n\tfsflags %3\n\tfeq.\tzero,%1,%2" + "frflags\t%3\n\tf.\t%0,%1,%2\n\tfsflags\t%3\n\tfeq.\tzero,%1,%2" [(set_attr "type" "fcmp") (set_attr "mode" "") (set (attr "length") (const_int 16))])