source: branches/libc-0.6/src/binutils/opcodes/ia64-opc-x.c@ 2651

Last change on this file since 2651 was 610, checked in by bird, 22 years ago

This commit was generated by cvs2svn to compensate for changes in r609,
which included commits to RCS files with non-trunk default branches.

  • Property cvs2svn:cvs-rev set to 1.1.1.2
  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 6.6 KB
Line 
1/* ia64-opc-x.c -- IA-64 `X' opcode table.
2 Copyright 1998, 1999, 2000, 2002 Free Software Foundation, Inc.
3 Contributed by Timothy Wall <[email protected]>
4
5 This file is part of GDB, GAS, and the GNU binutils.
6
7 GDB, GAS, and the GNU binutils are free software; you can redistribute
8 them and/or modify them under the terms of the GNU General Public
9 License as published by the Free Software Foundation; either version
10 2, or (at your option) any later version.
11
12 GDB, GAS, and the GNU binutils are distributed in the hope that they
13 will be useful, but WITHOUT ANY WARRANTY; without even the implied
14 warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
15 the GNU General Public License for more details.
16
17 You should have received a copy of the GNU General Public License
18 along with this file; see the file COPYING. If not, write to the
19 Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
20 02111-1307, USA. */
21
22#include "ia64-opc.h"
23
24/* Identify the specific X-unit type. */
25#define X0 IA64_TYPE_X, 0
26#define X IA64_TYPE_X, 1
27
28/* Instruction bit fields: */
29#define bBtype(x) (((ia64_insn) ((x) & 0x7)) << 6)
30#define bD(x) (((ia64_insn) ((x) & 0x1)) << 35)
31#define bPa(x) (((ia64_insn) ((x) & 0x1)) << 12)
32#define bPr(x) (((ia64_insn) ((x) & 0x3f)) << 0)
33#define bVc(x) (((ia64_insn) ((x) & 0x1)) << 20)
34#define bWha(x) (((ia64_insn) ((x) & 0x3)) << 33)
35#define bX3(x) (((ia64_insn) ((x) & 0x7)) << 33)
36#define bX6(x) (((ia64_insn) ((x) & 0x3f)) << 27)
37#define bY(x) (((ia64_insn) ((x) & 0x1)) << 26)
38
39#define mBtype bBtype (-1)
40#define mD bD (-1)
41#define mPa bPa (-1)
42#define mPr bPr (-1)
43#define mVc bVc (-1)
44#define mWha bWha (-1)
45#define mX3 bX3 (-1)
46#define mX6 bX6 (-1)
47#define mY bY (-1)