From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf1-x434.google.com (mail-pf1-x434.google.com [IPv6:2607:f8b0:4864:20::434]) by sourceware.org (Postfix) with ESMTPS id E22103858D3C for ; Fri, 9 Jun 2023 15:09:31 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org E22103858D3C 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-pf1-x434.google.com with SMTP id d2e1a72fcca58-652dd220d67so1911654b3a.3 for ; Fri, 09 Jun 2023 08:09:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686323371; x=1688915371; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=6X9npv3MF09FbThM/UN9xTJHT3pBII1/mYcUDTJwXmw=; b=JnlK5TLgewDF7pLtmmafd65zh9z1ybYN8+ETqQypH+Ay/5HFqqo3hVzlGsqdPYavxZ vFlbQwE+E0qZHtKVKxsYQgSMUaPBA/Uo2enhbKQ2ueadHtdjeGuv7v69y2+15Ja5I/nU Xj64iMvVTY00E/8Re5HfyJV/kKnJBtN/+6KGy7mvuiCuoMAkmYvCFs2RhE5O996PQvrj oM3qnvCBU+8VFK2jdmKmKcuzCJ8b06T9/zgBDh8KWx8UyRkr1Ve5aOkm05ET/JFXc1CQ myUcYPY2HD6nFtUq97M1I4myiQlezKn+6oUQZP1BXlWPovtx5xbidWOzfPfTznAH8Dah mFiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686323371; x=1688915371; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=6X9npv3MF09FbThM/UN9xTJHT3pBII1/mYcUDTJwXmw=; b=DPm+l9QquNkD5/ErQDQcGBUyEhORUdpRW2P/kddmaY6611xULtgU1qU9T4qTWaEFon 1W4Dx615pobrqbqsjTNgy/nGc+07bQ2AZeCUace0J3nzQPGqw+FqWzyForRoF8EEHe6x aefUP9OCeouw4eIUVDFuZ5GswKE8ZMcVTilngVG4LaRDs8VMuvEmFM5RFqvdX7E1IRv+ Xl5WXi4URTq4BDKQEAYjOvI0dqjg4fz66vD1qnZIeesQx3xjXUbGT0IVwHTqVHo0OU3i HckhNRly3lsxccTT9ZeYY/I6PGyapUCV4lXEspd3/7NVXX0oHwysHUL7ENVaRhOXndcS Ejxg== X-Gm-Message-State: AC+VfDzy5FSIPEIxHCoMN2KT3N/vDQd3OlS0kf1bqooPqKl1opuJrE0G 7EFBXeZz1+G8dOKGzkLILvk= X-Google-Smtp-Source: ACHHUZ7E6PE1hL7KmU0X5r+dulVVEklOVZ+yh3ZJ73bOZNetJ2B3qjTbgt1nVbO5/OiVJkL0rNv9gA== X-Received: by 2002:a05:6a00:2313:b0:636:f5f4:5308 with SMTP id h19-20020a056a00231300b00636f5f45308mr1839083pfh.7.1686323370809; Fri, 09 Jun 2023 08:09:30 -0700 (PDT) Received: from [172.31.0.109] ([136.36.130.248]) by smtp.gmail.com with ESMTPSA id i21-20020aa78b55000000b0064fc715b380sm2869596pfd.176.2023.06.09.08.09.29 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 09 Jun 2023 08:09:30 -0700 (PDT) Message-ID: <79d48828-0dad-de54-5388-1e2651e3b739@gmail.com> Date: Fri, 9 Jun 2023 09:09:28 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 Subject: Re: [PATCH V2] RISC-V: Rework Phase 5 && Phase 6 of VSETVL PASS Content-Language: en-US To: =?UTF-8?B?6ZKf5bGF5ZOy?= , gcc-patches Cc: "kito.cheng" , "kito.cheng" , palmer , palmer , "rdapp.gcc" , "pan2.li" References: <20230609104105.9100-1-juzhe.zhong@rivai.ai> <90CD0C0ED3BC332E+2023060922585255646122@rivai.ai> From: Jeff Law In-Reply-To: <90CD0C0ED3BC332E+2023060922585255646122@rivai.ai> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.8 required=5.0 tests=BAYES_00,BODY_8BITS,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,NICE_REPLY_A,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: On 6/9/23 08:58, 钟居哲 wrote: >>> I'd probably adjust the name as well. There's an important exception to >>> returning the first vsetvl -- you stop the search if you encounter a >>> user RVV instruction. > > Could you give me a function name of this? > like: > get_first_vsetvl_prior_all_rvv_insns > is it ok? But I think the name is too long. get_first_vsetvl_before_rvv_insns? It's a bit smaller and I think captures the key exception -- does that work for you? Jeff