aboutsummaryrefslogtreecommitdiff
path: root/cpu/frv.cpu
diff options
context:
space:
mode:
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.
;