Received: from eggs.gnu.org ([208.118.235.92]:40221) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UD9UN-00034T-OE for qemu-devel@nongnu.org; Wed, 06 Mar 2013 03:14:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UD9UL-0004Ys-1N for qemu-devel@nongnu.org; Wed, 06 Mar 2013 03:14:15 -0500 Received: from csmailer.cs.nctu.edu.tw ([140.113.235.130]:36692) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UD9UK-0004YK-GQ for qemu-devel@nongnu.org; Wed, 06 Mar 2013 03:14:12 -0500 Date: Wed, 6 Mar 2013 16:14:05 +0800 From: =?utf-8?B?6Zmz6Z+L5Lu7IChXZWktUmVuIENoZW4p?= Message-ID: <20130306081404.GA38194@cs.nctu.edu.tw> References: <20130306033050.GA30817@cs.nctu.edu.tw> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] QEmu TCG SIMD extension? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: qemu-devel , =?utf-8?B?6Zmz6Z+L5Lu7IChXZWktUmVuIENoZW4p?= On Wed, Mar 06, 2013 at 11:47:58AM +0800, Peter Maydell wrote: > On 6 March 2013 11:30, =E9=99=B3=E9=9F=8B=E4=BB=BB (Wei-Ren Chen) wrote: > > While searching for QEMU SIMD issues, I found there was a paper prese= nted > > in 2011 [1], and the source code is also public on [2]. However, it s= eems > > this project doesn't make any progress since last year. I update thei= r > > change to upstream and you can download from here: > > > > $ git clone git://github.com/azru0512/qemu.git -b neon-simd > > > > Sadly, it can not boot the kernel image provided on [2]. Anyway, I > > found there was only one thread has discussion on their work [3]. I w= ant > > to hear more feedback on their idea on adding SIMD TCG IR. >=20 > I think my opinions are still the same -- interesting idea, but getting > it to work with a set of IR ops which aren't target or host specific > and getting it to give correct bit-for-bit results, rounding, flags, > etc, is likely to be tricky. It would also be important to determine > first whether Neon (or other SIMD) emulation performance is truly > a major bottleneck. I found the problem and now it can boot the kernel image and run the test. The authors claim they design the general SIMD IR after studying various SIMD ISA. I am not an expert, and only can decide if it's true or not by writing another frontend. Well, one of reasons I am studying their work is to see SIMD IR could benifit our QEMU+LLVM binary translator. ;) Regards, chenwj --=20 Wei-Ren Chen (=E9=99=B3=E9=9F=8B=E4=BB=BB) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667 Homepage: http://people.cs.nctu.edu.tw/~chenwj