Received: from [140.186.70.92] (port=42838 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oxj2F-0002hb-Tm for qemu-devel@nongnu.org; Mon, 20 Sep 2010 12:16:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Oxir2-0001PU-US for qemu-devel@nongnu.org; Mon, 20 Sep 2010 12:04:36 -0400 Received: from n9.bullet.mail.tp2.yahoo.com ([203.188.202.114]:43903) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1Oxir2-0001Oc-AW for qemu-devel@nongnu.org; Mon, 20 Sep 2010 12:04:32 -0400 Message-ID: <294842.8229.qm@web76705.mail.sg1.yahoo.com> Date: Tue, 21 Sep 2010 00:04:28 +0800 (SGT) From: Pham Van Thiet MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable 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,=0AI arm building VP8 (WebM) for QEMU, when I configure VP8= for ARMv6 then it run =0Aok on QEMU but when I build it with ARMv7=0Athen = it's not run on QEMU, I asked on WebM's forum of Google and they said that = =0AQEMU does not support VP8 NEON code right now=0AI ran debug to test thei= r replys and I realized that QEMU runs NEON instructions =0Aincorrectly. Ex= ample I run some NEON instructions on QEMU as:=0A=A0 vld1.8 {q0, q1}, [r2]!= =0A=A0 vld1.8 {q4, q5}, [r10]!=0A=A0 vld1.8 {q2, q3}, [r2]!=0Athen QEMU onl= y runs the first NEON instruction and when run the first =0Ainstruction QEM= U will jump to:=0Avoid cpu_loop_exit(void)=0A{=0A=A0=A0 /* NOTE: the regist= er at this point must be saved by hand because=0A=A0=A0 longjmp restore the= m */=0A=A0=A0 regs_to_env();=0A=A0=A0 longjmp(env->jmp_env, 1);=0A}=0A=0Aan= d from the second instruction to end, QEMU's not run, if I run other ARM = =0Ainstruction then I run NEON instruction then QEMU still runs all the =0A= instructions until it met the NEON instruction then all other instructions = after =0Athat NEON instruction will not run.=0AExample:=0Amov r2 r1 # run= =0Aadd r3 r4 r2 # run=0Avld1.8 {q0, q1}, [r2]! # run=0Amov r5 r4 # not run= =0AI don't know why? I think QEMU supported for NEON instructions but may b= e it run =0Aincorrectly and have some problems with NEON instructions. Plea= se help me to =0Aconfirm them and can you say for me what are the NEON inst= ructions that QEMU not =0Asupport?=A0=0A=A0If you have a patch NEON for QEM= U, please send it for me=0A=0AThanks and best regard,=A0=0APham Van Thiet= =0A=0A