summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--tests/cris/check_btst.s1
-rw-r--r--tests/cris/check_clearfv32.s2
2 files changed, 3 insertions, 0 deletions
diff --git a/tests/cris/check_btst.s b/tests/cris/check_btst.s
index 1c10cf309f..e39fc8f4d6 100644
--- a/tests/cris/check_btst.s
+++ b/tests/cris/check_btst.s
@@ -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
 
diff --git a/tests/cris/check_clearfv32.s b/tests/cris/check_clearfv32.s
index db700728a8..4e91360273 100644
--- a/tests/cris/check_clearfv32.s
+++ b/tests/cris/check_clearfv32.s
@@ -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