qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [4298] CRIS: Make CCS related tests pass in system simulati


From: Edgar E. Iglesias
Subject: [Qemu-devel] [4298] CRIS: Make CCS related tests pass in system simulation by masking off flags not related to the tests .
Date: Fri, 02 May 2008 21:13:22 +0000

Revision: 4298
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4298
Author:   edgar_igl
Date:     2008-05-02 21:13:21 +0000 (Fri, 02 May 2008)

Log Message:
-----------
CRIS: Make CCS related tests pass in system simulation by masking off flags not 
related to the tests.

Modified Paths:
--------------
    trunk/tests/cris/check_btst.s
    trunk/tests/cris/check_clearfv32.s

Modified: trunk/tests/cris/check_btst.s
===================================================================
--- trunk/tests/cris/check_btst.s       2008-05-02 21:08:33 UTC (rev 4297)
+++ trunk/tests/cris/check_btst.s       2008-05-02 21:13:21 UTC (rev 4298)
@@ -89,6 +89,7 @@
  move $r0, $ccs
  btst r3,r3
  move $ccs, $r0
+ and.d 0xff, $r0
  cmp.d 0xe3, $r0
  test_cc 0 1 0 0
 

Modified: trunk/tests/cris/check_clearfv32.s
===================================================================
--- trunk/tests/cris/check_clearfv32.s  2008-05-02 21:08:33 UTC (rev 4297)
+++ trunk/tests/cris/check_clearfv32.s  2008-05-02 21:13:21 UTC (rev 4298)
@@ -8,10 +8,12 @@
  setf puixnzvc
  clearf x      ; Actually, x would be cleared by almost-all other insns.
  move ccs,r3
+ and.d 0xff, $r3
  checkr3 ef
 
  setf puixnzvc
  moveq 0, $r3  ; moveq should only clear the xflag.
  move ccs,r3
+ and.d 0xff, $r3
  checkr3 ef
  quit






reply via email to

[Prev in Thread] Current Thread [Next in Thread]