2001-02-17 Philip Blundell <philb@gnu.org>
[binutils.git] / opcodes / ia64-opc.h
blobd0306810004877e2fa4c9340d2db86bdb588ae55
1 /* ia64-opc.h -- IA-64 opcode table.
2 Copyright (C) 1998, 1999 Free Software Foundation, Inc.
3 Contributed by David Mosberger-Tang <davidm@hpl.hp.com>
5 This file is part of GDB, GAS, and the GNU binutils.
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.
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.
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. */
22 #ifndef IA64_OPC_H
23 #define IA64_OPC_H
25 #include "opcode/ia64.h"
27 /* define a couple of abbreviations: */
29 #define bOp(x) (((ia64_insn) ((x) & 0xf)) << 37)
30 #define mOp bOp (-1)
31 #define Op(x) bOp (x), mOp
33 #define FIRST IA64_OPCODE_FIRST
34 #define X_IN_MLX IA64_OPCODE_X_IN_MLX
35 #define LAST IA64_OPCODE_LAST
36 #define PRIV IA64_OPCODE_PRIV
37 #define NO_PRED IA64_OPCODE_NO_PRED
38 #define SLOT2 IA64_OPCODE_SLOT2
39 #define PSEUDO IA64_OPCODE_PSEUDO
40 #define F2_EQ_F3 IA64_OPCODE_F2_EQ_F3
41 #define LEN_EQ_64MCNT IA64_OPCODE_LEN_EQ_64MCNT
42 #define MOD_RRBS IA64_OPCODE_MOD_RRBS
43 #define POSTINC IA64_OPCODE_POSTINC
45 #define AR_CCV IA64_OPND_AR_CCV
46 #define AR_PFS IA64_OPND_AR_PFS
47 #define C1 IA64_OPND_C1
48 #define C8 IA64_OPND_C8
49 #define C16 IA64_OPND_C16
50 #define GR0 IA64_OPND_GR0
51 #define IP IA64_OPND_IP
52 #define PR IA64_OPND_PR
53 #define PR_ROT IA64_OPND_PR_ROT
54 #define PSR IA64_OPND_PSR
55 #define PSR_L IA64_OPND_PSR_L
56 #define PSR_UM IA64_OPND_PSR_UM
58 #define AR3 IA64_OPND_AR3
59 #define B1 IA64_OPND_B1
60 #define B2 IA64_OPND_B2
61 #define CR3 IA64_OPND_CR3
62 #define F1 IA64_OPND_F1
63 #define F2 IA64_OPND_F2
64 #define F3 IA64_OPND_F3
65 #define F4 IA64_OPND_F4
66 #define P1 IA64_OPND_P1
67 #define P2 IA64_OPND_P2
68 #define R1 IA64_OPND_R1
69 #define R2 IA64_OPND_R2
70 #define R3 IA64_OPND_R3
71 #define R3_2 IA64_OPND_R3_2
73 #define CPUID_R3 IA64_OPND_CPUID_R3
74 #define DBR_R3 IA64_OPND_DBR_R3
75 #define DTR_R3 IA64_OPND_DTR_R3
76 #define ITR_R3 IA64_OPND_ITR_R3
77 #define IBR_R3 IA64_OPND_IBR_R3
78 #define MR3 IA64_OPND_MR3
79 #define MSR_R3 IA64_OPND_MSR_R3
80 #define PKR_R3 IA64_OPND_PKR_R3
81 #define PMC_R3 IA64_OPND_PMC_R3
82 #define PMD_R3 IA64_OPND_PMD_R3
83 #define RR_R3 IA64_OPND_RR_R3
85 #define CCNT5 IA64_OPND_CCNT5
86 #define CNT2a IA64_OPND_CNT2a
87 #define CNT2b IA64_OPND_CNT2b
88 #define CNT2c IA64_OPND_CNT2c
89 #define CNT5 IA64_OPND_CNT5
90 #define CNT6 IA64_OPND_CNT6
91 #define CPOS6a IA64_OPND_CPOS6a
92 #define CPOS6b IA64_OPND_CPOS6b
93 #define CPOS6c IA64_OPND_CPOS6c
94 #define IMM1 IA64_OPND_IMM1
95 #define IMM14 IA64_OPND_IMM14
96 #define IMM17 IA64_OPND_IMM17
97 #define IMM22 IA64_OPND_IMM22
98 #define IMM44 IA64_OPND_IMM44
99 #define SOF IA64_OPND_SOF
100 #define SOL IA64_OPND_SOL
101 #define SOR IA64_OPND_SOR
102 #define IMM8 IA64_OPND_IMM8
103 #define IMM8U4 IA64_OPND_IMM8U4
104 #define IMM8M1 IA64_OPND_IMM8M1
105 #define IMM8M1U4 IA64_OPND_IMM8M1U4
106 #define IMM8M1U8 IA64_OPND_IMM8M1U8
107 #define IMM9a IA64_OPND_IMM9a
108 #define IMM9b IA64_OPND_IMM9b
109 #define IMMU2 IA64_OPND_IMMU2
110 #define IMMU21 IA64_OPND_IMMU21
111 #define IMMU24 IA64_OPND_IMMU24
112 #define IMMU62 IA64_OPND_IMMU62
113 #define IMMU64 IA64_OPND_IMMU64
114 #define IMMU7a IA64_OPND_IMMU7a
115 #define IMMU7b IA64_OPND_IMMU7b
116 #define IMMU9 IA64_OPND_IMMU9
117 #define INC3 IA64_OPND_INC3
118 #define LEN4 IA64_OPND_LEN4
119 #define LEN6 IA64_OPND_LEN6
120 #define MBTYPE4 IA64_OPND_MBTYPE4
121 #define MHTYPE8 IA64_OPND_MHTYPE8
122 #define POS6 IA64_OPND_POS6
123 #define TAG13 IA64_OPND_TAG13
124 #define TAG13b IA64_OPND_TAG13b
125 #define TGT25 IA64_OPND_TGT25
126 #define TGT25b IA64_OPND_TGT25b
127 #define TGT25c IA64_OPND_TGT25c
128 #define TGT64 IA64_OPND_TGT64
130 #endif