From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by sourceware.org (Postfix) with ESMTPS id A41D43858C50 for ; Tue, 27 Sep 2022 13:59:12 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org A41D43858C50 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=linux.ibm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linux.ibm.com Received: from pps.filterd (m0098417.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 28RCPnc0018290 for ; Tue, 27 Sep 2022 13:59:12 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=pp1; bh=Ik8kcUUeFCpt2l3s53DhKnSlNdxDKJPM0GwioXZ/2ns=; b=igcmVGa4yd2fOmI5Iu73/5fm7rYWzPO6+/W48yZJND6OUN5ab07KDYgNOi9O8yEjrgKv tMtsUWOWzm58AAPEcXCX4bXAXfzapLTLOtvFdyqKydqSFKDGWKN8FJtChHUazqCLtgX7 tCufqaNfIPOuDHosWPeNqvsU26c7BkXc1h22lHJdXUXkMRLstYGlynMOaijvn4FzPMmt IIDNzhy4WjJ5jZT52o+5+gs6MrPhLgPzuRuoamhgZ63fChNrY3mKgUp0XdMGOI9zx5/z Ffd6sLv9T28vi7ZrXovxWOiK79A98YDVafOoEh9xEAMVGWn9AY/Qt0aCErW9QHzx9E1m mg== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3juy4wxgdn-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 27 Sep 2022 13:59:12 +0000 Received: from m0098417.ppops.net (m0098417.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 28RBVZlM024421 for ; Tue, 27 Sep 2022 13:59:11 GMT Received: from ppma04ams.nl.ibm.com (63.31.33a9.ip4.static.sl-reverse.com [169.51.49.99]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3juy4wxgcg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 27 Sep 2022 13:59:11 +0000 Received: from pps.filterd (ppma04ams.nl.ibm.com [127.0.0.1]) by ppma04ams.nl.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 28RDppE0006829; Tue, 27 Sep 2022 13:59:09 GMT Received: from b06avi18878370.portsmouth.uk.ibm.com (b06avi18878370.portsmouth.uk.ibm.com [9.149.26.194]) by ppma04ams.nl.ibm.com with ESMTP id 3juapuhjtg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 27 Sep 2022 13:59:09 +0000 Received: from d06av21.portsmouth.uk.ibm.com (d06av21.portsmouth.uk.ibm.com [9.149.105.232]) by b06avi18878370.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 28RDxZPh51708244 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 27 Sep 2022 13:59:35 GMT Received: from d06av21.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 2997852050; Tue, 27 Sep 2022 13:59:07 +0000 (GMT) Received: from [9.171.15.101] (unknown [9.171.15.101]) by d06av21.portsmouth.uk.ibm.com (Postfix) with ESMTPS id EDCA95204F; Tue, 27 Sep 2022 13:59:06 +0000 (GMT) Message-ID: <11b57f53-499a-bed8-97cd-95f7c1a0f074@linux.ibm.com> Date: Tue, 27 Sep 2022 15:59:06 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.13.0 Subject: Re: VN, len_store and endianness Content-Language: en-US To: Richard Biener Cc: GCC Patches , jakub@redhat.com References: <0a9b9375-6587-5a7d-2ec9-18e7501fe179@linux.ibm.com> From: Robin Dapp In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Proofpoint-GUID: EDD3MEpeYmDjEGh-yONfeh5_9QFIq5nB X-Proofpoint-ORIG-GUID: B_Csyb8ulz_0cRdNNtcdXGWcfB4wIFHJ X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.528,FMLib:17.11.122.1 definitions=2022-09-27_05,2022-09-27_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 bulkscore=0 adultscore=0 phishscore=0 mlxlogscore=653 suspectscore=0 mlxscore=0 clxscore=1015 malwarescore=0 priorityscore=1501 impostorscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2209130000 definitions=main-2209270082 X-Spam-Status: No, score=-5.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,TXREP 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: > Yes, because the native_interpret always starts at offset zero > (we can't easily feed in a "shifted" RHS). So what I assumed is > that IFN_LEN_STORE always stores elements [0, len + adj]. Hmm, but this assumption is not violated here or am I missing something? It's not like we're storing [vec_size - (len + adj) - 1, vec_size - 1] but indeed [0, len + adj]. Just the access to the buffer later is reversed which it should not be.