summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan Modra <modra@gmail.com>2002-02-25 05:03:12 +0000
committerAlan Modra <modra@gmail.com>2002-02-25 05:03:12 +0000
commit74cd902d3d0a0e1746a28ce2e98b221491696fa5 (patch)
treefc4572efd1a532079b9dbfb97e69dfb25102d598
parent1f5c3a967dfd7bf7a9af7bb7d89010fef680443a (diff)
downloadcygnal-74cd902d3d0a0e1746a28ce2e98b221491696fa5.tar.gz
cygnal-74cd902d3d0a0e1746a28ce2e98b221491696fa5.tar.bz2
cygnal-74cd902d3d0a0e1746a28ce2e98b221491696fa5.zip
* ppc.h (PPC_OPCODE_POWER4, PPC_OPCODE_NOPOWER4): Define.
-rw-r--r--include/opcode/ChangeLog4
-rw-r--r--include/opcode/ppc.h9
2 files changed, 12 insertions, 1 deletions
diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog
index 9703eeee1..9d143c7a9 100644
--- a/include/opcode/ChangeLog
+++ b/include/opcode/ChangeLog
@@ -1,3 +1,7 @@
+2002-02-25 Alan Modra <amodra@bigpond.net.au>
+
+ * ppc.h (PPC_OPCODE_POWER4, PPC_OPCODE_NOPOWER4): Define.
+
Mon Feb 18 17:26:10 CET 2002 Jan Hubicka <jh@suse.cz>
* i386.h (push,pop): Fix Reg64 to WordReg to allow 16bit operands.
diff --git a/include/opcode/ppc.h b/include/opcode/ppc.h
index dc3983ec0..f7db66f63 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)