From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtpbguseast3.qq.com (smtpbguseast3.qq.com [54.243.244.52]) by sourceware.org (Postfix) with ESMTPS id F0F2B3858D32 for ; Wed, 28 Jun 2023 06:17:14 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org F0F2B3858D32 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: bizesmtp70t1687933029thoa85up Received: from LAPTOP-EPITNQBU ( [58.60.1.5]) by bizesmtp.qq.com (ESMTP) with id ; Wed, 28 Jun 2023 14:17:08 +0800 (CST) X-QQ-SSF: 01400000000000G0S000000A0000000 X-QQ-FEAT: GjIRyctCEYA0/upLaBYRAOLROCvFm8gg3yKloatkz4y+FfcWvDKyyounX1KIL AxPg9EacbP6L2+RO5aP0sgV/93e+av+7d+x5qmUdHuK5UJCz4WnuFHiErIAsa5htUPIBZL/ TyzN4vuPBTHZi7rdHeQ0EAt5o689cD4umKxj+1Hc25Y2bVLFs3Fa6Eeym1vM47ufl2Y3UcZ P+ZJgCdx9rPpFe3VoUznp+y9Xb7+3RLDf2zEYcI67o+mHy3XUEIxkvkFrpJI/a2emLD/lhB JPLQ6gzHm9QNKSJvHwc7IOvjrENzlHO4V+78xKGwADB5XIKMiihsxyK4FkINdWQHssvxrqb 88UudM4d2cW+fAXZlmCxH6shpav0x7nymbUuPK+xMx7s1sMRCO7oTijybbzEB+/b9Mel9yI 2cpX1s73NZtLuDlp6fXwmyWIlrKo2whl X-QQ-GoodBg: 2 X-BIZMAIL-ID: 8108664776924331951 Date: Wed, 28 Jun 2023 14:17:08 +0800 From: "juzhe.zhong@rivai.ai" To: Kito.cheng , jeffreyalaw Cc: gcc-patches , kito.cheng , palmer , palmer , "Robin Dapp" Subject: Re: Re: [PATCH V2] RISC-V: Fix bug of pre-calculated const vector mask References: <20230628015944.112659-1-juzhe.zhong@rivai.ai>, , , <5cd0b044-1816-302c-c563-d503d76c8f0b@gmail.com>, X-Priority: 3 X-GUID: 2E868942-05E4-4FE0-9C43-ADDCE55507F2 X-Has-Attach: no X-Mailer: Foxmail 7.2.16.188[cn] Mime-Version: 1.0 Message-ID: <07788792B88C159A+202306281417079645052@rivai.ai> Content-Type: multipart/alternative; boundary="----=_001_NextPart757448750488_=----" X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:rivai.ai:qybglogicsvrgz:qybglogicsvrgz7a-one-0 X-Spam-Status: No, score=-5.8 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,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: This is a multi-part message in MIME format. ------=_001_NextPart757448750488_=---- Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 VGhlIGRpZmZlcmVuY2UgYmV0d2VlbiB2MSBhbmQgdjIgaXMgdGhlIGNvbXBh Y3QgbWFzayBnZW5lcmF0aW9uOg0KDQp2MSA6IA0KK3J0eAorcnZ2X2J1aWxk ZXI6OmNvbXBhY3RfbWFzayAoKSBjb25zdAoreworICAvKiBVc2UgdGhlIGNv bnRhaW5lciBtb2RlIHdpdGggU0VXID0gOCBhbmQgTE1VTCA9IDEuICAqLwor ICB1bnNpZ25lZCBjb250YWluZXJfc2l6ZQorICAgID0gTUFYIChDRUlMIChu cGF0dGVybnMgKCksIDgpLCBCWVRFU19QRVJfUklTQ1ZfVkVDVE9SLnRvX2Nv bnN0YW50ICgpIC8gOCk7CisgIG1hY2hpbmVfbW9kZSBjb250YWluZXJfbW9k ZQorICAgID0gZ2V0X3ZlY3Rvcl9tb2RlIChRSW1vZGUsI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