Message ID | 20231105023744.2158302-1-juzhe.zhong@rivai.ai |
---|---|
State | Unresolved |
Headers |
Return-Path: <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:8f47:0:b0:403:3b70:6f57 with SMTP id j7csp1934468vqu; Sat, 4 Nov 2023 19:38:25 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHsVvY+DqYPDcprUsyK1gamwk3ImfPEEvhEo7Lw+9zvW3I0xSI5OO7Md+JnPYgVTEcQxtqJ X-Received: by 2002:a05:6214:e67:b0:668:e6f7:3d48 with SMTP id jz7-20020a0562140e6700b00668e6f73d48mr31819056qvb.19.1699151905090; Sat, 04 Nov 2023 19:38:25 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1699151905; cv=pass; d=google.com; s=arc-20160816; b=B4x3M7PM1U37nFGndYhijmvm08rC42XRAs4cG+0hcb120OE/+sTgTZcpGdQzeKoGd2 KQno5N90Nsiv989NiARgygH7MW3iTH+no4pUi5O0qsyy7xn8valkJ2X6y/uTIfUDf7yS +Ukev9hs+zlImlyE/GnVVoNwtvpfUoprwRCN+eQZeLwon3Q5jFssxyolbzqHMtENYflM 5psTBJlPBlt4Y/mS21mRd3UNxTChnAv9IXP4Phh9gxbwenTnAdWWJ4s+E9oCPOGQs61v 1VOkuV/w26jNZSM9jSSznyo9cwMsy9FH8KeVoJkpXq7KjxPsMUwaH2Y8ab1mN51nY/j7 1bwA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:feedback-id :content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:arc-filter:dmarc-filter:delivered-to; bh=WQKEpSzxS6FgGW8ihQNbW7qZ5akE7i2nN5Ki1d+v5Lg=; fh=SOAEj/ninL7ThhY+pfZ17UhBFnlg3e0TtoUTG2lSipg=; b=v9bITDWpMFpaFnSDB4MItqsuM1eU5TycIXWnYh5vDDB2dogfHWG7pGj7WrdxL2HfEV NeyXMxL7qi9C4V8VwabASBuutVF4OoyUva04SZw9CRL+DD3D3DNXSaBWv2ztsw6QDXYW emwkjCwP6WP1gOHjHk3ycwItkVd3ZdJ/rIGWXvJhYjIVnT6l1ivyBgL3uyJWgpHJPtfy 0FFea2e4QjSQ0fT+7cKbqokl3BxFnuEqCBZSXItjKUEL8Ts0OZ5ZvHkywJsTp/RssrJA FIlJwS/WkoMZQiXrTv2UkKbgbnGwZb6gE+9llXMlBqIF7aQzcNQAx+TCpu3ZxlZOv6L3 412g== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id d16-20020a0cfe90000000b0066d16ed048asi3720978qvs.29.2023.11.04.19.38.24 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 04 Nov 2023 19:38:25 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id A76553858416 for <ouuuleilei@gmail.com>; Sun, 5 Nov 2023 02:38:24 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from smtpbgjp3.qq.com (smtpbgjp3.qq.com [54.92.39.34]) by sourceware.org (Postfix) with ESMTPS id 4CA463858CDA for <gcc-patches@gcc.gnu.org>; Sun, 5 Nov 2023 02:37:57 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 4CA463858CDA Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=rivai.ai Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=rivai.ai ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 4CA463858CDA Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=54.92.39.34 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1699151879; cv=none; b=AMkCkAXkjAS2OVa0hvplyUdhf02ncIhjLXDlExZmPC9rNj7ycigQgV7tCTvjcd0AQQZAY1I/xgggVULV5pvADwtUx0mMYF8WyEE/HYagAgLE+JcJN1i6l6hxwNF0afjIH4MvhuT6Uk+OEaKa+2yr/4K8uwPoU1p3D5QI7x21/r4= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1699151879; c=relaxed/simple; bh=GIB0k6ch2RYpYBfMY4frk28BJFuXuV/trVcNRZpPhbI=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=buBvzyekXZ5OdUgBoRqqXkQOMACM9CgRM6AKdGt9DtEBekN/WwgTUY8munYwtTehTdf+rpXQNohcvfeOD5Moxu+OP449csjvec+LDZyzn2zh2IIrZAHJ/l42eCfc1Dn1EZgBb/xzVrYIF5zt7TcABQVKjh/70VhZHV5qPv0g1H0= ARC-Authentication-Results: i=1; server2.sourceware.org X-QQ-mid: bizesmtp64t1699151871tx5jgvfs Received: from rios-cad121.hadoop.rioslab.org ( [58.60.1.9]) by bizesmtp.qq.com (ESMTP) with id ; Sun, 05 Nov 2023 10:37:50 +0800 (CST) X-QQ-SSF: 01400000000000G0V000000A0000000 X-QQ-FEAT: znfcQSa1hKZcAgisoZnYF3TYyaqKfF1iHAD3hoZ1iukTmfHx92BZdg5YpZYL8 YpCdbb1Qo5HvoaQPsdUaX7F2DVy4xOJpErwddsL97ZUJcK2pf8xP4WuedsmqxQ4CVwo+out L9zE0Ek6vZlTKkOMLW4Te+xKparuP3tMOmuxT1ISyE+RbZOhRtpYW60q/TsiaQbfLkr32Z7 M2ifh628j5K/mEQc5AZKe1vOhYVEEP1mZ/PwMidPnVqQnFfRp+1ZwWaqIBngXjUkVxApmOT QoKxxqFhXkhsEfj506tb3fSSoH79CIYL7rIRraTQhVpajBvcjGV7dZKnKFJ7pBavU265qWs Nbhjb56tyFfR8wGVvvvuR8eY979i0QldPUJzdF6HLAIY2L9vak= X-QQ-GoodBg: 2 X-BIZMAIL-ID: 10872428558000814486 From: Juzhe-Zhong <juzhe.zhong@rivai.ai> To: gcc-patches@gcc.gnu.org Cc: pan2.li@intel.com, Juzhe-Zhong <juzhe.zhong@rivai.ai> Subject: [Committed] RISC-V: Fix bug of vlds attribute Date: Sun, 5 Nov 2023 10:37:44 +0800 Message-Id: <20231105023744.2158302-1-juzhe.zhong@rivai.ai> X-Mailer: git-send-email 2.36.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:rivai.ai:qybglogicsvrgz:qybglogicsvrgz7a-one-0 X-Spam-Status: No, score=-12.2 required=5.0 tests=BAYES_00, GIT_PATCH_0, KAM_DMARC_STATUS, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, 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.30 Precedence: list List-Id: Gcc-patches mailing list <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1781689908200207101 X-GMAIL-MSGID: 1781689908200207101 |
Series |
[Committed] RISC-V: Fix bug of vlds attribute
|
|
Checks
Context | Check | Description |
---|---|---|
snail/gcc-patch-check | warning | Git am fail log |
Commit Message
juzhe.zhong@rivai.ai
Nov. 5, 2023, 2:37 a.m. UTC
This issue is noticed when support strided load/store auto-vectorization. Commit it as it is obvious. gcc/ChangeLog: * config/riscv/vector.md: Fix bug. --- gcc/config/riscv/vector.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/config/riscv/vector.md b/gcc/config/riscv/vector.md index ce5c5be8e42..c47bc77ab7c 100644 --- a/gcc/config/riscv/vector.md +++ b/gcc/config/riscv/vector.md @@ -840,7 +840,7 @@ ;; wheras it is pred_strided_load if operands[3] is vector mode. (eq_attr "type" "vlds") (if_then_else (match_test "VECTOR_MODE_P (GET_MODE (operands[3]))") - (const_int INVALID_ATTRIBUTE) + (const_int 8) (const_int 7)) (eq_attr "type" "vldux,vldox,vialu,vshift,viminmax,vimul,vidiv,vsalu,\