diff options
author | Peter Bergner <bergner@vnet.ibm.com> | 2009-01-09 18:50:57 +0000 |
---|---|---|
committer | Peter Bergner <bergner@vnet.ibm.com> | 2009-01-09 18:50:57 +0000 |
commit | 91d9410bd06376d99b1717b836c2eeac7e7adc76 (patch) | |
tree | 4176f05050dbd3c9af592b3e6952ed52c611500d | |
parent | 54a83cc65add6561a3d6ed4af39c8b3a899a3d4a (diff) | |
download | cygnal-91d9410bd06376d99b1717b836c2eeac7e7adc76.tar.gz cygnal-91d9410bd06376d99b1717b836c2eeac7e7adc76.tar.bz2 cygnal-91d9410bd06376d99b1717b836c2eeac7e7adc76.zip |
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.
-rw-r--r-- | include/opcode/ChangeLog | 5 | ||||
-rw-r--r-- | include/opcode/ppc.h | 8 |
2 files changed, 10 insertions, 3 deletions
diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog index bda9ca193..389bd912c 100644 --- a/include/opcode/ChangeLog +++ b/include/opcode/ChangeLog @@ -1,3 +1,8 @@ +2009-01-09 Peter Bergner <bergner@vnet.ibm.com> + + * ppc.h (struct powerpc_opcode): New field "deprecated". + (PPC_OPCODE_NOPOWER4): Delete. + 2008-11-28 Joshua Kinard <kumba@gentoo.org> * mips.h: Define CPU_R14000, CPU_R16000. 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 |