From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=57913 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PMpuE-0006zV-Q7 for qemu-devel@nongnu.org; Sun, 28 Nov 2010 17:39:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PMpuD-0000fX-Cd for qemu-devel@nongnu.org; Sun, 28 Nov 2010 17:39:38 -0500 Received: from smtp03.smtpout.orange.fr ([80.12.242.125]:41848 helo=smtp.smtpout.orange.fr) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PMpuC-0000fN-IY for qemu-devel@nongnu.org; Sun, 28 Nov 2010 17:39:37 -0500 Message-ID: <4CF2DA1D.3060201@imag.fr> Date: Sun, 28 Nov 2010 23:39:25 +0100 From: =?UTF-8?B?RnLDqWTDqXJpYyBQw6l0cm90?= MIME-Version: 1.0 Subject: Re: neon acceleration via mmx/sse (was: Re: [Qemu-devel] CFP: 1st International QEMU Users Forum) References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: wolfgang mueller , Nathan Froyd , Arnd Bergmann , QEMU-devel Developers , Alexander Graf , Wolfgang Mueller Peter Maydell a écrit : > 2010/11/28 Frédéric Pétrot : >> PS: We have indeed ourselves worked on the acceleration of the neon support >> (neon on mmx/sse instead of helpers) > > Slight tangent, but: How well did you find that worked? > Were you trying to retain bit-for-bit accuracy in the results? > > -- PMM > Ok, we worked on the integer neon only, as in integrated devices, we prefer fixed point for energy efficiency reasons (no plug, no fan, specialized applications). It works quite well, on synthetic benchmarks (loops with a growing number of simd instructions) we have a good speedup (4 to 6x) compared to the helper approach. Amdahl's law may well reduce this to almost nothing for most applications, but for video decoding and the like, it may have a value. We (do our best to) have an exact translation, and we checked against the arm of a beagleboard for the behavior. Incidentally, we have an interactive paper at DATE this year on this very topic. Don't hesitate to drop me a mail if you want to have a look at it. Frédéric Pétrot -- +-----------------------------------------------------------------+ | Frédéric Pétrot, Pr. ENSIMAG-TIMA/SLS Frederic.Petrot@imag.fr | | Phone : +33 4 76 57 48 70 Fluctuat nec mergitur | | Mobile: +33 6 74 57 99 65 Ad augusta per angusta | | Fax : +33 4 76 57 49 81 Eppur si muove | +-----------------------------------------------------------------+ -- +-----------------------------------------------------------------+ | Frédéric Pétrot, Pr. ENSIMAG-TIMA/SLS Frederic.Petrot@imag.fr | | Phone : +33 4 76 57 48 70 Fluctuat nec mergitur | | Mobile: +33 6 74 57 99 65 Ad augusta per angusta | | Fax : +33 4 76 57 49 81 Eppur si muove | +-----------------------------------------------------------------+