From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:46356) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gzFr5-0001S2-Lb for qemu-devel@nongnu.org; Thu, 28 Feb 2019 02:11:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gzFr4-0005Dy-CJ for qemu-devel@nongnu.org; Thu, 28 Feb 2019 02:11:43 -0500 References: <20190227111411.22890-1-david@redhat.com> <20190227111411.22890-3-david@redhat.com> <87h8cpkmra.fsf@zen.linaroharston> <56298ace-a6f7-2b2a-acc2-0e09615c121b@redhat.com> <87fts8lxl8.fsf@zen.linaroharston> From: David Hildenbrand Message-ID: <90c21734-878e-9c0a-cea3-911c4931e8cd@redhat.com> Date: Thu, 28 Feb 2019 08:11:38 +0100 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH RFC 2/2] tests/tcg: target/s390: Add test for VECTOR LOAD GR FROM VR ELEMENT List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Richard Henderson , =?UTF-8?Q?Alex_Benn=c3=a9e?= Cc: qemu-devel@nongnu.org, qemu-s390x@nongnu.org, Thomas Huth , Cornelia Huck , =?UTF-8?Q?Philippe_Mathieu-Daud=c3=a9?= On 28.02.19 01:24, Richard Henderson wrote: > On 2/27/19 1:40 PM, Alex Benn=C3=A9e wrote: >> And crucially have nice regular sized instructions. Is that not an opt= ion? >=20 > s390 insns are {2,4,6} bytes. I don't think that there's an easy way t= o pick > out the hw status codes that would give the ilen of the faulting insn. >=20 We would have to read the faulting instruction to determine based on the two leftmost bits the ilen. But I don't consider that approach much cleaner compared to signal + setjmp (signal + sigsetjmp after I fixed it ;) ) Thanks for the pointer though, Alex >=20 > r~ >=20 --=20 Thanks, David / dhildenb