aboutsummaryrefslogtreecommitdiff
path: root/cpu/frv.cpu
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2003-06-10 21:24:48 +0000
committerDoug Evans <dje@google.com>2003-06-10 21:24:48 +0000
commit5b5b78dacbb201872ab6442f3ea5faeb73f399df (patch)
tree2f2151f5d5db46261421b52760bdf4b0600275e5 /cpu/frv.cpu
parenta191ea8dac5660849327c57d8efe55bd67e8b3c7 (diff)
downloadgdb-5b5b78dacbb201872ab6442f3ea5faeb73f399df.zip
gdb-5b5b78dacbb201872ab6442f3ea5faeb73f399df.tar.gz
gdb-5b5b78dacbb201872ab6442f3ea5faeb73f399df.tar.bz2
* frv.cpu: Add IDOC attribute.
Diffstat (limited to 'cpu/frv.cpu')
-rw-r--r--cpu/frv.cpu18
1 files changed, 18 insertions, 0 deletions
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.
;