OSDN Git Service

2007-02-05 Dave Brolley <brolley@redhat.com>
[pf3gnuchains/pf3gnuchains3x.git] / utils / mep / testsuite / option_unit / cop3.cpu
diff --git a/utils/mep/testsuite/option_unit/cop3.cpu b/utils/mep/testsuite/option_unit/cop3.cpu
new file mode 100644 (file)
index 0000000..82d018d
--- /dev/null
@@ -0,0 +1,17 @@
+; Trivial ISA for coprocessor 3
+(dnf f-cop3-opcode "cop3 opcode" ((ISA ext_cop3_32)) 0 32)
+
+(define-normal-insn-enum cop3major "major opcodes" ((ISA ext_cop3_32)) COP3_
+  f-cop3-opcode
+  (ANINSN 0x12345678)
+)
+
+(define-pmacro (dncp332i xname xcomment xattrs xsyntax xformat xsemantics xtiming)  (dni-isa xname xcomment xattrs xsyntax xformat xsemantics ext_cop3_32)
+)
+
+(dncp332i cop3aninsn "An insn" ()
+       "aninsn"
+       (+ COP3_ANINSN)
+       (nop)
+       ()
+)