From patchwork Mon Apr 10 03:00:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Li, Pan2 via Gcc-patches" X-Patchwork-Id: 81350 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1644903vqo; Sun, 9 Apr 2023 20:01:42 -0700 (PDT) X-Google-Smtp-Source: AKy350aIz8p3GSMajJ4DQyl4TnDOtNTuMiTcYczxxMJjrhE/lMmxctrWggUYFR/FFxns4s/qhUO2 X-Received: by 2002:a05:6402:31ea:b0:504:7aaa:275e with SMTP id dy10-20020a05640231ea00b005047aaa275emr5015108edb.41.1681095701904; Sun, 09 Apr 2023 20:01:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681095701; cv=none; d=google.com; s=arc-20160816; b=FnMGmUOxp0RYODD76YpfSMD/uXCuEMr0nufZIlc0DPCwU9OUhXUy7FaH7f4deLTDp7 sO4hatVJawNi9TiKXT94rMzzU/U62xqwZenZTO/ZyNc3D5L+1E7eT5n/uBAQ35t3Jlj3 RoJO/zjOhCzgfD0eypTcw4XyKvcw0K3MA98pI8xvBnDML3EOubh0OR4jNGmEviK36a7W G3FzhfbK2LuvW5AnRvrijizZHBJXY1hXWtYM8y+2QCiQ9Jj6LNmzMAyW1DSvFCyY7fcu Nwu5qiJeiv0fxBo/hBe9aTAsYZzM1noZYyLODAW8XRxQCZ8MWZRGIdn90UegWSnCA+ER RAEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:from:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:dmarc-filter:delivered-to :dkim-signature:dkim-filter; bh=Uk2tlwrxXElg/R9xkjhs1ev+YUDvIh/ZOgWtBfAUWH8=; b=XlCEkdWxbeB7b0f85PPqMluKCCrppJYr9iM3QPmsQMpfmv4qpFAj1XgayGqo3/hvCZ KD8r46BgHR+TneXv9f/2x1NTits52Ws0laTXxaMoHC0SXWIpCxVgv4ZLOAfCUfnbpQOx jcOchFQfzjz25p7S43/b0PAth3W+2FKmUgwfGM5exLsTiCM8Gr481U3cgUxB1EftYjrG BoWWK28k+pxpGhpD5rMV1w1H86vsfleoUQ7s4xTBHg4Cn1lS59q0fBFeuU95xZIv9FN2 BvZ2/+x+4OOceQmBP5iK1aeBVg1h9WJp/UP8uG9kYj4mpOsHtkK+5iiF4ccBq3iWBsng D79A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b="Io2N/DCC"; 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"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id n25-20020aa7db59000000b00504784eabbbsi425249edt.190.2023.04.09.20.01.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 09 Apr 2023 20:01:41 -0700 (PDT) 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=@gcc.gnu.org header.s=default header.b="Io2N/DCC"; 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"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id A0E4C385840D for ; Mon, 10 Apr 2023 03:01:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A0E4C385840D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1681095700; bh=Uk2tlwrxXElg/R9xkjhs1ev+YUDvIh/ZOgWtBfAUWH8=; h=To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=Io2N/DCClwcDsgbaB/oHJWmYkbE/Gp5oIhq3Tt/cY+z8oQjO9t6ZRpJ/Y0zMRLCmK zel4zD93ScmGqeIPXaXe6sep9hQNTrgNV8zIpwuFlMAmGyFTCM5OMnxIw/iDLiglk1 iE8+ul3uZleqUZkY4OmemHC38QFUyfTjOHohhRIk= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by sourceware.org (Postfix) with ESMTPS id 620063858D3C for ; Mon, 10 Apr 2023 03:00:52 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 620063858D3C X-IronPort-AV: E=McAfee;i="6600,9927,10675"; a="345937165" X-IronPort-AV: E=Sophos;i="5.98,332,1673942400"; d="scan'208";a="345937165" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Apr 2023 20:00:51 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10675"; a="777420728" X-IronPort-AV: E=Sophos;i="5.98,332,1673942400"; d="scan'208";a="777420728" Received: from shvmail03.sh.intel.com ([10.239.245.20]) by FMSMGA003.fm.intel.com with ESMTP; 09 Apr 2023 20:00:48 -0700 Received: from yanzhang-dev.sh.intel.com (yanzhang-dev.sh.intel.com [10.239.82.176]) by shvmail03.sh.intel.com (Postfix) with ESMTP id 67F341007823; Mon, 10 Apr 2023 11:00:47 +0800 (CST) To: gcc-patches@gcc.gnu.org Cc: juzhe.zhong@rivai.ai, kito.cheng@sifive.com, pan2.li@intel.com, yanzhang.wang@intel.com Subject: [PATCH v4] RISC-V: Fix regression of -fzero-call-used-regs=all Date: Mon, 10 Apr 2023 11:00:37 +0800 Message-Id: <20230410030037.1202490-1-yanzhang.wang@intel.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230406133441.1944365-1-yanzhang.wang@intel.com> References: <20230406133441.1944365-1-yanzhang.wang@intel.com> MIME-Version: 1.0 X-Spam-Status: No, score=-11.5 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_SHORT, 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: , X-Patchwork-Original-From: "yanzhang.wang--- via Gcc-patches" From: "Li, Pan2 via Gcc-patches" Reply-To: yanzhang.wang@intel.com 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?1762434352748316862?= X-GMAIL-MSGID: =?utf-8?q?1762756606490538515?= From: Yanzhang Wang This patch registers a riscv specific function to TARGET_ZERO_CALL_USED_REGS instead of default in targhooks.cc. It will clean gpr and vector relevant registers. PR 109104 gcc/ChangeLog: * config/riscv/riscv-protos.h (emit_hard_vlmax_vsetvl): * config/riscv/riscv-v.cc (emit_hard_vlmax_vsetvl): (emit_vlmax_vsetvl): * config/riscv/riscv.cc (vector_zero_call_used_regs): (riscv_zero_call_used_regs): (TARGET_ZERO_CALL_USED_REGS): gcc/testsuite/ChangeLog: * gcc.target/riscv/zero-scratch-regs-1.c: New test. * gcc.target/riscv/zero-scratch-regs-2.c: New test. * gcc.target/riscv/zero-scratch-regs-3.c: New test. Signed-off-by: Yanzhang Wang Co-authored-by: Pan Li Co-authored-by: Ju-Zhe Zhong Co-authored-by: Kito Cheng --- gcc/config/riscv/riscv-protos.h | 1 + gcc/config/riscv/riscv-v.cc | 15 +++- gcc/config/riscv/riscv.cc | 76 +++++++++++++++++++ .../gcc.target/riscv/zero-scratch-regs-1.c | 9 +++ .../gcc.target/riscv/zero-scratch-regs-2.c | 24 ++++++ .../gcc.target/riscv/zero-scratch-regs-3.c | 57 ++++++++++++++ 6 files changed, 179 insertions(+), 3 deletions(-) create mode 100644 gcc/testsuite/gcc.target/riscv/zero-scratch-regs-1.c create mode 100644 gcc/testsuite/gcc.target/riscv/zero-scratch-regs-2.c create mode 100644 gcc/testsuite/gcc.target/riscv/zero-scratch-regs-3.c diff --git a/gcc/config/riscv/riscv-protos.h b/gcc/config/riscv/riscv-protos.h index 4611447ddde..5244e8dcbf0 100644 --- a/gcc/config/riscv/riscv-protos.h +++ b/gcc/config/riscv/riscv-protos.h @@ -159,6 +159,7 @@ bool check_builtin_call (location_t, vec, unsigned int, bool const_vec_all_same_in_range_p (rtx, HOST_WIDE_INT, HOST_WIDE_INT); bool legitimize_move (rtx, rtx, machine_mode); void emit_vlmax_vsetvl (machine_mode, rtx); +void emit_hard_vlmax_vsetvl (machine_mode, rtx); void emit_vlmax_op (unsigned, rtx, rtx, machine_mode); void emit_vlmax_op (unsigned, rtx, rtx, rtx, machine_mode); void emit_nonvlmax_op (unsigned, rtx, rtx, rtx, machine_mode); diff --git a/gcc/config/riscv/riscv-v.cc b/gcc/config/riscv/riscv-v.cc index 2e91d019f6c..e6c46b0a6a3 100644 --- a/gcc/config/riscv/riscv-v.cc +++ b/gcc/config/riscv/riscv-v.cc @@ -118,6 +118,17 @@ const_vec_all_same_in_range_p (rtx x, HOST_WIDE_INT minval, && IN_RANGE (INTVAL (elt), minval, maxval)); } +/* Emit a vlmax vsetvl instruction. This should only be used when + optimization is disabled or after vsetvl insertion pass. */ +void +emit_hard_vlmax_vsetvl (machine_mode vmode, rtx vl) +{ + unsigned int sew = get_sew (vmode); + emit_insn (gen_vsetvl (Pmode, vl, RVV_VLMAX, gen_int_mode (sew, Pmode), + gen_int_mode (get_vlmul (vmode), Pmode), const0_rtx, + const0_rtx)); +} + void emit_vlmax_vsetvl (machine_mode vmode, rtx vl) { @@ -126,9 +137,7 @@ emit_vlmax_vsetvl (machine_mode vmode, rtx vl) unsigned int ratio = calculate_ratio (sew, vlmul); if (!optimize) - emit_insn (gen_vsetvl (Pmode, vl, RVV_VLMAX, gen_int_mode (sew, Pmode), - gen_int_mode (get_vlmul (vmode), Pmode), const0_rtx, - const0_rtx)); + emit_hard_vlmax_vsetvl (vmode, vl); else emit_insn (gen_vlmax_avl (Pmode, vl, gen_int_mode (ratio, Pmode))); } diff --git a/gcc/config/riscv/riscv.cc b/gcc/config/riscv/riscv.cc index 5f542932d13..d50ca9c02ea 100644 --- a/gcc/config/riscv/riscv.cc +++ b/gcc/config/riscv/riscv.cc @@ -7066,6 +7066,79 @@ riscv_shamt_matches_mask_p (int shamt, HOST_WIDE_INT mask) return shamt == ctz_hwi (mask); } +HARD_REG_SET +vector_zero_call_used_regs (HARD_REG_SET need_zeroed_hardregs) +{ + HARD_REG_SET zeroed_hardregs; + CLEAR_HARD_REG_SET (zeroed_hardregs); + + /* Find a register to hold vl. */ + unsigned vl_regno = INVALID_REGNUM; + /* Skip the first GPR, otherwise the existing vl is kept due to the same + between vl and avl. */ + for (unsigned regno = GP_REG_FIRST + 1; regno <= GP_REG_LAST; regno++) + { + if (TEST_HARD_REG_BIT (need_zeroed_hardregs, regno)) + { + vl_regno = regno; + break; + } + } + + if (vl_regno > GP_REG_LAST) + sorry ("cannot allocate vl register for %qs on this target", + "-fzero-call-used-regs"); + + /* We will not save and restore existing configurations set by + vsetvl. By design, most RVV instructions require the user to + issue vsetvl first before using. Those remaining instructions + will not be affected by vsetvl. */ + + bool emitted_vlmax_vsetvl = false; + rtx vl = gen_rtx_REG (Pmode, vl_regno); /* vl is VLMAX. */ + for (unsigned regno = V_REG_FIRST; regno <= V_REG_LAST; ++regno) + { + if (TEST_HARD_REG_BIT (need_zeroed_hardregs, regno)) + { + rtx target = regno_reg_rtx[regno]; + machine_mode mode = GET_MODE (target); + poly_uint16 nunits = GET_MODE_NUNITS (mode); + machine_mode mask_mode = riscv_vector::get_vector_mode (BImode, + nunits) + .require (); + + if (!emitted_vlmax_vsetvl) + { + riscv_vector::emit_hard_vlmax_vsetvl (mode, vl); + emitted_vlmax_vsetvl = true; + } + + riscv_vector::emit_vlmax_op (code_for_pred_mov (mode), target, + CONST0_RTX (mode), vl, mask_mode); + + SET_HARD_REG_BIT (zeroed_hardregs, regno); + } + } + + return zeroed_hardregs; +} + +/* Generate a sequence of instructions that zero registers specified by + NEED_ZEROED_HARDREGS. Return the ZEROED_HARDREGS that are actually + zeroed. */ +HARD_REG_SET +riscv_zero_call_used_regs (HARD_REG_SET need_zeroed_hardregs) +{ + HARD_REG_SET zeroed_hardregs; + CLEAR_HARD_REG_SET (zeroed_hardregs); + + if (TARGET_VECTOR) + zeroed_hardregs |= vector_zero_call_used_regs (need_zeroed_hardregs); + + return zeroed_hardregs | default_zero_call_used_regs (need_zeroed_hardregs + & ~zeroed_hardregs); +} + /* Initialize the GCC target structure. */ #undef TARGET_ASM_ALIGNED_HI_OP #define TARGET_ASM_ALIGNED_HI_OP "\t.half\t" @@ -7317,6 +7390,9 @@ riscv_shamt_matches_mask_p (int shamt, HOST_WIDE_INT mask) #undef TARGET_DWARF_POLY_INDETERMINATE_VALUE #define TARGET_DWARF_POLY_INDETERMINATE_VALUE riscv_dwarf_poly_indeterminate_value +#undef TARGET_ZERO_CALL_USED_REGS +#define TARGET_ZERO_CALL_USED_REGS riscv_zero_call_used_regs + struct gcc_target targetm = TARGET_INITIALIZER; #include "gt-riscv.h" diff --git a/gcc/testsuite/gcc.target/riscv/zero-scratch-regs-1.c b/gcc/testsuite/gcc.target/riscv/zero-scratch-regs-1.c new file mode 100644 index 00000000000..41d94ab921a --- /dev/null +++ b/gcc/testsuite/gcc.target/riscv/zero-scratch-regs-1.c @@ -0,0 +1,9 @@ +/* { dg-do compile } */ +/* { dg-options "-march=rv64gc -mabi=lp64 -O2 -fzero-call-used-regs=used -fno-stack-protector -fno-PIC" } */ + +void +foo (void) +{ +} + +/* { dg-final { scan-assembler-not "li\t" } } */ diff --git a/gcc/testsuite/gcc.target/riscv/zero-scratch-regs-2.c b/gcc/testsuite/gcc.target/riscv/zero-scratch-regs-2.c new file mode 100644 index 00000000000..9161dd3d4ec --- /dev/null +++ b/gcc/testsuite/gcc.target/riscv/zero-scratch-regs-2.c @@ -0,0 +1,24 @@ +/* { dg-do compile } */ +/* { dg-options "-march=rv64gc -mabi=lp64 -O2 -fzero-call-used-regs=all-gpr" } */ + +void +foo (void) +{ +} + +/* { dg-final { scan-assembler-not "vsetvli" } } */ +/* { dg-final { scan-assembler "li\[ \t\]*t0,0" } } */ +/* { dg-final { scan-assembler "li\[ \t\]*t1,0" } } */ +/* { dg-final { scan-assembler "li\[ \t\]*t2,0" } } */ +/* { dg-final { scan-assembler "li\[ \t\]*a0,0" } } */ +/* { dg-final { scan-assembler "li\[ \t\]*a1,0" } } */ +/* { dg-final { scan-assembler "li\[ \t\]*a2,0" } } */ +/* { dg-final { scan-assembler "li\[ \t\]*a3,0" } } */ +/* { dg-final { scan-assembler "li\[ \t\]*a4,0" } } */ +/* { dg-final { scan-assembler "li\[ \t\]*a5,0" } } */ +/* { dg-final { scan-assembler "li\[ \t\]*a6,0" } } */ +/* { dg-final { scan-assembler "li\[ \t\]*a7,0" } } */ +/* { dg-final { scan-assembler "li\[ \t\]*t3,0" } } */ +/* { dg-final { scan-assembler "li\[ \t\]*t4,0" } } */ +/* { dg-final { scan-assembler "li\[ \t\]*t5,0" } } */ +/* { dg-final { scan-assembler "li\[ \t\]*t6,0" } } */ diff --git a/gcc/testsuite/gcc.target/riscv/zero-scratch-regs-3.c b/gcc/testsuite/gcc.target/riscv/zero-scratch-regs-3.c new file mode 100644 index 00000000000..824fe9e548f --- /dev/null +++ b/gcc/testsuite/gcc.target/riscv/zero-scratch-regs-3.c @@ -0,0 +1,57 @@ +/* { dg-do compile } */ +/* { dg-options "-march=rv64gcv -mabi=lp64 -O2 -fzero-call-used-regs=all" } */ + +void +foo (void) +{ +} + +/* { dg-final { scan-assembler "vsetvli\[ \t\]*t0,zero,e32,m1,tu,mu" } } */ +/* { dg-final { scan-assembler "vmv.v.i\[ \t\]*v0,0" } } */ +/* { dg-final { scan-assembler "vmv.v.i\[ \t\]*v1,0" } } */ +/* { dg-final { scan-assembler "vmv.v.i\[ \t\]*v2,0" } } */ +/* { dg-final { scan-assembler "vmv.v.i\[ \t\]*v3,0" } } */ +/* { dg-final { scan-assembler "vmv.v.i\[ \t\]*v4,0" } } */ +/* { dg-final { scan-assembler "vmv.v.i\[ \t\]*v5,0" } } */ +/* { dg-final { scan-assembler "vmv.v.i\[ \t\]*v6,0" } } */ +/* { dg-final { scan-assembler "vmv.v.i\[ \t\]*v7,0" } } */ +/* { dg-final { scan-assembler "vmv.v.i\[ \t\]*v8,0" } } */ +/* { dg-final { scan-assembler "vmv.v.i\[ \t\]*v9,0" } } */ +/* { dg-final { scan-assembler "vmv.v.i\[ \t\]*v10,0" } } */ +/* { dg-final { scan-assembler "vmv.v.i\[ \t\]*v11,0" } } */ +/* { dg-final { scan-assembler "vmv.v.i\[ \t\]*v12,0" } } */ +/* { dg-final { scan-assembler "vmv.v.i\[ \t\]*v13,0" } } */ +/* { dg-final { scan-assembler "vmv.v.i\[ \t\]*v14,0" } } */ +/* { dg-final { scan-assembler "vmv.v.i\[ \t\]*v15,0" } } */ +/* { dg-final { scan-assembler "vmv.v.i\[ \t\]*v16,0" } } */ +/* { dg-final { scan-assembler "vmv.v.i\[ \t\]*v17,0" } } */ +/* { dg-final { scan-assembler "vmv.v.i\[ \t\]*v18,0" } } */ +/* { dg-final { scan-assembler "vmv.v.i\[ \t\]*v19,0" } } */ +/* { dg-final { scan-assembler "vmv.v.i\[ \t\]*v20,0" } } */ +/* { dg-final { scan-assembler "vmv.v.i\[ \t\]*v21,0" } } */ +/* { dg-final { scan-assembler "vmv.v.i\[ \t\]*v22,0" } } */ +/* { dg-final { scan-assembler "vmv.v.i\[ \t\]*v23,0" } } */ +/* { dg-final { scan-assembler "vmv.v.i\[ \t\]*v24,0" } } */ +/* { dg-final { scan-assembler "vmv.v.i\[ \t\]*v25,0" } } */ +/* { dg-final { scan-assembler "vmv.v.i\[ \t\]*v26,0" } } */ +/* { dg-final { scan-assembler "vmv.v.i\[ \t\]*v27,0" } } */ +/* { dg-final { scan-assembler "vmv.v.i\[ \t\]*v28,0" } } */ +/* { dg-final { scan-assembler "vmv.v.i\[ \t\]*v29,0" } } */ +/* { dg-final { scan-assembler "vmv.v.i\[ \t\]*v30,0" } } */ +/* { dg-final { scan-assembler "vmv.v.i\[ \t\]*v31,0" } } */ +/* { dg-final { scan-assembler "li\[ \t\]*t0,0" } } */ +/* { dg-final { scan-assembler "li\[ \t\]*t1,0" } } */ +/* { dg-final { scan-assembler "li\[ \t\]*t2,0" } } */ +/* { dg-final { scan-assembler "li\[ \t\]*a0,0" } } */ +/* { dg-final { scan-assembler "li\[ \t\]*a1,0" } } */ +/* { dg-final { scan-assembler "li\[ \t\]*a2,0" } } */ +/* { dg-final { scan-assembler "li\[ \t\]*a3,0" } } */ +/* { dg-final { scan-assembler "li\[ \t\]*a4,0" } } */ +/* { dg-final { scan-assembler "li\[ \t\]*a5,0" } } */ +/* { dg-final { scan-assembler "li\[ \t\]*a6,0" } } */ +/* { dg-final { scan-assembler "li\[ \t\]*a7,0" } } */ +/* { dg-final { scan-assembler "li\[ \t\]*t3,0" } } */ +/* { dg-final { scan-assembler "li\[ \t\]*t4,0" } } */ +/* { dg-final { scan-assembler "li\[ \t\]*t5,0" } } */ +/* { dg-final { scan-assembler "li\[ \t\]*t6,0" } } */ +/* { dg-final { scan-assembler "fmv.d.x\[ \t\]*ft0,zero" } } */