From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ua1-x931.google.com (mail-ua1-x931.google.com [IPv6:2607:f8b0:4864:20::931]) by sourceware.org (Postfix) with ESMTPS id C32693858C52 for ; Wed, 24 May 2023 07:31:29 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C32693858C52 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-ua1-x931.google.com with SMTP id a1e0cc1a2514c-783e4666739so504918241.0 for ; Wed, 24 May 2023 00:31:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684913488; x=1687505488; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=Gnd3Pg/kAVgsPOkTzj5cd1Etd/llEXdemMDZ8O4q4jo=; b=mM85blMdfw3J9TkF2y2rlIjcNwgwf9coqcGZhPkemjGc7b4ZXtITILdTOsKU+uKBzU OFFkfA1UodJuS58k5Nun0vi39T0ciwC4UtWA77RvmZeUIks+lWexmTh89WSSb+408/4a 7zypcW2YObDfw6T7y/kHfIAP/hnp/dKchN1R7yYxiHy42nY5IWgpJrxzrqB+medoejLz c6kkDaFe3SGKHu2Ycl9BxIY35jqhAQWPlH2n4Xeth2EhcP1AiYAhf4Cp/+YHM6um/OPN z0oGfLolfnfKVlzJ5PSAy11FQullPqEdplhPpgd2vog4vhyeSycM6caELHQJKs93g5Fu RMNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684913488; x=1687505488; h=content-transfer-encoding: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=Gnd3Pg/kAVgsPOkTzj5cd1Etd/llEXdemMDZ8O4q4jo=; b=dEKRLj5Z+eSJjhfUZ9D8jQxsVV3gRlni795u1M9No51u09RDeRvoFMeX/WydqTY/lJ dn3qbBKnF2QZKuWQaZwayPDKGpGm7ciS54DW4U6Ay05G9jaW4VzvDIC4agdtUfVXlsm+ 5wWr+VnW+2eh9Pzyzy5Pj5GMbmqy2kJSFJKsCVq+IZcX7p+GJgMukjpw/D3/bBz0Xlo5 DY6p4qZalByZZIfy6e/hPn9lnaGcC3+TgR0Q1BOKptEJImCYIqLPUG2o0wJw8YfmCjdm j/g7mkRTTuCdvTaZTsDP8IM6RU9rrv6H2/iTVESLHojho0iDj7MCaVtKJh93olLd76qi 5mfg== X-Gm-Message-State: AC+VfDxq318VL6byFsE9JVdg07rREfJkmSxt5uGE4U/wHLVuFGl1ndJr vKhKX0/9RBQo6+z9rNl74AwNqsEYALAcalo9GF8= X-Google-Smtp-Source: ACHHUZ6XXRzXBjjBlm9nsPRIUHgqb4f2UXJogHZbw9rkxE7SIJPT40vF5NPaBFq4K+OUL1RyCw/SMHVXTtIfbjv1x98= X-Received: by 2002:a67:f947:0:b0:439:61d9:2683 with SMTP id u7-20020a67f947000000b0043961d92683mr1220029vsq.22.1684913488544; Wed, 24 May 2023 00:31:28 -0700 (PDT) MIME-Version: 1.0 References: <20230524072723.1387346-1-juzhe.zhong@rivai.ai> In-Reply-To: <20230524072723.1387346-1-juzhe.zhong@rivai.ai> From: Kito Cheng Date: Wed, 24 May 2023 15:31:17 +0800 Message-ID: Subject: Re: [V2 COMMITTED] RISC-V: Add RVV mask logic auto-vectorization To: juzhe.zhong@rivai.ai Cc: gcc-patches@gcc.gnu.org, kito.cheng@sifive.com, palmer@dabbelt.com, palmer@rivosinc.com, jeffreyalaw@gmail.com, rdapp.gcc@gmail.com, pan2.li@intel.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,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 List-Id: LGTM, just one comment in git comment, no need v3, just commit with the fix is fine :) On Wed, May 24, 2023 at 3:28=E2=80=AFPM wrote: > > From: Juzhe-Zhong > > This patch is adding mask logic auto-vectorization. > define the pattern as "define_insn_and_split" to allow don't forgot to update here ^^^^^ > combine PASS easily combine series instructions. > > For example: > combine vmxor.mm + vmnot.m into vmxnor.mm > > Build success and regression PASS > > And committed.