From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtpbgbr2.qq.com (smtpbgbr2.qq.com [54.207.22.56]) by sourceware.org (Postfix) with ESMTPS id 1FB103857B98 for ; Thu, 24 Aug 2023 09:38:41 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 1FB103857B98 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=rivai.ai Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=rivai.ai X-QQ-mid: bizesmtp62t1692869915tlpbqc6c Received: from TABLET-POE6JQHH ( [222.125.138.247]) by bizesmtp.qq.com (ESMTP) with id ; Thu, 24 Aug 2023 17:38:34 +0800 (CST) X-QQ-SSF: 01400000000000G0V000000A0000000 X-QQ-FEAT: 3+QwQJFiZ1kvtxWq570oben/PAZ1IPC80mRbVDvOzqf8C8Y6BBZK8qeBZqI8E gzp0mLEDls1uZ86M94O4GzYWrQEbOMwaUidohJHqX5jUDEn26J0CCTClw1P84QRSaaME2SE XuCX5pgiBoWL5BO8WEKiuQuQtd5zyB0WaFx59HSZWPf1UDfym2KrThjLaa8NUkaVMzAkS7B xkEXK/Xr0xV++H3hflaAwzw/BLPV0YDfromCp4RFdiWWuDgyN8R7e8TqyX9/K8B1lKwTa6U wfxaRMy2Ij74f4nKXLnTSJg/KVEAjMAWkta/nE3TerPpa/LwgIl2bBA3dlpeACDENaTBG98 Ksn+0DJyT2RXXX48TL8Od4tPRoY6G+C/EIQhDazCZaHnSvyFnD1oT2WqnMm0/xJBYR0uIqH uuBZtURQr3A5kHXz1YUXx9qFQbVe4sVtRDIyz4IcbfU= X-QQ-GoodBg: 2 X-BIZMAIL-ID: 10955796221385382948 Date: Thu, 24 Aug 2023 17:38:35 +0800 From: =?UTF-8?B?6ZKf5bGF5ZOy?= To: rdapp.gcc , gcc-patches Cc: rdapp.gcc , kito.cheng , kito.cheng , "Jeff Law" Subject: Re: Re: [PATCH] RISC-V: Support LEN_FOLD_EXTRACT_LAST auto-vectorization References: <20230824021925.1717486-1-juzhe.zhong@rivai.ai>, <3a311c3b-c2b9-e044-f5ed-3280f3e327eb@gmail.com> X-Priority: 3 X-GUID: CE828918-E262-4767-810F-1AA0F6984691 X-Has-Attach: no X-Mailer: Foxmail 7.2.23.121[cn] Mime-Version: 1.0 Message-ID: <6A5E9669ACBBD280+202308241738353030669@rivai.ai> Content-Type: multipart/alternative; boundary="----=_001_NextPart327282113208_=----" X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:rivai.ai:qybglogicsvrgz:qybglogicsvrgz7a-one-0 X-Spam-Status: No, score=-5.4 required=5.0 tests=BAYES_00,HTML_MESSAGE,KAM_DMARC_STATUS,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS,TXREP,T_KAM_HTML_FONT_INVALID 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: This is a multi-part message in MIME format. ------=_001_NextPart327282113208_=---- Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 Pj4gVGhlIHVzZV9yZWFsX21lcmdlIGp1c3QgYXBwZWFyZWQgb2RkIHRvIG1l IGhlcmUgYmVjYXVzZSB0aGVyZSBpcw0KPj4gbm90aGluZyB0byBtZXJnZS4g IEJ1dCBpbiB0aGUgZW5kIGl0J3MganVzdCB0byBvbWl0IHRoZSB2dW5kZWYg b3BlcmFuZA0KPj4gc28gZ29vZCBmb3Igbm93LiAgVGhlcmUgaXMgYW4gaW5j cmVhc2luZyBudW1iZXIgb2Ygb3Bwb3J0dW5pdGllcyB0bw0KPj4gcmVmYWN0 b3IgaW4gcmlzY3Ytdi5jYywgdGhvdWdoIDspDQoNCkkgdGhpbmsgd2UgY2Fu IGNoYW5nZSB1c2VfcmVhbF9tZXJnZSBpbnRvIHVzZV9kdW1teV9tZXJnZT8N CldoZW4gaXQncyB0cnVlIH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