From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:53602) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gzOkC-00070R-R0 for qemu-devel@nongnu.org; Thu, 28 Feb 2019 11:41:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gzOkA-0007hC-Rl for qemu-devel@nongnu.org; Thu, 28 Feb 2019 11:41:12 -0500 References: <20190226113915.20150-1-david@redhat.com> <20190226113915.20150-9-david@redhat.com> <23a43b55-4902-0440-8243-62aaff19c83a@linaro.org> <4af07456-e6d8-918f-6741-83e4e1a739bb@twiddle.net> From: David Hildenbrand Message-ID: Date: Thu, 28 Feb 2019 17:40:52 +0100 MIME-Version: 1.0 In-Reply-To: <4af07456-e6d8-918f-6741-83e4e1a739bb@twiddle.net> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v1 08/33] s390x/tcg: Implement VECTOR LOAD List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Richard Henderson , Richard Henderson , qemu-devel@nongnu.org Cc: qemu-s390x@nongnu.org, Cornelia Huck , Thomas Huth On 28.02.19 17:34, Richard Henderson wrote: > On 2/27/19 11:48 PM, David Hildenbrand wrote: >> I think that would be wrong. It is only an alignment hint. >> >> "Setting the alignment hint to a non-zero value >> that doesn=E2=80=99t correspond to the alignment of the second operand= may >> reduce performance on some models." >> >> So we must not inject an exception when unaligned. This, however would >> be the result of MO_ALIGN,, right? >=20 > Ah, I didn't get that an alignment exception is not raised. (I do find= that > odd. If the user is asserting a given alignment, why would we not tell= him if > he is wrong?) I was wondering the same thing. Most probably because they didn't specify that that field has to contain 0 when introducing the instruction. And as they added the alignment constraint only on new hardware generations (z14), it could result for some instructions where stuff "used to work" to suddenly report an exception. >=20 > So, yes, ignore all of this from me -- leave MO_ALIGN off. >=20 >=20 > r~ >=20 --=20 Thanks, David / dhildenb