From patchwork Mon Apr 22 13:47:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Li, Pan2" X-Patchwork-Id: 1926246 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=ltSozGGC; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=server2.sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=patchwork.ozlabs.org) Received: from server2.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 ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4VNWC03zkGz1yZq for ; Tue, 23 Apr 2024 02:38:04 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id BBED6384AB74 for ; Mon, 22 Apr 2024 16:38:02 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:470:142:3::10]) by sourceware.org (Postfix) with ESMTPS id 118B13858401 for ; Mon, 22 Apr 2024 16:37:15 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 118B13858401 Authentication-Results: sourceware.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=intel.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 118B13858401 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2001:470:142:3::10 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1713803841; cv=none; b=kPenX+LaL50RyyE8j9cq6aeCv/2Yh/iEVGmArgcaEAVYm8uDFT1sTCiRYWib4lIM7NgeoXsBn+OEj4cWpMIeo+Q6dB0qnfqUDfRcLkOtxIYOGJyWBINGnl9SG4gLkythkkJv5540kfuIJidZeKfo4QKkAbvuMEVcisBL55ChBgw= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1713803841; c=relaxed/simple; bh=XDDy+k7vmWw1+s+EmCbo9gfI+74vI/voqgrjfyGdF9s=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=l6Hnav2UBirSpRJqljiLh8Ex2WFWVepWg5QhsojXliSEdvPOeDaXLixSwlHcqRksjHRgdkIveDrWuvtolORoIfu9wfDZ85Z0uNPfbYMNkyLaW+eL1Ns2Zp7siIGzfG2gPsHGhCX8ltAGUjtOBNIOZR4C1muDn98fSKHhooccAMk= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from mgamail.intel.com ([198.175.65.17]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ryu2F-0000kp-2o for gcc-patches@gcc.gnu.org; Mon, 22 Apr 2024 09:48:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1713793723; x=1745329723; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=XDDy+k7vmWw1+s+EmCbo9gfI+74vI/voqgrjfyGdF9s=; b=ltSozGGCgeWbezMSRIYuy2WrDTepXb63rSOjpb3PbKirqPcAzzcbpE76 Oh89GVzwQaF0ZayLHftnAIxV/aeUm4tZ8jY1iOhlQqyssPUcJzMmcqz1u fv5990LK51gPVoutNEsbGk5AWiLF9ygYJLMeqI3NFg/iUMCETdeEu8zRr 5MM72UkfqvG8T4KDby2+uNn8+XUVWxntyWUv62CeT9yj4lFkhZ6TIgbmk 8OV5nI0uP5NX50iWo4YDC3qsJmClHZJPEG1Xb/wC2qudTNPdQZKVBx4bU /sQfE4dlHvXnLqMhTkX0NvCwBw/RiEpC22iPVld3J0AIVlLkLDH4deKJI A==; X-CSE-ConnectionGUID: OXCRWV/6QFORPwJzJEJMcg== X-CSE-MsgGUID: 90cioN5NS+OXRtOTWXCzbw== X-IronPort-AV: E=McAfee;i="6600,9927,11052"; a="9445620" X-IronPort-AV: E=Sophos;i="6.07,220,1708416000"; d="scan'208";a="9445620" Received: from fmviesa003.fm.intel.com ([10.60.135.143]) by orvoesa109.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Apr 2024 06:47:38 -0700 X-CSE-ConnectionGUID: oUYweUxAQ1SUZfGPgxJdiA== X-CSE-MsgGUID: fc72eRuVQo6+ocIHNNLgGA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,220,1708416000"; d="scan'208";a="28538257" Received: from shvmail03.sh.intel.com ([10.239.245.20]) by fmviesa003.fm.intel.com with ESMTP; 22 Apr 2024 06:47:36 -0700 Received: from pli-ubuntu.sh.intel.com (pli-ubuntu.sh.intel.com [10.239.159.47]) by shvmail03.sh.intel.com (Postfix) with ESMTP id 54B0810081F4; Mon, 22 Apr 2024 21:47:35 +0800 (CST) From: pan2.li@intel.com To: gcc-patches@gcc.gnu.org Cc: juzhe.zhong@rivai.ai, kito.cheng@gmail.com, rdapp.gcc@gmail.com, Pan Li Subject: [PATCH v1] RISC-V: Adjust overlap attr after revert d3544cea63d and e65aaf8efe1 Date: Mon, 22 Apr 2024 21:47:34 +0800 Message-Id: <20240422134734.1909499-1-pan2.li@intel.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Received-SPF: pass client-ip=198.175.65.17; envelope-from=pan2.li@intel.com; helo=mgamail.intel.com X-Spam_score_int: -50 X-Spam_score: -5.1 X-Spam_bar: ----- X-Spam_report: (-5.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.669, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Status: No, score=-11.2 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_NUMSUBJECT, SPF_HELO_PASS, 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.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org From: Pan Li After we reverted below 2 commits, the reference to attr need some adjustment as the group_overlap is no longer available. * RISC-V: Robostify the W43, W86, W87 constraint enabled attribute * RISC-V: Rename vconstraint into group_overlap The below tests are passed for this patch. * The rv64gcv fully regression tests. gcc/ChangeLog: * config/riscv/vector-crypto.md: Signed-off-by: Pan Li Signed-off-by: Pan Li --- gcc/config/riscv/vector-crypto.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/config/riscv/vector-crypto.md b/gcc/config/riscv/vector-crypto.md index 519c6a10d94..23dc549e5b8 100755 --- a/gcc/config/riscv/vector-crypto.md +++ b/gcc/config/riscv/vector-crypto.md @@ -322,7 +322,7 @@ (define_insn "@pred_vwsll_scalar" "vwsll.v%o4\t%0,%3,%4%p1" [(set_attr "type" "vwsll") (set_attr "mode" "") - (set_attr "group_overlap" "W21,W21,W21,W21,W42,W42,W42,W42,W84,W84,W84,W84,none,none")]) + (set_attr "vconstraint" "W21,W21,W21,W21,W42,W42,W42,W42,W84,W84,W84,W84,no,no")]) ;; vbrev.v vbrev8.v vrev8.v (define_insn "@pred_v"