aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <modra@gmail.com>2009-03-02 13:47:14 +0000
committerAlan Modra <modra@gmail.com>2009-03-02 13:47:14 +0000
commit33339cb3c2b977bf8cbb55c77d21afbf364b0fca (patch)
treed7d7b72f39d5455bfe9cadd0267cab51a9c57309
parentd1deaa1fe2fa52255e823dd8cc5833ee67a7a244 (diff)
downloadnewlib-33339cb3c2b977bf8cbb55c77d21afbf364b0fca.zip
newlib-33339cb3c2b977bf8cbb55c77d21afbf364b0fca.tar.gz
newlib-33339cb3c2b977bf8cbb55c77d21afbf364b0fca.tar.bz2
backport 2009-01-09 Peter Bergner <bergner@vnet.ibm.com>
-rw-r--r--include/opcode/ChangeLog6
-rw-r--r--include/opcode/ppc.h8
2 files changed, 11 insertions, 3 deletions
diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog
index 9a97ab6..fbc492d 100644
--- a/include/opcode/ChangeLog
+++ b/include/opcode/ChangeLog
@@ -1,3 +1,9 @@
+2009-03-02 Alan Modra <amodra@bigpond.net.au>
+
+ 2009-01-09 Peter Bergner <bergner@vnet.ibm.com>
+ * ppc.h (struct powerpc_opcode): New field "deprecated".
+ (PPC_OPCODE_NOPOWER4): Delete.
+
2008-08-28 H.J. Lu <hongjiu.lu@intel.com>
* ia64.h (ia64_resource_specifier): Add IA64_RS_CR_IIB. Update
diff --git a/include/opcode/ppc.h b/include/opcode/ppc.h
index 0296b59..1ede310 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