2005-05-09 Kelley Cook <kcook@gcc.gnu.org>
[deliverable/binutils-gdb.git] / opcodes / ia64-opc-x.c
index 9d9a6c109cc87344909a975a9317d9deaab5619c..fcbe92e434b7bfe4171418c1e26d74f3983913e7 100644 (file)
@@ -16,8 +16,8 @@
 
    You should have received a copy of the GNU General Public License
    along with this file; see the file COPYING.  If not, write to the
-   Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
-   02111-1307, USA.  */
+   Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA
+   02110-1301, USA.  */
 
 #include "ia64-opc.h"
 
@@ -34,6 +34,7 @@
 #define bWha(x)                (((ia64_insn) ((x) & 0x3)) << 33)
 #define bX3(x)         (((ia64_insn) ((x) & 0x7)) << 33)
 #define bX6(x)         (((ia64_insn) ((x) & 0x3f)) << 27)
+#define bY(x)          (((ia64_insn) ((x) & 0x1)) << 26)
 
 #define mBtype         bBtype (-1)
 #define mD             bD (-1)
 #define mWha           bWha (-1)
 #define mX3             bX3 (-1)
 #define mX6            bX6 (-1)
+#define mY             bY (-1)
 
 #define OpX3X6(a,b,c)          (bOp (a) | bX3 (b) | bX6(c)), \
                                (mOp | mX3 | mX6)
+#define OpX3X6Y(a,b,c,d)       (bOp (a) | bX3 (b) | bX6(c) | bY(d)), \
+                               (mOp | mX3 | mX6 | mY)
 #define OpVc(a,b)              (bOp (a) | bVc (b)), (mOp | mVc)
 #define OpPaWhaD(a,b,c,d) \
        (bOp (a) | bPa (b) | bWha (c) | bD (d)), (mOp | mPa | mWha | mD)
@@ -58,8 +62,9 @@
 
 struct ia64_opcode ia64_opcodes_x[] =
   {
-    {"break.x", X0, OpX3X6 (0, 0, 0x00), {IMMU62}, 0, 0, NULL},
-    {"nop.x",   X0, OpX3X6 (0, 0, 0x01), {IMMU62}, 0, 0, NULL},
+    {"break.x",        X0, OpX3X6 (0, 0, 0x00), {IMMU62}, 0, 0, NULL},
+    {"nop.x",  X0, OpX3X6Y (0, 0, 0x01, 0), {IMMU62}, 0, 0, NULL},
+    {"hint.x", X0, OpX3X6Y (0, 0, 0x01, 1), {IMMU62}, 0, 0, NULL},
     {"movl",   X,  OpVc (6, 0), {R1, IMMU64}, 0, 0, NULL},
 #define BRL(a,b) \
       X0, OpBtypePaWhaDPr (0xC, 0, a, 0, b, 0), {TGT64}, PSEUDO, 0, NULL
This page took 0.023351 seconds and 4 git commands to generate.