aboutsummaryrefslogtreecommitdiff
path: root/include/opcode/ppc.h
diff options
context:
space:
mode:
authorAlan Modra <modra@gmail.com>2002-02-25 03:42:59 +0000
committerAlan Modra <modra@gmail.com>2002-02-25 03:42:59 +0000
commit925770f3a6fff428a6be10c4da3c1a3b105227e9 (patch)
tree0a06c0b8f745ebd7f0ce905449a5ef99f5b2b092 /include/opcode/ppc.h
parentef575dad60fc2684a980a44803c52c01c3a42e06 (diff)
downloadnewlib-925770f3a6fff428a6be10c4da3c1a3b105227e9.zip
newlib-925770f3a6fff428a6be10c4da3c1a3b105227e9.tar.gz
newlib-925770f3a6fff428a6be10c4da3c1a3b105227e9.tar.bz2
* ppc.h (PPC_OPCODE_POWER4, PPC_OPCODE_NOPOWER4): Define.
Diffstat (limited to 'include/opcode/ppc.h')
-rw-r--r--include/opcode/ppc.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/include/opcode/ppc.h b/include/opcode/ppc.h
index dc3983e..f7db66f 100644
--- a/include/opcode/ppc.h
+++ b/include/opcode/ppc.h
@@ -1,5 +1,6 @@
/* ppc.h -- Header file for PowerPC opcode table
- Copyright 1994, 1995, 1999, 2000, 2001 Free Software Foundation, Inc.
+ Copyright 1994, 1995, 1999, 2000, 2001, 2002
+ Free Software Foundation, Inc.
Written by Ian Lance Taylor, Cygnus Support
This file is part of GDB, GAS, and the GNU binutils.
@@ -100,6 +101,12 @@ extern const int powerpc_num_opcodes;
/* Opcode is only supported by 64-bit PowerPC BookE processor. */
#define PPC_OPCODE_BOOKE64 (010000)
+/* Opcode is only supported by Power4 architecture. */
+#define PPC_OPCODE_POWER4 (020000)
+
+/* Opcode isn't supported by Power4 architecture. */
+#define PPC_OPCODE_NOPOWER4 (040000)
+
/* A macro to extract the major opcode from an instruction. */
#define PPC_OP(i) (((i) >> 26) & 0x3f)