From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-vs1-xe2a.google.com (mail-vs1-xe2a.google.com [IPv6:2607:f8b0:4864:20::e2a]) by sourceware.org (Postfix) with ESMTPS id AF437385828E for ; Mon, 19 Dec 2022 15:06:55 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org AF437385828E Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-vs1-xe2a.google.com with SMTP id f189so8925838vsc.11 for ; Mon, 19 Dec 2022 07:06:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=ibrujBvN/U7sSGKNbdFFDGoGfFRnbCvOX1iJm2+DorI=; b=JAXTYB7VvJSHATiUFMTAv+tseW6a8cLFpzoiVunLPwyBTGvbtVI1LHeuGoWPfMC25P L3MnauYBRs6aQKhf1OCzdz1MWOorUrAHJwRQLTm8YCWqwqt7LQy18kxEcbHaOZMjJ+7t GVuU66jc2mtmDe9OBxe3PMjQ3hGODU8jzG6zF3H6gqCtENktDukr8iy1vdWdc3XtWnOv fsxp2wBqJkKY0zlYi/LsJJiBPxZ+yAp2LHvu6XMu99cF4wP8UqgeaMw6Lq9jDmrjWKde O3dO9ejX3AvkBP/bouWpiaAiABZ4ayR5yBh0FONSRbUI+MlV34FkLB2kMjdqYL0g3bP2 +8uQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=ibrujBvN/U7sSGKNbdFFDGoGfFRnbCvOX1iJm2+DorI=; b=nNMYgwAaYwacLG1b7EJWmtl0LyDAqVqzJBFdjWiZi32/UIjNU5AF6lncABMDX6E4Ho /zSkF8zN8KkVFdTSRc1GmN3l2+D/4oZEVuKjHxrI2EbhW9M3icnOwJuRYNSKgTps1A2p g8DC+H4cU6aORNozWym+G5N+1+Z5ENgHHTq1+r/0Ckj6l25hHjDkrHgdS78zW3vHaUu5 l/nZSCMmwRqdgOWV8n1GS8LBfNYGv/7K7V4yEi67zOZ5xh8WhVYWszgfuKxFpN1mYy0Z Qfrvv/oy8f6hQLkeDF7LRBx6BtLIyQt8Eky1nkdnNn5fZqS+ifQSlF94OhSFJYihVRmT 1tOA== X-Gm-Message-State: AFqh2krBu2RwcUeiN4kONrOS/l8qtGgiTIuZXcCZ9mUMIYzZgvYq0yDN bwIIHK+uMkB7DCD8O587pkypPx41ACLBRR5XA2M= X-Google-Smtp-Source: AMrXdXvf0XQkbgrUbKq5KavjbjzdcKRoOkn5g4LEJqiHVEVAnZnA9mfXMniJU5eLwlx9L8ipdD9WNFHmO7RlCkg8MZU= X-Received: by 2002:a05:6102:914:b0:3be:814f:b94f with SMTP id x20-20020a056102091400b003be814fb94fmr298785vsh.71.1671462414889; Mon, 19 Dec 2022 07:06:54 -0800 (PST) MIME-Version: 1.0 References: <20221214113641.63320-1-juzhe.zhong@rivai.ai> <4512AAF121C9F300+2022121709222655386152@rivai.ai> In-Reply-To: <4512AAF121C9F300+2022121709222655386152@rivai.ai> From: Kito Cheng Date: Mon, 19 Dec 2022 23:06:40 +0800 Message-ID: Subject: Re: Re: [PATCH] RISC-V: Remove unit-stride store from ta attribute To: =?UTF-8?B?6ZKf5bGF5ZOy?= Cc: Jeff Law , gcc-patches , palmer Content-Type: multipart/alternative; boundary="0000000000007eb77505f02fabcd" X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,BODY_8BITS,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,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 List-Id: --0000000000007eb77505f02fabcd Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Commited to trunk, thanks:) =E9=92=9F=E5=B1=85=E5=93=B2 =E6=96=BC 2022=E5=B9=B41= 2=E6=9C=8817=E6=97=A5 =E9=80=B1=E5=85=AD 09:22 =E5=AF=AB=E9=81=93=EF=BC=9A > Yes, the vector stores doesn't care about policy no matter mask or tail. > Removing it can allow VSETVL PASS have more optimization chances > since VSETVL PASS has backward demands fusion. > > For example: > vadd tama > vse.v > VSETVL PASS will choose to set tama for vse.v > > vadd tumu > vse.v > VSETVL PASS will choose to set tumu for vse.v > > > > juzhe.zhong@rivai.ai > > From: Jeff Law > Date: 2022-12-17 04:01 > To: juzhe.zhong; gcc-patches > CC: kito.cheng; palmer > Subject: Re: [PATCH] RISC-V: Remove unit-stride store from ta attribute > > > On 12/14/22 04:36, juzhe.zhong@rivai.ai wrote: > > From: Ju-Zhe Zhong > > > > Since store instructions doesn't care about tail policy, we remove > > vste from "ta" attribute. Hence, we could have more fusion chances > > and better optimization. > > > > gcc/ChangeLog: > > > > * config/riscv/vector.md: Remove vste. > Just to confirm that I understand the basic model. Vector stores only > update active elements, thus they don't care about tail policy, right? > > Assuming that's the case, then this is OK. > > jeff > > --0000000000007eb77505f02fabcd--