Added new field to v850_opcode structure.

This commit is contained in:
Nick Clifton 1997-09-16 01:27:48 +00:00
parent 93a8f1e119
commit 922971957e
2 changed files with 28 additions and 0 deletions

View File

@ -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>

View File

@ -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. */