aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>1997-09-16 01:27:48 +0000
committerNick Clifton <nickc@redhat.com>1997-09-16 01:27:48 +0000
commit922971957e69e5ee40c53b5c7eed2425fb45290b (patch)
tree176d38bdaa040e54df3eb9d153f4f4fb370cd38b /include
parent93a8f1e11913e052c6bf9f4e074260a36c3d249c (diff)
downloadgdb-922971957e69e5ee40c53b5c7eed2425fb45290b.zip
gdb-922971957e69e5ee40c53b5c7eed2425fb45290b.tar.gz
gdb-922971957e69e5ee40c53b5c7eed2425fb45290b.tar.bz2
Added new field to v850_opcode structure.
Diffstat (limited to 'include')
-rw-r--r--include/opcode/ChangeLog11
-rw-r--r--include/opcode/v850.h17
2 files changed, 28 insertions, 0 deletions
diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog
index a6cc43e..e1363fa 100644
--- a/include/opcode/ChangeLog
+++ b/include/opcode/ChangeLog
@@ -1,3 +1,14 @@
+Mon Sep 15 18:28:37 1997 Nick Clifton <nickc@cygnus.com>
+
+ * v850.h (struct v850_opcode): Add processors field.
+ (PROCESSOR_V850, PROCESSOR_ALL): New bit constants.
+start-sanitize-v850e
+ (PROCESSOR_V850E, PROCESSOR_NOT_V850): New bit constants.
+end-sanitize-v850e
+start-sanitize-v850eq
+ (PROCESSOR_V850EQ): New bit constants.
+end-sanitize-v850eq
+
start-sanitize-d30v
Mon Sep 15 11:29:43 1997 Ken Raeburn <raeburn@cygnus.com>
diff --git a/include/opcode/v850.h b/include/opcode/v850.h
index a9b8590..c2205e0 100644
--- a/include/opcode/v850.h
+++ b/include/opcode/v850.h
@@ -45,8 +45,25 @@ struct v850_opcode
/* Which (if any) operand is a memory operand. */
unsigned int memop;
+
+ /* Target processor(s). A bit field of processors which support
+ this instruction. Note a bit field is used as some instructions
+ are available on multiple, different processor types, whereas
+ other instructions are only available on one specific type. */
+ unsigned int processors;
};
+/* Values for the processors field in the v850_opcode structure. */
+#define PROCESSOR_V850 (1 << 0) /* Just the V850. */
+#define PROCESSOR_ALL -1 /* Any processor. */
+/* start-sanitize-v850e */
+#define PROCESSOR_V850E (1 << 1) /* Just the V850E. */
+#define PROCESSOR_NOT_V850 (~ PROCESSOR_V850) /* Any processor except the V850. */
+/* end-sanitize-v850e */
+/* start-sanitize-v850eq */
+#define PROCESSOR_V850EQ (1 << 2) /* Just the V850EQ. */
+/* start-sanitize-v850eq */
+
/* The table itself is sorted by major opcode number, and is otherwise
in the order in which the disassembler should consider
instructions. */