aboutsummaryrefslogtreecommitdiff
path: root/include/opcode
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2002-02-25 03:42:59 +0000
committerAlan Modra <amodra@gmail.com>2002-02-25 03:42:59 +0000
commitfc1e712166469fc3c3f3d6877126b20af7a01d76 (patch)
tree8b9f100be4f526d0c5c5eb6ec9769a2e04e7dcb4 /include/opcode
parent7ea814144a31ec40ca33111cec147bd691c6a93c (diff)
downloadgdb-fc1e712166469fc3c3f3d6877126b20af7a01d76.zip
gdb-fc1e712166469fc3c3f3d6877126b20af7a01d76.tar.gz
gdb-fc1e712166469fc3c3f3d6877126b20af7a01d76.tar.bz2
* ppc.h (PPC_OPCODE_POWER4, PPC_OPCODE_NOPOWER4): Define.
Diffstat (limited to 'include/opcode')
-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)