Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Bergner <bergner@vnet.ibm.com>2009-01-09 21:50:57 +0300
committerPeter Bergner <bergner@vnet.ibm.com>2009-01-09 21:50:57 +0300
commit91d9410bd06376d99b1717b836c2eeac7e7adc76 (patch)
tree4176f05050dbd3c9af592b3e6952ed52c611500d /include/opcode/ppc.h
parent54a83cc65add6561a3d6ed4af39c8b3a899a3d4a (diff)
gas/
* config/tc-ppc.c (ppc_setup_opcodes): Remove PPC_OPCODE_NOPOWER4 test. Test the new "deprecated" opcode field. include/opcode/ * ppc.h (struct powerpc_opcode): New field "deprecated". (PPC_OPCODE_NOPOWER4): Delete. opcodes/ * ppc-opc.c (PPCNONE): Define. (NOPOWER4): Delete. (powerpc_opcodes): Initialize the new "deprecated" field.
Diffstat (limited to 'include/opcode/ppc.h')
-rw-r--r--include/opcode/ppc.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/include/opcode/ppc.h b/include/opcode/ppc.h
index 0296b5967..1ede310b9 100644
--- a/include/opcode/ppc.h
+++ b/include/opcode/ppc.h
@@ -46,6 +46,11 @@ struct powerpc_opcode
are listed below. */
ppc_cpu_t flags;
+ /* One bit flags for the opcode. These are used to indicate which
+ specific processors no longer support the instructions. The defined
+ values are listed below. */
+ ppc_cpu_t deprecated;
+
/* An array of operand codes. Each code is an index into the
operand table. They appear in the order which the operands must
appear in assembly code, and are terminated by a zero. */
@@ -109,9 +114,6 @@ extern const int powerpc_num_opcodes;
/* Opcode is only supported by Power4 architecture. */
#define PPC_OPCODE_POWER4 0x4000
-/* Opcode isn't supported by Power4 architecture. */
-#define PPC_OPCODE_NOPOWER4 0x8000
-
/* Opcode is only supported by POWERPC Classic architecture. */
#define PPC_OPCODE_CLASSIC 0x10000