summaryrefslogtreecommitdiff
path: root/sim/testsuite/sim/fr30/nop.cgs
diff options
context:
space:
mode:
Diffstat (limited to 'sim/testsuite/sim/fr30/nop.cgs')
-rw-r--r--sim/testsuite/sim/fr30/nop.cgs16
1 files changed, 16 insertions, 0 deletions
diff --git a/sim/testsuite/sim/fr30/nop.cgs b/sim/testsuite/sim/fr30/nop.cgs
new file mode 100644
index 00000000000..885c55cfd1a
--- /dev/null
+++ b/sim/testsuite/sim/fr30/nop.cgs
@@ -0,0 +1,16 @@
+# fr30 testcase for nop
+# mach(): fr30
+
+ .include "testutils.inc"
+
+ START
+
+ .text
+ .global nop
+nop:
+ ; Test nop
+ set_cc 0x0f ; Condition codes are irrelevent
+ nop
+ test_cc 1 1 1 1
+
+ pass