summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2002-02-25 03:42:59 +0000
committerAlan Modra <amodra@bigpond.net.au>2002-02-25 03:42:59 +0000
commit793b6b815a83d1edabda9b07dcb9e31e245f84e8 (patch)
tree518a678dbb10a966647f5efd03c6fcc136d4cb49 /include
parentdb409380f253fc3c2149c5ccc9ebfbab25740819 (diff)
downloadgdb-793b6b815a83d1edabda9b07dcb9e31e245f84e8.tar.gz
* ppc.h (PPC_OPCODE_POWER4, PPC_OPCODE_NOPOWER4): Define.
Diffstat (limited to 'include')
-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 dc3983ec0a1..f7db66f63a8 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)