From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg1-x534.google.com (mail-pg1-x534.google.com [IPv6:2607:f8b0:4864:20::534]) by sourceware.org (Postfix) with ESMTPS id A42953858D1E for ; Thu, 3 Aug 2023 13:56:45 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A42953858D1E Authentication-Results: sourceware.org; dmarc=pass (p=reject dis=none) header.from=sifive.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=sifive.com Received: by mail-pg1-x534.google.com with SMTP id 41be03b00d2f7-5645bbc82aaso638833a12.2 for ; Thu, 03 Aug 2023 06:56:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; t=1691071004; x=1691675804; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=dOO5F73qQIRT+ysG1ynHHCQ9uEtaFqByoeKKWH7gHbU=; b=ZD2ONAffAaZVmG+bX3LB8lYZdcSSvzFmn5VtSjJZln4RnKkzE0K2nxkHnlNc3Ps5wr SusBHdy0OA7AXHdXhqAk1DOzMTHEPBoqCEVNVhj4wsuNjm0IyxVZTHb2zjPfOzcIAbWy Qa9yW75vpfBUOSrJIeJ+9bdAcRfe2Rw+NW4KFO5lggR6/v/pzxeZqNcdPScKSiQw8w2s ZI43altwxYglIQyZCugKb8173fKxuJ8dVDkBgbdAgUhgKWWszY2Ocw+yp7rassOx6/9A x3a+RzHZGWTXJRpWmJ4twYlC+/vTbrqWg3MjRxB72sF+b7GaJM6M07umifrziZspKDCb r3GQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691071004; x=1691675804; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=dOO5F73qQIRT+ysG1ynHHCQ9uEtaFqByoeKKWH7gHbU=; b=Ihbb95fORAR07UJDpkPi5rPbczQcAVvFEFjA4sETtvuS0PGq5SBa5nUpvZp5gJVjYA 9JdFiQfnTU+iG2InEaFtTo5CkHxe94cdjnUJvJhLyprKu6e5Z6waXtJgbvitYbtjfl5q RJWxzQEnAMQJ9pwoxf0SbKwGHAP6rq4s/e/OvbJo+q6wum4gXfJCZjGVIWS04X08x/rd l3RQJebUlz3LFQeHi1Pmlyxz3uD72Hu0b2Dol3gK8Cil3fHXBCcbRXnvvQFaHWTydYnG +MdfcaudkGgqlKvnC3wMyRess8uUHSGWyuWJcmOE8EThWlRCl+n2O5xq+pQPfXAIgl3W lZaw== X-Gm-Message-State: ABy/qLYeN98HS//TqKqsfyIEOhk/p1uMyZT5CglP5rClHc6iokHfKG9M EnTn83U8gI5xISZgFCYLTDtVLJtv695pZZorn61wEA== X-Google-Smtp-Source: APBJJlHH9q2u5femK/waaFJYRIKb2AEryWfaaOREgKLxevBBWEeeYC7C+ePq57EDWt5kyd8SyQFBIJbHsSAds2aOJGs= X-Received: by 2002:a17:90b:1901:b0:268:f987:305f with SMTP id mp1-20020a17090b190100b00268f987305fmr5728750pjb.46.1691071004423; Thu, 03 Aug 2023 06:56:44 -0700 (PDT) MIME-Version: 1.0 References: <112f5c53-4809-b71d-2296-dfaebde733cb@gmail.com> In-Reply-To: <112f5c53-4809-b71d-2296-dfaebde733cb@gmail.com> From: Kito Cheng Date: Thu, 3 Aug 2023 21:56:33 +0800 Message-ID: Subject: Re: [PATCH 3/5] [RISC-V] Generate Zicond instruction for select pattern with condition eq or neq to 0 To: Jeff Law Cc: =?UTF-8?B?6ZKf5bGF5ZOy?= , gcc-patches , "kito.cheng" , Robin Dapp , zengxiao Content-Type: multipart/alternative; boundary="000000000000825b6b06020526df" X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00,BODY_8BITS,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,HTML_MESSAGE,KAM_NUMSUBJECT,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: --000000000000825b6b06020526df Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I am working on that, it seems the cost of vsetvli instruction become 0 due to this change, then loop invariant motion won't hoist vsetvli longer. Jeff Law =E6=96=BC 2023=E5=B9=B48=E6=9C=883=E6=97= =A5 =E9=80=B1=E5=9B=9B 21:49 =E5=AF=AB=E9=81=93=EF=BC=9A > > > On 8/3/23 03:27, juzhe.zhong@rivai.ai wrote: > > > https://github.com/gcc-mirror/gcc/commit/e15d0b6680d10d7666195e9db6558136= 4ad5e5df > < > https://github.com/gcc-mirror/gcc/commit/e15d0b6680d10d7666195e9db6558136= 4ad5e5df > > > > > > This patch causes so many fails in the regression: > Mine. I'll take care of it. Probably something slipping through the > expander that shouldn't. I've been primarily focused on the execute.exp > part of the suite to find code correctness issues with the original patch. > > jeff > --000000000000825b6b06020526df--