* ppc.h (PPC_OPCODE_POWER4, PPC_OPCODE_NOPOWER4): Define.

This commit is contained in:
Alan Modra 2002-02-25 03:42:59 +00:00
parent ef575dad60
commit 925770f3a6
1 changed files with 8 additions and 1 deletions

View File

@ -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)