From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56790) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WLamL-00045h-93 for qemu-devel@nongnu.org; Thu, 06 Mar 2014 11:04:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WLamG-0001Bh-SN for qemu-devel@nongnu.org; Thu, 06 Mar 2014 11:04:13 -0500 Received: from soltyk.jannau.net ([185.27.253.110]:43891) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WLamG-0001BR-MQ for qemu-devel@nongnu.org; Thu, 06 Mar 2014 11:04:08 -0500 Date: Thu, 6 Mar 2014 17:04:05 +0100 From: Janne Grunau Message-ID: <20140306160404.GO20660@jannau.net> References: <87sirhyi1b.fsf@linaro.org> <20140224130117.GC6747@jannau.net> <87fvn7mblu.fsf@linaro.org> <20140225171103.GB20660@jannau.net> <8738ivd074.fsf@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <8738ivd074.fsf@linaro.org> Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] Call for testing QEMU aarch64-linux-user emulation List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alex =?iso-8859-1?Q?Benn=E9e?= Cc: Peter Maydell , linaro-dev , Michael Matz , Alexander Graf , "linaro-toolchain@lists.linaro.org" , qemu-devel , Wook Wookey , Christoffer Dall On 2014-03-06 11:40:47 +0000, Alex Benn=E9e wrote: >=20 > Janne Grunau writes: >=20 > > On 2014-02-25 15:54:37 +0000, Alex Benn=E9e wrote: > >> > > >> Have you got the log file "unsupported" line? I seem to recall you d= id > >> ping me but maybe it was just on IRC? I just want to make sure I > >> do the right ones. I'm working on this now. > > > > We spoke on irc about it. a quick test commenting unsupported > > instructions out revealed that rshrn/2, sqrshrun and shrn/2 are > > the only NEON instructions used in libav still missing support > > in qemu master. Unsoppurted lines from qemu master 0459650d94d1 > > below. > > > > target-arm/translate-a64.c:6884: unsupported instruction encoding 0x0= f0a8e10 at pc=3D00000000008632c8 > > target-arm/translate-a64.c:6884: unsupported instruction encoding 0x2= f0b8f9c at pc=3D0000000000865764 > > target-arm/translate-a64.c:6884: unsupported instruction encoding 0x0= f0a8610 at pc=3D0000000000863afc >=20 > I've just pushed support for the various shrn opcodes to: >=20 > https://github.com/stsquad/qemu/tree/ajb-a64-working Thanks, just testing it and it seems to work as expected. > I suspect if libav uses them heavily there could be some optimisation > to be made as the narrow operations make heavy use of helpers to do the > saturation stuff. The saturating shift is not that heavily used and I don't care much as long as qemu is an order of magnitude faster than ARM's foundation model and much easier to handle than Apple hardware. Janne