Received: from [140.186.70.92] (port=56932 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ow3c4-0006ff-IC for qemu-devel@nongnu.org; Wed, 15 Sep 2010 21:50:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ow3c3-00011w-Dz for qemu-devel@nongnu.org; Wed, 15 Sep 2010 21:50:12 -0400 Received: from lo.gmane.org ([80.91.229.12]:48455) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ow3c3-00011b-8Y for qemu-devel@nongnu.org; Wed, 15 Sep 2010 21:50:11 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Ow3bw-00005v-7g for qemu-devel@nongnu.org; Thu, 16 Sep 2010 03:50:05 +0200 Received: from ik-sg01.proxy.jp.panasonic.com ([210.160.8.65]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 16 Sep 2010 03:50:04 +0200 Received: from phamvanthiet1302 by ik-sg01.proxy.jp.panasonic.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 16 Sep 2010 03:50:04 +0200 From: Hero Date: Thu, 16 Sep 2010 01:30:35 +0000 (UTC) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] QEMU's not support NEON instructions (NEON run incorrectly) List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hello everybody, I arm building VP8 (WebM) for QEMU, when I configure VP8 for ARMv6 then it run ok on QEMU but when I build it with ARMv7 then it's not run on QEMU, I asked on WebM's forum of Google and they said that QEMU does not support VP8 NEON code right now I ran debug to test their replys and I realized that QEMU runs NEON instructions incorrectly. Example I run some NEON instructions on QEMU as: vld1.8 {q0, q1}, [r2]! vld1.8 {q4, q5}, [r10]! vld1.8 {q2, q3}, [r2]! then QEMU only runs the first NEON instruction and when run the first instruction QEMU will jump to: void cpu_loop_exit(void) { /* NOTE: the register at this point must be saved by hand because longjmp restore them */ regs_to_env(); longjmp(env->jmp_env, 1); } and from the second instruction to end, QEMU's not run, if I run other ARM instruction then I run NEON instruction then QEMU still runs all the instructions until it met the NEON instruction then all other instructions after that NEON instruction will not run. Example: mov r2 r1 # run add r3 r4 r2 # run vld1.8 {q0, q1}, [r2]! # run mov r5 r4 # not run I don't know why? I think QEMU supported for NEON instructions but may be it run incorrectly and have some problems with NEON instructions. Please help me to confirm them and can you say for me what are the NEON instructions that QEMU not support?