From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtpbgsg2.qq.com (smtpbgsg2.qq.com [54.254.200.128]) by sourceware.org (Postfix) with ESMTPS id 9468A3858C2C for ; Thu, 24 Aug 2023 09:33:15 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 9468A3858C2C 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: bizesmtp80t1692869589tcrbuf89 Received: from TABLET-POE6JQHH ( [222.125.138.247]) by bizesmtp.qq.com (ESMTP) with id ; Thu, 24 Aug 2023 17:33:08 +0800 (CST) X-QQ-SSF: 01400000000000G0V000000A0000000 X-QQ-FEAT: 7YFKcddXaggijWqJ14aCmKE0QQM/G4lvc4MVZ5FnEYZmB5Ebh1GYrn+u7mVd1 RPXdciP+dB+nERsxMNPvcyyawQhOm7mYGJzgdgXHB1g1YqPa+IGQPJFIdhz4kPZXs9QrgHB lyjyOCBIC/jtxTiRS/GNhH6El52EQ54n/XkXrGUyqiOe8OrDbmdLtn7lmFrbA1bGNqhhYG1 LaGXTfXJ3E1yNxsPaJWcTS8Chek9/t5uJfNNWDcjKvNtpRnwhfDXOBVTEgpKbeghDHYkgIc s04t+LRnsxb+5/hwr9QgL1dTbOoEWmjf2ZofpSMPxdquTqN5ZseWiWUEUtdHi8/GPsFVkU0 i+Bz9C2elXoz7Jv/nsmt51IVskfxtkcTUTImh5lCZssEdmi9BuqRN2yZQO0+fUqPE7Wkae3 2so9JTOlSMXGUJNCGWmhN6SaEV1Xyl5g X-QQ-GoodBg: 2 X-BIZMAIL-ID: 16322175667808755313 Date: Thu, 24 Aug 2023 17:33:09 +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: B00446A8-18B4-4AB4-A51F-F0E1E62D65EF X-Has-Attach: no X-Mailer: Foxmail 7.2.23.121[cn] Mime-Version: 1.0 Message-ID: <37A8C371972A021F+202308241733092543827@rivai.ai> Content-Type: multipart/alternative; boundary="----=_001_NextPart483411070675_=----" 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_H4,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_NextPart483411070675_=---- Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 DQo+PiBXaHkgaXMgdGhhdCBuZWNlc3Nhcnk/ICBKdXN0IGZvciB0aGUgcG9w Y291bnQgSSBwcmVzdW1lPw0KPj4gQ2FuJ3Qgd2UgcmF0aGVyIGhhdmUgYSBu ZXcgY2FzZSBmb3IgYSBzY2FsYXIgZGVzdGluYXRpb24/ICBJIGZpbmQNCj4+ IHRoZSBjb2RlIGEgYml0IG1pc2xlYWRpbmcgbm93IGFzIHdlIGNoZWNrIG1f ZGVzdF9tb2RlIGFuZCB0aGVuIG5vdA0KPj4gdXNlIGl0Lg0KDQpJIGFtIGdv bm5hIGZpeCBpdCBpbiBWMi4NCg0KPj4gVGhlIHJlc3QgbG9va3MgZ29vZCB0 byBtZS4gIE5vdGUgdGhhdCBteSBtYWNoaW5lIGNyYXNoZWQgd2hlbg0KPj4g Y29tcGl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