aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cpu/ChangeLog4
-rw-r--r--cpu/frv.cpu18
2 files changed, 22 insertions, 0 deletions
diff --git a/cpu/ChangeLog b/cpu/ChangeLog
index 07ba85f..ddf23b5 100644
--- a/cpu/ChangeLog
+++ b/cpu/ChangeLog
@@ -1,3 +1,7 @@
+2003-06-10 Doug Evans <dje@sebabeach.org>
+
+ * frv.cpu: Add IDOC attribute.
+
2003-06-06 Andrew Cagney <cagney@redhat.com>
Contributed by Red Hat.
diff --git a/cpu/frv.cpu b/cpu/frv.cpu
index 9550850..efe3b98 100644
--- a/cpu/frv.cpu
+++ b/cpu/frv.cpu
@@ -1016,6 +1016,24 @@
(comment "placeholder attribute")
(attrs META) ; do not define in any generated file for now
)
+
+; IDOC attribute for instruction documentation.
+
+(define-attr
+ (for insn)
+ (type enum)
+ (name IDOC)
+ (comment "insn kind for documentation")
+ (attrs META)
+ (values
+ (MEM - () "Memory")
+ (ALU - () "ALU")
+ (FPU - () "FPU")
+ (BR - () "Branch")
+ (PRIV - () "Priviledged")
+ (MISC - () "Miscellaneous")
+ )
+)
; Instruction fields.
;