Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K4Zl3-0003vQ-Eu for qemu-devel@nongnu.org; Fri, 06 Jun 2008 07:05:21 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K4Zl2-0003uy-Kc for qemu-devel@nongnu.org; Fri, 06 Jun 2008 07:05:20 -0400 Received: from [199.232.76.173] (port=36111 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K4Zl2-0003ui-1H for qemu-devel@nongnu.org; Fri, 06 Jun 2008 07:05:20 -0400 Received: from savannah.gnu.org ([199.232.41.3]:57069 helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K4Zl1-0006hc-OW for qemu-devel@nongnu.org; Fri, 06 Jun 2008 07:05:19 -0400 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from ) id 1K4Zl0-0005XW-Rn for qemu-devel@nongnu.org; Fri, 06 Jun 2008 11:05:18 +0000 Received: from edgar_igl by cvs.savannah.gnu.org with local (Exim 4.63) (envelope-from ) id 1K4Zl0-0005XS-FW for qemu-devel@nongnu.org; Fri, 06 Jun 2008 11:05:18 +0000 MIME-Version: 1.0 Errors-To: edgar_igl Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: "Edgar E. Iglesias" Message-Id: Date: Fri, 06 Jun 2008 11:05:18 +0000 Subject: [Qemu-devel] [4681] Add a testcase for broken x arithmetic sequences. Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Revision: 4681 http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4681 Author: edgar_igl Date: 2008-06-06 11:05:18 +0000 (Fri, 06 Jun 2008) Log Message: ----------- Add a testcase for broken x arithmetic sequences. Modified Paths: -------------- trunk/tests/cris/check_xarith.s Modified: trunk/tests/cris/check_xarith.s =================================================================== --- trunk/tests/cris/check_xarith.s 2008-06-06 11:00:58 UTC (rev 4680) +++ trunk/tests/cris/check_xarith.s 2008-06-06 11:05:18 UTC (rev 4681) @@ -42,5 +42,31 @@ nop fail 1: + + ;; test for broken X sequence, run it several times. + moveq 8, $r0 +1: + moveq 0, $r3 + move.d $r0, $r1 + andq 1, $r1 + lslq 4, $r1 + moveq 1, $r2 + or.d $r1, $r2 + ba 2f + move $r2, $ccs +2: + addq 0, $r3 + move.d $r0, $r4 + move.d $r1, $r5 + move.d $r2, $r6 + move.d $r3, $r7 + lsrq 4, $r1 + move.d $r1, $r8 + xor $r1, $r3 + checkr3 0 + subq 1, $r0 + bne 1b + nop + pass quit