From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by sourceware.org (Postfix) with ESMTP id 3DFEB3857710 for ; Tue, 25 Jul 2023 12:18:58 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 3DFEB3857710 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 6584715BF; Tue, 25 Jul 2023 05:19:40 -0700 (PDT) Received: from localhost (e121540-lin.manchester.arm.com [10.32.110.72]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 7BD943F5A1; Tue, 25 Jul 2023 05:18:56 -0700 (PDT) From: Richard Sandiford To: "juzhe.zhong\@rivai.ai" Mail-Followup-To: "juzhe.zhong\@rivai.ai" ,rguenther , gcc-patches , richard.sandiford@arm.com Cc: rguenther , gcc-patches Subject: Re: [PATCH] VECT: Support CALL vectorization for COND_LEN_* References: <20230724114650.61923-1-juzhe.zhong@rivai.ai> <62B332CEE95B33E1+2023072507160172829450@rivai.ai> <04ABFAE5A832E860+2023072518172420282933@rivai.ai> <33D742B74BE060CC+2023072519312540614935@rivai.ai> Date: Tue, 25 Jul 2023 13:18:55 +0100 In-Reply-To: <33D742B74BE060CC+2023072519312540614935@rivai.ai> (juzhe's message of "Tue, 25 Jul 2023 19:31:26 +0800") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-20.4 required=5.0 tests=BAYES_00,KAM_DMARC_NONE,KAM_DMARC_STATUS,KAM_LAZY_DOMAIN_SECURITY,SPF_HELO_NONE,SPF_NONE,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: "juzhe.zhong@rivai.ai" writes: > Hi, Richard. >>> I think we should have an internal-fn helper that returns IFN_COND_LEN_* >>> for a given IFN_COND_*. It could handle IFN_MASK_LOAD -> IFN_MASK_LEN_LOAD >>> etc. too. > Could you name this helper function for me? Does it call "get_conditional_len_internal_fn_for_conditional_fn" ? How about get_len_internal_fn? /* If there exists an internal function like IFN that operates on vectors, but with additional length and bias parameters, return the internal_fn for that function, otherwise return IFN_LAST. */ Thanks, Richard