summaryrefslogtreecommitdiff
path: root/sim/testsuite/sim/cris/asm/clearfv32.ms
diff options
context:
space:
mode:
Diffstat (limited to 'sim/testsuite/sim/cris/asm/clearfv32.ms')
-rw-r--r--sim/testsuite/sim/cris/asm/clearfv32.ms12
1 files changed, 12 insertions, 0 deletions
diff --git a/sim/testsuite/sim/cris/asm/clearfv32.ms b/sim/testsuite/sim/cris/asm/clearfv32.ms
new file mode 100644
index 00000000000..b1dd3dec517
--- /dev/null
+++ b/sim/testsuite/sim/cris/asm/clearfv32.ms
@@ -0,0 +1,12 @@
+# mach: crisv32
+# output: ef\n
+
+; Check that "clearf x" doesn't trivially fail.
+
+ .include "testutils.inc"
+ start
+ setf puixnzvc
+ clearf x ; Actually, x would be cleared by almost-all other insns.
+ move ccs,r3
+ dumpr3
+ quit