OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [binutils-2.20.1/] [opcodes/] [fr30-opc.c] - Diff between revs 816 and 818

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 816 Rev 818
/* Instruction opcode table for fr30.
/* Instruction opcode table for fr30.
 
 
THIS FILE IS MACHINE GENERATED WITH CGEN.
THIS FILE IS MACHINE GENERATED WITH CGEN.
 
 
Copyright 1996-2009 Free Software Foundation, Inc.
Copyright 1996-2009 Free Software Foundation, Inc.
 
 
This file is part of the GNU Binutils and/or GDB, the GNU debugger.
This file is part of the GNU Binutils and/or GDB, the GNU debugger.
 
 
   This file is free software; you can redistribute it and/or modify
   This file is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation; either version 3, or (at your option)
   the Free Software Foundation; either version 3, or (at your option)
   any later version.
   any later version.
 
 
   It is distributed in the hope that it will be useful, but WITHOUT
   It is distributed in the hope that it will be useful, but WITHOUT
   ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
   ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
   or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
   or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
   License for more details.
   License for more details.
 
 
   You should have received a copy of the GNU General Public License along
   You should have received a copy of the GNU General Public License along
   with this program; if not, write to the Free Software Foundation, Inc.,
   with this program; if not, write to the Free Software Foundation, Inc.,
   51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
   51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
 
 
*/
*/
 
 
#include "sysdep.h"
#include "sysdep.h"
#include "ansidecl.h"
#include "ansidecl.h"
#include "bfd.h"
#include "bfd.h"
#include "symcat.h"
#include "symcat.h"
#include "fr30-desc.h"
#include "fr30-desc.h"
#include "fr30-opc.h"
#include "fr30-opc.h"
#include "libiberty.h"
#include "libiberty.h"
 
 
/* The hash functions are recorded here to help keep assembler code out of
/* The hash functions are recorded here to help keep assembler code out of
   the disassembler and vice versa.  */
   the disassembler and vice versa.  */
 
 
static int asm_hash_insn_p        (const CGEN_INSN *);
static int asm_hash_insn_p        (const CGEN_INSN *);
static unsigned int asm_hash_insn (const char *);
static unsigned int asm_hash_insn (const char *);
static int dis_hash_insn_p        (const CGEN_INSN *);
static int dis_hash_insn_p        (const CGEN_INSN *);
static unsigned int dis_hash_insn (const char *, CGEN_INSN_INT);
static unsigned int dis_hash_insn (const char *, CGEN_INSN_INT);
 
 
/* Instruction formats.  */
/* Instruction formats.  */
 
 
#if defined (__STDC__) || defined (ALMOST_STDC) || defined (HAVE_STRINGIZE)
#if defined (__STDC__) || defined (ALMOST_STDC) || defined (HAVE_STRINGIZE)
#define F(f) & fr30_cgen_ifld_table[FR30_##f]
#define F(f) & fr30_cgen_ifld_table[FR30_##f]
#else
#else
#define F(f) & fr30_cgen_ifld_table[FR30_/**/f]
#define F(f) & fr30_cgen_ifld_table[FR30_/**/f]
#endif
#endif
static const CGEN_IFMT ifmt_empty ATTRIBUTE_UNUSED = {
static const CGEN_IFMT ifmt_empty ATTRIBUTE_UNUSED = {
  0, 0, 0x0, { { 0 } }
  0, 0, 0x0, { { 0 } }
};
};
 
 
static const CGEN_IFMT ifmt_add ATTRIBUTE_UNUSED = {
static const CGEN_IFMT ifmt_add ATTRIBUTE_UNUSED = {
  16, 16, 0xff00, { { F (F_OP1) }, { F (F_OP2) }, { F (F_RJ) }, { F (F_RI) }, { 0 } }
  16, 16, 0xff00, { { F (F_OP1) }, { F (F_OP2) }, { F (F_RJ) }, { F (F_RI) }, { 0 } }
};
};
 
 
static const CGEN_IFMT ifmt_addi ATTRIBUTE_UNUSED = {
static const CGEN_IFMT ifmt_addi ATTRIBUTE_UNUSED = {
  16, 16, 0xff00, { { F (F_OP1) }, { F (F_OP2) }, { F (F_U4) }, { F (F_RI) }, { 0 } }
  16, 16, 0xff00, { { F (F_OP1) }, { F (F_OP2) }, { F (F_U4) }, { F (F_RI) }, { 0 } }
};
};
 
 
static const CGEN_IFMT ifmt_add2 ATTRIBUTE_UNUSED = {
static const CGEN_IFMT ifmt_add2 ATTRIBUTE_UNUSED = {
  16, 16, 0xff00, { { F (F_OP1) }, { F (F_OP2) }, { F (F_M4) }, { F (F_RI) }, { 0 } }
  16, 16, 0xff00, { { F (F_OP1) }, { F (F_OP2) }, { F (F_M4) }, { F (F_RI) }, { 0 } }
};
};
 
 
static const CGEN_IFMT ifmt_div0s ATTRIBUTE_UNUSED = {
static const CGEN_IFMT ifmt_div0s ATTRIBUTE_UNUSED = {
  16, 16, 0xfff0, { { F (F_OP1) }, { F (F_OP2) }, { F (F_OP3) }, { F (F_RI) }, { 0 } }
  16, 16, 0xfff0, { { F (F_OP1) }, { F (F_OP2) }, { F (F_OP3) }, { F (F_RI) }, { 0 } }
};
};
 
 
static const CGEN_IFMT ifmt_div3 ATTRIBUTE_UNUSED = {
static const CGEN_IFMT ifmt_div3 ATTRIBUTE_UNUSED = {
  16, 16, 0xffff, { { F (F_OP1) }, { F (F_OP2) }, { F (F_OP3) }, { F (F_OP4) }, { 0 } }
  16, 16, 0xffff, { { F (F_OP1) }, { F (F_OP2) }, { F (F_OP3) }, { F (F_OP4) }, { 0 } }
};
};
 
 
static const CGEN_IFMT ifmt_ldi8 ATTRIBUTE_UNUSED = {
static const CGEN_IFMT ifmt_ldi8 ATTRIBUTE_UNUSED = {
  16, 16, 0xf000, { { F (F_OP1) }, { F (F_I8) }, { F (F_RI) }, { 0 } }
  16, 16, 0xf000, { { F (F_OP1) }, { F (F_I8) }, { F (F_RI) }, { 0 } }
};
};
 
 
static const CGEN_IFMT ifmt_ldi20 ATTRIBUTE_UNUSED = {
static const CGEN_IFMT ifmt_ldi20 ATTRIBUTE_UNUSED = {
  16, 32, 0xff00, { { F (F_OP1) }, { F (F_I20) }, { F (F_OP2) }, { F (F_RI) }, { 0 } }
  16, 32, 0xff00, { { F (F_OP1) }, { F (F_I20) }, { F (F_OP2) }, { F (F_RI) }, { 0 } }
};
};
 
 
static const CGEN_IFMT ifmt_ldi32 ATTRIBUTE_UNUSED = {
static const CGEN_IFMT ifmt_ldi32 ATTRIBUTE_UNUSED = {
  16, 48, 0xfff0, { { F (F_OP1) }, { F (F_I32) }, { F (F_OP2) }, { F (F_OP3) }, { F (F_RI) }, { 0 } }
  16, 48, 0xfff0, { { F (F_OP1) }, { F (F_I32) }, { F (F_OP2) }, { F (F_OP3) }, { F (F_RI) }, { 0 } }
};
};
 
 
static const CGEN_IFMT ifmt_ldr14 ATTRIBUTE_UNUSED = {
static const CGEN_IFMT ifmt_ldr14 ATTRIBUTE_UNUSED = {
  16, 16, 0xf000, { { F (F_OP1) }, { F (F_DISP10) }, { F (F_RI) }, { 0 } }
  16, 16, 0xf000, { { F (F_OP1) }, { F (F_DISP10) }, { F (F_RI) }, { 0 } }
};
};
 
 
static const CGEN_IFMT ifmt_ldr14uh ATTRIBUTE_UNUSED = {
static const CGEN_IFMT ifmt_ldr14uh ATTRIBUTE_UNUSED = {
  16, 16, 0xf000, { { F (F_OP1) }, { F (F_DISP9) }, { F (F_RI) }, { 0 } }
  16, 16, 0xf000, { { F (F_OP1) }, { F (F_DISP9) }, { F (F_RI) }, { 0 } }
};
};
 
 
static const CGEN_IFMT ifmt_ldr14ub ATTRIBUTE_UNUSED = {
static const CGEN_IFMT ifmt_ldr14ub ATTRIBUTE_UNUSED = {
  16, 16, 0xf000, { { F (F_OP1) }, { F (F_DISP8) }, { F (F_RI) }, { 0 } }
  16, 16, 0xf000, { { F (F_OP1) }, { F (F_DISP8) }, { F (F_RI) }, { 0 } }
};
};
 
 
static const CGEN_IFMT ifmt_ldr15 ATTRIBUTE_UNUSED = {
static const CGEN_IFMT ifmt_ldr15 ATTRIBUTE_UNUSED = {
  16, 16, 0xff00, { { F (F_OP1) }, { F (F_OP2) }, { F (F_UDISP6) }, { F (F_RI) }, { 0 } }
  16, 16, 0xff00, { { F (F_OP1) }, { F (F_OP2) }, { F (F_UDISP6) }, { F (F_RI) }, { 0 } }
};
};
 
 
static const CGEN_IFMT ifmt_ldr15dr ATTRIBUTE_UNUSED = {
static const CGEN_IFMT ifmt_ldr15dr ATTRIBUTE_UNUSED = {
  16, 16, 0xfff0, { { F (F_OP1) }, { F (F_OP2) }, { F (F_OP3) }, { F (F_RS2) }, { 0 } }
  16, 16, 0xfff0, { { F (F_OP1) }, { F (F_OP2) }, { F (F_OP3) }, { F (F_RS2) }, { 0 } }
};
};
 
 
static const CGEN_IFMT ifmt_movdr ATTRIBUTE_UNUSED = {
static const CGEN_IFMT ifmt_movdr ATTRIBUTE_UNUSED = {
  16, 16, 0xff00, { { F (F_OP1) }, { F (F_OP2) }, { F (F_RS1) }, { F (F_RI) }, { 0 } }
  16, 16, 0xff00, { { F (F_OP1) }, { F (F_OP2) }, { F (F_RS1) }, { F (F_RI) }, { 0 } }
};
};
 
 
static const CGEN_IFMT ifmt_call ATTRIBUTE_UNUSED = {
static const CGEN_IFMT ifmt_call ATTRIBUTE_UNUSED = {
  16, 16, 0xf800, { { F (F_OP1) }, { F (F_OP5) }, { F (F_REL12) }, { 0 } }
  16, 16, 0xf800, { { F (F_OP1) }, { F (F_OP5) }, { F (F_REL12) }, { 0 } }
};
};
 
 
static const CGEN_IFMT ifmt_int ATTRIBUTE_UNUSED = {
static const CGEN_IFMT ifmt_int ATTRIBUTE_UNUSED = {
  16, 16, 0xff00, { { F (F_OP1) }, { F (F_OP2) }, { F (F_U8) }, { 0 } }
  16, 16, 0xff00, { { F (F_OP1) }, { F (F_OP2) }, { F (F_U8) }, { 0 } }
};
};
 
 
static const CGEN_IFMT ifmt_brad ATTRIBUTE_UNUSED = {
static const CGEN_IFMT ifmt_brad ATTRIBUTE_UNUSED = {
  16, 16, 0xff00, { { F (F_OP1) }, { F (F_CC) }, { F (F_REL9) }, { 0 } }
  16, 16, 0xff00, { { F (F_OP1) }, { F (F_CC) }, { F (F_REL9) }, { 0 } }
};
};
 
 
static const CGEN_IFMT ifmt_dmovr13 ATTRIBUTE_UNUSED = {
static const CGEN_IFMT ifmt_dmovr13 ATTRIBUTE_UNUSED = {
  16, 16, 0xff00, { { F (F_OP1) }, { F (F_OP2) }, { F (F_DIR10) }, { 0 } }
  16, 16, 0xff00, { { F (F_OP1) }, { F (F_OP2) }, { F (F_DIR10) }, { 0 } }
};
};
 
 
static const CGEN_IFMT ifmt_dmovr13h ATTRIBUTE_UNUSED = {
static const CGEN_IFMT ifmt_dmovr13h ATTRIBUTE_UNUSED = {
  16, 16, 0xff00, { { F (F_OP1) }, { F (F_OP2) }, { F (F_DIR9) }, { 0 } }
  16, 16, 0xff00, { { F (F_OP1) }, { F (F_OP2) }, { F (F_DIR9) }, { 0 } }
};
};
 
 
static const CGEN_IFMT ifmt_dmovr13b ATTRIBUTE_UNUSED = {
static const CGEN_IFMT ifmt_dmovr13b ATTRIBUTE_UNUSED = {
  16, 16, 0xff00, { { F (F_OP1) }, { F (F_OP2) }, { F (F_DIR8) }, { 0 } }
  16, 16, 0xff00, { { F (F_OP1) }, { F (F_OP2) }, { F (F_DIR8) }, { 0 } }
};
};
 
 
static const CGEN_IFMT ifmt_copop ATTRIBUTE_UNUSED = {
static const CGEN_IFMT ifmt_copop ATTRIBUTE_UNUSED = {
  16, 32, 0xfff0, { { F (F_OP1) }, { F (F_CCC) }, { F (F_OP2) }, { F (F_OP3) }, { F (F_CRJ) }, { F (F_U4C) }, { F (F_CRI) }, { 0 } }
  16, 32, 0xfff0, { { F (F_OP1) }, { F (F_CCC) }, { F (F_OP2) }, { F (F_OP3) }, { F (F_CRJ) }, { F (F_U4C) }, { F (F_CRI) }, { 0 } }
};
};
 
 
static const CGEN_IFMT ifmt_copld ATTRIBUTE_UNUSED = {
static const CGEN_IFMT ifmt_copld ATTRIBUTE_UNUSED = {
  16, 32, 0xfff0, { { F (F_OP1) }, { F (F_CCC) }, { F (F_OP2) }, { F (F_OP3) }, { F (F_RJC) }, { F (F_U4C) }, { F (F_CRI) }, { 0 } }
  16, 32, 0xfff0, { { F (F_OP1) }, { F (F_CCC) }, { F (F_OP2) }, { F (F_OP3) }, { F (F_RJC) }, { F (F_U4C) }, { F (F_CRI) }, { 0 } }
};
};
 
 
static const CGEN_IFMT ifmt_copst ATTRIBUTE_UNUSED = {
static const CGEN_IFMT ifmt_copst ATTRIBUTE_UNUSED = {
  16, 32, 0xfff0, { { F (F_OP1) }, { F (F_CCC) }, { F (F_OP2) }, { F (F_OP3) }, { F (F_CRJ) }, { F (F_U4C) }, { F (F_RIC) }, { 0 } }
  16, 32, 0xfff0, { { F (F_OP1) }, { F (F_CCC) }, { F (F_OP2) }, { F (F_OP3) }, { F (F_CRJ) }, { F (F_U4C) }, { F (F_RIC) }, { 0 } }
};
};
 
 
static const CGEN_IFMT ifmt_addsp ATTRIBUTE_UNUSED = {
static const CGEN_IFMT ifmt_addsp ATTRIBUTE_UNUSED = {
  16, 16, 0xff00, { { F (F_OP1) }, { F (F_OP2) }, { F (F_S10) }, { 0 } }
  16, 16, 0xff00, { { F (F_OP1) }, { F (F_OP2) }, { F (F_S10) }, { 0 } }
};
};
 
 
static const CGEN_IFMT ifmt_ldm0 ATTRIBUTE_UNUSED = {
static const CGEN_IFMT ifmt_ldm0 ATTRIBUTE_UNUSED = {
  16, 16, 0xff00, { { F (F_OP1) }, { F (F_OP2) }, { F (F_REGLIST_LOW_LD) }, { 0 } }
  16, 16, 0xff00, { { F (F_OP1) }, { F (F_OP2) }, { F (F_REGLIST_LOW_LD) }, { 0 } }
};
};
 
 
static const CGEN_IFMT ifmt_ldm1 ATTRIBUTE_UNUSED = {
static const CGEN_IFMT ifmt_ldm1 ATTRIBUTE_UNUSED = {
  16, 16, 0xff00, { { F (F_OP1) }, { F (F_OP2) }, { F (F_REGLIST_HI_LD) }, { 0 } }
  16, 16, 0xff00, { { F (F_OP1) }, { F (F_OP2) }, { F (F_REGLIST_HI_LD) }, { 0 } }
};
};
 
 
static const CGEN_IFMT ifmt_stm0 ATTRIBUTE_UNUSED = {
static const CGEN_IFMT ifmt_stm0 ATTRIBUTE_UNUSED = {
  16, 16, 0xff00, { { F (F_OP1) }, { F (F_OP2) }, { F (F_REGLIST_LOW_ST) }, { 0 } }
  16, 16, 0xff00, { { F (F_OP1) }, { F (F_OP2) }, { F (F_REGLIST_LOW_ST) }, { 0 } }
};
};
 
 
static const CGEN_IFMT ifmt_stm1 ATTRIBUTE_UNUSED = {
static const CGEN_IFMT ifmt_stm1 ATTRIBUTE_UNUSED = {
  16, 16, 0xff00, { { F (F_OP1) }, { F (F_OP2) }, { F (F_REGLIST_HI_ST) }, { 0 } }
  16, 16, 0xff00, { { F (F_OP1) }, { F (F_OP2) }, { F (F_REGLIST_HI_ST) }, { 0 } }
};
};
 
 
static const CGEN_IFMT ifmt_enter ATTRIBUTE_UNUSED = {
static const CGEN_IFMT ifmt_enter ATTRIBUTE_UNUSED = {
  16, 16, 0xff00, { { F (F_OP1) }, { F (F_OP2) }, { F (F_U10) }, { 0 } }
  16, 16, 0xff00, { { F (F_OP1) }, { F (F_OP2) }, { F (F_U10) }, { 0 } }
};
};
 
 
#undef F
#undef F
 
 
#if defined (__STDC__) || defined (ALMOST_STDC) || defined (HAVE_STRINGIZE)
#if defined (__STDC__) || defined (ALMOST_STDC) || defined (HAVE_STRINGIZE)
#define A(a) (1 << CGEN_INSN_##a)
#define A(a) (1 << CGEN_INSN_##a)
#else
#else
#define A(a) (1 << CGEN_INSN_/**/a)
#define A(a) (1 << CGEN_INSN_/**/a)
#endif
#endif
#if defined (__STDC__) || defined (ALMOST_STDC) || defined (HAVE_STRINGIZE)
#if defined (__STDC__) || defined (ALMOST_STDC) || defined (HAVE_STRINGIZE)
#define OPERAND(op) FR30_OPERAND_##op
#define OPERAND(op) FR30_OPERAND_##op
#else
#else
#define OPERAND(op) FR30_OPERAND_/**/op
#define OPERAND(op) FR30_OPERAND_/**/op
#endif
#endif
#define MNEM CGEN_SYNTAX_MNEMONIC /* syntax value for mnemonic */
#define MNEM CGEN_SYNTAX_MNEMONIC /* syntax value for mnemonic */
#define OP(field) CGEN_SYNTAX_MAKE_FIELD (OPERAND (field))
#define OP(field) CGEN_SYNTAX_MAKE_FIELD (OPERAND (field))
 
 
/* The instruction table.  */
/* The instruction table.  */
 
 
static const CGEN_OPCODE fr30_cgen_insn_opcode_table[MAX_INSNS] =
static const CGEN_OPCODE fr30_cgen_insn_opcode_table[MAX_INSNS] =
{
{
  /* Special null first entry.
  /* Special null first entry.
     A `num' value of zero is thus invalid.
     A `num' value of zero is thus invalid.
     Also, the special `invalid' insn resides here.  */
     Also, the special `invalid' insn resides here.  */
  { { 0, 0, 0, 0 }, {{0}}, 0, {0}},
  { { 0, 0, 0, 0 }, {{0}}, 0, {0}},
/* add $Rj,$Ri */
/* add $Rj,$Ri */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (RJ), ',', OP (RI), 0 } },
    { { MNEM, ' ', OP (RJ), ',', OP (RI), 0 } },
    & ifmt_add, { 0xa600 }
    & ifmt_add, { 0xa600 }
  },
  },
/* add $u4,$Ri */
/* add $u4,$Ri */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (U4), ',', OP (RI), 0 } },
    { { MNEM, ' ', OP (U4), ',', OP (RI), 0 } },
    & ifmt_addi, { 0xa400 }
    & ifmt_addi, { 0xa400 }
  },
  },
/* add2 $m4,$Ri */
/* add2 $m4,$Ri */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (M4), ',', OP (RI), 0 } },
    { { MNEM, ' ', OP (M4), ',', OP (RI), 0 } },
    & ifmt_add2, { 0xa500 }
    & ifmt_add2, { 0xa500 }
  },
  },
/* addc $Rj,$Ri */
/* addc $Rj,$Ri */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (RJ), ',', OP (RI), 0 } },
    { { MNEM, ' ', OP (RJ), ',', OP (RI), 0 } },
    & ifmt_add, { 0xa700 }
    & ifmt_add, { 0xa700 }
  },
  },
/* addn $Rj,$Ri */
/* addn $Rj,$Ri */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (RJ), ',', OP (RI), 0 } },
    { { MNEM, ' ', OP (RJ), ',', OP (RI), 0 } },
    & ifmt_add, { 0xa200 }
    & ifmt_add, { 0xa200 }
  },
  },
/* addn $u4,$Ri */
/* addn $u4,$Ri */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (U4), ',', OP (RI), 0 } },
    { { MNEM, ' ', OP (U4), ',', OP (RI), 0 } },
    & ifmt_addi, { 0xa000 }
    & ifmt_addi, { 0xa000 }
  },
  },
/* addn2 $m4,$Ri */
/* addn2 $m4,$Ri */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (M4), ',', OP (RI), 0 } },
    { { MNEM, ' ', OP (M4), ',', OP (RI), 0 } },
    & ifmt_add2, { 0xa100 }
    & ifmt_add2, { 0xa100 }
  },
  },
/* sub $Rj,$Ri */
/* sub $Rj,$Ri */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (RJ), ',', OP (RI), 0 } },
    { { MNEM, ' ', OP (RJ), ',', OP (RI), 0 } },
    & ifmt_add, { 0xac00 }
    & ifmt_add, { 0xac00 }
  },
  },
/* subc $Rj,$Ri */
/* subc $Rj,$Ri */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (RJ), ',', OP (RI), 0 } },
    { { MNEM, ' ', OP (RJ), ',', OP (RI), 0 } },
    & ifmt_add, { 0xad00 }
    & ifmt_add, { 0xad00 }
  },
  },
/* subn $Rj,$Ri */
/* subn $Rj,$Ri */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (RJ), ',', OP (RI), 0 } },
    { { MNEM, ' ', OP (RJ), ',', OP (RI), 0 } },
    & ifmt_add, { 0xae00 }
    & ifmt_add, { 0xae00 }
  },
  },
/* cmp $Rj,$Ri */
/* cmp $Rj,$Ri */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (RJ), ',', OP (RI), 0 } },
    { { MNEM, ' ', OP (RJ), ',', OP (RI), 0 } },
    & ifmt_add, { 0xaa00 }
    & ifmt_add, { 0xaa00 }
  },
  },
/* cmp $u4,$Ri */
/* cmp $u4,$Ri */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (U4), ',', OP (RI), 0 } },
    { { MNEM, ' ', OP (U4), ',', OP (RI), 0 } },
    & ifmt_addi, { 0xa800 }
    & ifmt_addi, { 0xa800 }
  },
  },
/* cmp2 $m4,$Ri */
/* cmp2 $m4,$Ri */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (M4), ',', OP (RI), 0 } },
    { { MNEM, ' ', OP (M4), ',', OP (RI), 0 } },
    & ifmt_add2, { 0xa900 }
    & ifmt_add2, { 0xa900 }
  },
  },
/* and $Rj,$Ri */
/* and $Rj,$Ri */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (RJ), ',', OP (RI), 0 } },
    { { MNEM, ' ', OP (RJ), ',', OP (RI), 0 } },
    & ifmt_add, { 0x8200 }
    & ifmt_add, { 0x8200 }
  },
  },
/* or $Rj,$Ri */
/* or $Rj,$Ri */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (RJ), ',', OP (RI), 0 } },
    { { MNEM, ' ', OP (RJ), ',', OP (RI), 0 } },
    & ifmt_add, { 0x9200 }
    & ifmt_add, { 0x9200 }
  },
  },
/* eor $Rj,$Ri */
/* eor $Rj,$Ri */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (RJ), ',', OP (RI), 0 } },
    { { MNEM, ' ', OP (RJ), ',', OP (RI), 0 } },
    & ifmt_add, { 0x9a00 }
    & ifmt_add, { 0x9a00 }
  },
  },
/* and $Rj,@$Ri */
/* and $Rj,@$Ri */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (RJ), ',', '@', OP (RI), 0 } },
    { { MNEM, ' ', OP (RJ), ',', '@', OP (RI), 0 } },
    & ifmt_add, { 0x8400 }
    & ifmt_add, { 0x8400 }
  },
  },
/* andh $Rj,@$Ri */
/* andh $Rj,@$Ri */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (RJ), ',', '@', OP (RI), 0 } },
    { { MNEM, ' ', OP (RJ), ',', '@', OP (RI), 0 } },
    & ifmt_add, { 0x8500 }
    & ifmt_add, { 0x8500 }
  },
  },
/* andb $Rj,@$Ri */
/* andb $Rj,@$Ri */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (RJ), ',', '@', OP (RI), 0 } },
    { { MNEM, ' ', OP (RJ), ',', '@', OP (RI), 0 } },
    & ifmt_add, { 0x8600 }
    & ifmt_add, { 0x8600 }
  },
  },
/* or $Rj,@$Ri */
/* or $Rj,@$Ri */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (RJ), ',', '@', OP (RI), 0 } },
    { { MNEM, ' ', OP (RJ), ',', '@', OP (RI), 0 } },
    & ifmt_add, { 0x9400 }
    & ifmt_add, { 0x9400 }
  },
  },
/* orh $Rj,@$Ri */
/* orh $Rj,@$Ri */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (RJ), ',', '@', OP (RI), 0 } },
    { { MNEM, ' ', OP (RJ), ',', '@', OP (RI), 0 } },
    & ifmt_add, { 0x9500 }
    & ifmt_add, { 0x9500 }
  },
  },
/* orb $Rj,@$Ri */
/* orb $Rj,@$Ri */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (RJ), ',', '@', OP (RI), 0 } },
    { { MNEM, ' ', OP (RJ), ',', '@', OP (RI), 0 } },
    & ifmt_add, { 0x9600 }
    & ifmt_add, { 0x9600 }
  },
  },
/* eor $Rj,@$Ri */
/* eor $Rj,@$Ri */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (RJ), ',', '@', OP (RI), 0 } },
    { { MNEM, ' ', OP (RJ), ',', '@', OP (RI), 0 } },
    & ifmt_add, { 0x9c00 }
    & ifmt_add, { 0x9c00 }
  },
  },
/* eorh $Rj,@$Ri */
/* eorh $Rj,@$Ri */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (RJ), ',', '@', OP (RI), 0 } },
    { { MNEM, ' ', OP (RJ), ',', '@', OP (RI), 0 } },
    & ifmt_add, { 0x9d00 }
    & ifmt_add, { 0x9d00 }
  },
  },
/* eorb $Rj,@$Ri */
/* eorb $Rj,@$Ri */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (RJ), ',', '@', OP (RI), 0 } },
    { { MNEM, ' ', OP (RJ), ',', '@', OP (RI), 0 } },
    & ifmt_add, { 0x9e00 }
    & ifmt_add, { 0x9e00 }
  },
  },
/* bandl $u4,@$Ri */
/* bandl $u4,@$Ri */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (U4), ',', '@', OP (RI), 0 } },
    { { MNEM, ' ', OP (U4), ',', '@', OP (RI), 0 } },
    & ifmt_addi, { 0x8000 }
    & ifmt_addi, { 0x8000 }
  },
  },
/* borl $u4,@$Ri */
/* borl $u4,@$Ri */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (U4), ',', '@', OP (RI), 0 } },
    { { MNEM, ' ', OP (U4), ',', '@', OP (RI), 0 } },
    & ifmt_addi, { 0x9000 }
    & ifmt_addi, { 0x9000 }
  },
  },
/* beorl $u4,@$Ri */
/* beorl $u4,@$Ri */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (U4), ',', '@', OP (RI), 0 } },
    { { MNEM, ' ', OP (U4), ',', '@', OP (RI), 0 } },
    & ifmt_addi, { 0x9800 }
    & ifmt_addi, { 0x9800 }
  },
  },
/* bandh $u4,@$Ri */
/* bandh $u4,@$Ri */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (U4), ',', '@', OP (RI), 0 } },
    { { MNEM, ' ', OP (U4), ',', '@', OP (RI), 0 } },
    & ifmt_addi, { 0x8100 }
    & ifmt_addi, { 0x8100 }
  },
  },
/* borh $u4,@$Ri */
/* borh $u4,@$Ri */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (U4), ',', '@', OP (RI), 0 } },
    { { MNEM, ' ', OP (U4), ',', '@', OP (RI), 0 } },
    & ifmt_addi, { 0x9100 }
    & ifmt_addi, { 0x9100 }
  },
  },
/* beorh $u4,@$Ri */
/* beorh $u4,@$Ri */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (U4), ',', '@', OP (RI), 0 } },
    { { MNEM, ' ', OP (U4), ',', '@', OP (RI), 0 } },
    & ifmt_addi, { 0x9900 }
    & ifmt_addi, { 0x9900 }
  },
  },
/* btstl $u4,@$Ri */
/* btstl $u4,@$Ri */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (U4), ',', '@', OP (RI), 0 } },
    { { MNEM, ' ', OP (U4), ',', '@', OP (RI), 0 } },
    & ifmt_addi, { 0x8800 }
    & ifmt_addi, { 0x8800 }
  },
  },
/* btsth $u4,@$Ri */
/* btsth $u4,@$Ri */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (U4), ',', '@', OP (RI), 0 } },
    { { MNEM, ' ', OP (U4), ',', '@', OP (RI), 0 } },
    & ifmt_addi, { 0x8900 }
    & ifmt_addi, { 0x8900 }
  },
  },
/* mul $Rj,$Ri */
/* mul $Rj,$Ri */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (RJ), ',', OP (RI), 0 } },
    { { MNEM, ' ', OP (RJ), ',', OP (RI), 0 } },
    & ifmt_add, { 0xaf00 }
    & ifmt_add, { 0xaf00 }
  },
  },
/* mulu $Rj,$Ri */
/* mulu $Rj,$Ri */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (RJ), ',', OP (RI), 0 } },
    { { MNEM, ' ', OP (RJ), ',', OP (RI), 0 } },
    & ifmt_add, { 0xab00 }
    & ifmt_add, { 0xab00 }
  },
  },
/* mulh $Rj,$Ri */
/* mulh $Rj,$Ri */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (RJ), ',', OP (RI), 0 } },
    { { MNEM, ' ', OP (RJ), ',', OP (RI), 0 } },
    & ifmt_add, { 0xbf00 }
    & ifmt_add, { 0xbf00 }
  },
  },
/* muluh $Rj,$Ri */
/* muluh $Rj,$Ri */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (RJ), ',', OP (RI), 0 } },
    { { MNEM, ' ', OP (RJ), ',', OP (RI), 0 } },
    & ifmt_add, { 0xbb00 }
    & ifmt_add, { 0xbb00 }
  },
  },
/* div0s $Ri */
/* div0s $Ri */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (RI), 0 } },
    { { MNEM, ' ', OP (RI), 0 } },
    & ifmt_div0s, { 0x9740 }
    & ifmt_div0s, { 0x9740 }
  },
  },
/* div0u $Ri */
/* div0u $Ri */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (RI), 0 } },
    { { MNEM, ' ', OP (RI), 0 } },
    & ifmt_div0s, { 0x9750 }
    & ifmt_div0s, { 0x9750 }
  },
  },
/* div1 $Ri */
/* div1 $Ri */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (RI), 0 } },
    { { MNEM, ' ', OP (RI), 0 } },
    & ifmt_div0s, { 0x9760 }
    & ifmt_div0s, { 0x9760 }
  },
  },
/* div2 $Ri */
/* div2 $Ri */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (RI), 0 } },
    { { MNEM, ' ', OP (RI), 0 } },
    & ifmt_div0s, { 0x9770 }
    & ifmt_div0s, { 0x9770 }
  },
  },
/* div3 */
/* div3 */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, 0 } },
    { { MNEM, 0 } },
    & ifmt_div3, { 0x9f60 }
    & ifmt_div3, { 0x9f60 }
  },
  },
/* div4s */
/* div4s */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, 0 } },
    { { MNEM, 0 } },
    & ifmt_div3, { 0x9f70 }
    & ifmt_div3, { 0x9f70 }
  },
  },
/* lsl $Rj,$Ri */
/* lsl $Rj,$Ri */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (RJ), ',', OP (RI), 0 } },
    { { MNEM, ' ', OP (RJ), ',', OP (RI), 0 } },
    & ifmt_add, { 0xb600 }
    & ifmt_add, { 0xb600 }
  },
  },
/* lsl $u4,$Ri */
/* lsl $u4,$Ri */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (U4), ',', OP (RI), 0 } },
    { { MNEM, ' ', OP (U4), ',', OP (RI), 0 } },
    & ifmt_addi, { 0xb400 }
    & ifmt_addi, { 0xb400 }
  },
  },
/* lsl2 $u4,$Ri */
/* lsl2 $u4,$Ri */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (U4), ',', OP (RI), 0 } },
    { { MNEM, ' ', OP (U4), ',', OP (RI), 0 } },
    & ifmt_addi, { 0xb500 }
    & ifmt_addi, { 0xb500 }
  },
  },
/* lsr $Rj,$Ri */
/* lsr $Rj,$Ri */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (RJ), ',', OP (RI), 0 } },
    { { MNEM, ' ', OP (RJ), ',', OP (RI), 0 } },
    & ifmt_add, { 0xb200 }
    & ifmt_add, { 0xb200 }
  },
  },
/* lsr $u4,$Ri */
/* lsr $u4,$Ri */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (U4), ',', OP (RI), 0 } },
    { { MNEM, ' ', OP (U4), ',', OP (RI), 0 } },
    & ifmt_addi, { 0xb000 }
    & ifmt_addi, { 0xb000 }
  },
  },
/* lsr2 $u4,$Ri */
/* lsr2 $u4,$Ri */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (U4), ',', OP (RI), 0 } },
    { { MNEM, ' ', OP (U4), ',', OP (RI), 0 } },
    & ifmt_addi, { 0xb100 }
    & ifmt_addi, { 0xb100 }
  },
  },
/* asr $Rj,$Ri */
/* asr $Rj,$Ri */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (RJ), ',', OP (RI), 0 } },
    { { MNEM, ' ', OP (RJ), ',', OP (RI), 0 } },
    & ifmt_add, { 0xba00 }
    & ifmt_add, { 0xba00 }
  },
  },
/* asr $u4,$Ri */
/* asr $u4,$Ri */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (U4), ',', OP (RI), 0 } },
    { { MNEM, ' ', OP (U4), ',', OP (RI), 0 } },
    & ifmt_addi, { 0xb800 }
    & ifmt_addi, { 0xb800 }
  },
  },
/* asr2 $u4,$Ri */
/* asr2 $u4,$Ri */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (U4), ',', OP (RI), 0 } },
    { { MNEM, ' ', OP (U4), ',', OP (RI), 0 } },
    & ifmt_addi, { 0xb900 }
    & ifmt_addi, { 0xb900 }
  },
  },
/* ldi:8 $i8,$Ri */
/* ldi:8 $i8,$Ri */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (I8), ',', OP (RI), 0 } },
    { { MNEM, ' ', OP (I8), ',', OP (RI), 0 } },
    & ifmt_ldi8, { 0xc000 }
    & ifmt_ldi8, { 0xc000 }
  },
  },
/* ldi:20 $i20,$Ri */
/* ldi:20 $i20,$Ri */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (I20), ',', OP (RI), 0 } },
    { { MNEM, ' ', OP (I20), ',', OP (RI), 0 } },
    & ifmt_ldi20, { 0x9b00 }
    & ifmt_ldi20, { 0x9b00 }
  },
  },
/* ldi:32 $i32,$Ri */
/* ldi:32 $i32,$Ri */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (I32), ',', OP (RI), 0 } },
    { { MNEM, ' ', OP (I32), ',', OP (RI), 0 } },
    & ifmt_ldi32, { 0x9f80 }
    & ifmt_ldi32, { 0x9f80 }
  },
  },
/* ld @$Rj,$Ri */
/* ld @$Rj,$Ri */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', '@', OP (RJ), ',', OP (RI), 0 } },
    { { MNEM, ' ', '@', OP (RJ), ',', OP (RI), 0 } },
    & ifmt_add, { 0x400 }
    & ifmt_add, { 0x400 }
  },
  },
/* lduh @$Rj,$Ri */
/* lduh @$Rj,$Ri */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', '@', OP (RJ), ',', OP (RI), 0 } },
    { { MNEM, ' ', '@', OP (RJ), ',', OP (RI), 0 } },
    & ifmt_add, { 0x500 }
    & ifmt_add, { 0x500 }
  },
  },
/* ldub @$Rj,$Ri */
/* ldub @$Rj,$Ri */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', '@', OP (RJ), ',', OP (RI), 0 } },
    { { MNEM, ' ', '@', OP (RJ), ',', OP (RI), 0 } },
    & ifmt_add, { 0x600 }
    & ifmt_add, { 0x600 }
  },
  },
/* ld @($R13,$Rj),$Ri */
/* ld @($R13,$Rj),$Ri */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', '@', '(', OP (R13), ',', OP (RJ), ')', ',', OP (RI), 0 } },
    { { MNEM, ' ', '@', '(', OP (R13), ',', OP (RJ), ')', ',', OP (RI), 0 } },
    & ifmt_add, { 0x0 }
    & ifmt_add, { 0x0 }
  },
  },
/* lduh @($R13,$Rj),$Ri */
/* lduh @($R13,$Rj),$Ri */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', '@', '(', OP (R13), ',', OP (RJ), ')', ',', OP (RI), 0 } },
    { { MNEM, ' ', '@', '(', OP (R13), ',', OP (RJ), ')', ',', OP (RI), 0 } },
    & ifmt_add, { 0x100 }
    & ifmt_add, { 0x100 }
  },
  },
/* ldub @($R13,$Rj),$Ri */
/* ldub @($R13,$Rj),$Ri */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', '@', '(', OP (R13), ',', OP (RJ), ')', ',', OP (RI), 0 } },
    { { MNEM, ' ', '@', '(', OP (R13), ',', OP (RJ), ')', ',', OP (RI), 0 } },
    & ifmt_add, { 0x200 }
    & ifmt_add, { 0x200 }
  },
  },
/* ld @($R14,$disp10),$Ri */
/* ld @($R14,$disp10),$Ri */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', '@', '(', OP (R14), ',', OP (DISP10), ')', ',', OP (RI), 0 } },
    { { MNEM, ' ', '@', '(', OP (R14), ',', OP (DISP10), ')', ',', OP (RI), 0 } },
    & ifmt_ldr14, { 0x2000 }
    & ifmt_ldr14, { 0x2000 }
  },
  },
/* lduh @($R14,$disp9),$Ri */
/* lduh @($R14,$disp9),$Ri */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', '@', '(', OP (R14), ',', OP (DISP9), ')', ',', OP (RI), 0 } },
    { { MNEM, ' ', '@', '(', OP (R14), ',', OP (DISP9), ')', ',', OP (RI), 0 } },
    & ifmt_ldr14uh, { 0x4000 }
    & ifmt_ldr14uh, { 0x4000 }
  },
  },
/* ldub @($R14,$disp8),$Ri */
/* ldub @($R14,$disp8),$Ri */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', '@', '(', OP (R14), ',', OP (DISP8), ')', ',', OP (RI), 0 } },
    { { MNEM, ' ', '@', '(', OP (R14), ',', OP (DISP8), ')', ',', OP (RI), 0 } },
    & ifmt_ldr14ub, { 0x6000 }
    & ifmt_ldr14ub, { 0x6000 }
  },
  },
/* ld @($R15,$udisp6),$Ri */
/* ld @($R15,$udisp6),$Ri */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', '@', '(', OP (R15), ',', OP (UDISP6), ')', ',', OP (RI), 0 } },
    { { MNEM, ' ', '@', '(', OP (R15), ',', OP (UDISP6), ')', ',', OP (RI), 0 } },
    & ifmt_ldr15, { 0x300 }
    & ifmt_ldr15, { 0x300 }
  },
  },
/* ld @$R15+,$Ri */
/* ld @$R15+,$Ri */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', '@', OP (R15), '+', ',', OP (RI), 0 } },
    { { MNEM, ' ', '@', OP (R15), '+', ',', OP (RI), 0 } },
    & ifmt_div0s, { 0x700 }
    & ifmt_div0s, { 0x700 }
  },
  },
/* ld @$R15+,$Rs2 */
/* ld @$R15+,$Rs2 */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', '@', OP (R15), '+', ',', OP (RS2), 0 } },
    { { MNEM, ' ', '@', OP (R15), '+', ',', OP (RS2), 0 } },
    & ifmt_ldr15dr, { 0x780 }
    & ifmt_ldr15dr, { 0x780 }
  },
  },
/* ld @$R15+,$ps */
/* ld @$R15+,$ps */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', '@', OP (R15), '+', ',', OP (PS), 0 } },
    { { MNEM, ' ', '@', OP (R15), '+', ',', OP (PS), 0 } },
    & ifmt_div3, { 0x790 }
    & ifmt_div3, { 0x790 }
  },
  },
/* st $Ri,@$Rj */
/* st $Ri,@$Rj */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (RI), ',', '@', OP (RJ), 0 } },
    { { MNEM, ' ', OP (RI), ',', '@', OP (RJ), 0 } },
    & ifmt_add, { 0x1400 }
    & ifmt_add, { 0x1400 }
  },
  },
/* sth $Ri,@$Rj */
/* sth $Ri,@$Rj */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (RI), ',', '@', OP (RJ), 0 } },
    { { MNEM, ' ', OP (RI), ',', '@', OP (RJ), 0 } },
    & ifmt_add, { 0x1500 }
    & ifmt_add, { 0x1500 }
  },
  },
/* stb $Ri,@$Rj */
/* stb $Ri,@$Rj */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (RI), ',', '@', OP (RJ), 0 } },
    { { MNEM, ' ', OP (RI), ',', '@', OP (RJ), 0 } },
    & ifmt_add, { 0x1600 }
    & ifmt_add, { 0x1600 }
  },
  },
/* st $Ri,@($R13,$Rj) */
/* st $Ri,@($R13,$Rj) */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (RI), ',', '@', '(', OP (R13), ',', OP (RJ), ')', 0 } },
    { { MNEM, ' ', OP (RI), ',', '@', '(', OP (R13), ',', OP (RJ), ')', 0 } },
    & ifmt_add, { 0x1000 }
    & ifmt_add, { 0x1000 }
  },
  },
/* sth $Ri,@($R13,$Rj) */
/* sth $Ri,@($R13,$Rj) */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (RI), ',', '@', '(', OP (R13), ',', OP (RJ), ')', 0 } },
    { { MNEM, ' ', OP (RI), ',', '@', '(', OP (R13), ',', OP (RJ), ')', 0 } },
    & ifmt_add, { 0x1100 }
    & ifmt_add, { 0x1100 }
  },
  },
/* stb $Ri,@($R13,$Rj) */
/* stb $Ri,@($R13,$Rj) */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (RI), ',', '@', '(', OP (R13), ',', OP (RJ), ')', 0 } },
    { { MNEM, ' ', OP (RI), ',', '@', '(', OP (R13), ',', OP (RJ), ')', 0 } },
    & ifmt_add, { 0x1200 }
    & ifmt_add, { 0x1200 }
  },
  },
/* st $Ri,@($R14,$disp10) */
/* st $Ri,@($R14,$disp10) */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (RI), ',', '@', '(', OP (R14), ',', OP (DISP10), ')', 0 } },
    { { MNEM, ' ', OP (RI), ',', '@', '(', OP (R14), ',', OP (DISP10), ')', 0 } },
    & ifmt_ldr14, { 0x3000 }
    & ifmt_ldr14, { 0x3000 }
  },
  },
/* sth $Ri,@($R14,$disp9) */
/* sth $Ri,@($R14,$disp9) */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (RI), ',', '@', '(', OP (R14), ',', OP (DISP9), ')', 0 } },
    { { MNEM, ' ', OP (RI), ',', '@', '(', OP (R14), ',', OP (DISP9), ')', 0 } },
    & ifmt_ldr14uh, { 0x5000 }
    & ifmt_ldr14uh, { 0x5000 }
  },
  },
/* stb $Ri,@($R14,$disp8) */
/* stb $Ri,@($R14,$disp8) */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (RI), ',', '@', '(', OP (R14), ',', OP (DISP8), ')', 0 } },
    { { MNEM, ' ', OP (RI), ',', '@', '(', OP (R14), ',', OP (DISP8), ')', 0 } },
    & ifmt_ldr14ub, { 0x7000 }
    & ifmt_ldr14ub, { 0x7000 }
  },
  },
/* st $Ri,@($R15,$udisp6) */
/* st $Ri,@($R15,$udisp6) */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (RI), ',', '@', '(', OP (R15), ',', OP (UDISP6), ')', 0 } },
    { { MNEM, ' ', OP (RI), ',', '@', '(', OP (R15), ',', OP (UDISP6), ')', 0 } },
    & ifmt_ldr15, { 0x1300 }
    & ifmt_ldr15, { 0x1300 }
  },
  },
/* st $Ri,@-$R15 */
/* st $Ri,@-$R15 */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (RI), ',', '@', '-', OP (R15), 0 } },
    { { MNEM, ' ', OP (RI), ',', '@', '-', OP (R15), 0 } },
    & ifmt_div0s, { 0x1700 }
    & ifmt_div0s, { 0x1700 }
  },
  },
/* st $Rs2,@-$R15 */
/* st $Rs2,@-$R15 */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (RS2), ',', '@', '-', OP (R15), 0 } },
    { { MNEM, ' ', OP (RS2), ',', '@', '-', OP (R15), 0 } },
    & ifmt_ldr15dr, { 0x1780 }
    & ifmt_ldr15dr, { 0x1780 }
  },
  },
/* st $ps,@-$R15 */
/* st $ps,@-$R15 */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (PS), ',', '@', '-', OP (R15), 0 } },
    { { MNEM, ' ', OP (PS), ',', '@', '-', OP (R15), 0 } },
    & ifmt_div3, { 0x1790 }
    & ifmt_div3, { 0x1790 }
  },
  },
/* mov $Rj,$Ri */
/* mov $Rj,$Ri */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (RJ), ',', OP (RI), 0 } },
    { { MNEM, ' ', OP (RJ), ',', OP (RI), 0 } },
    & ifmt_add, { 0x8b00 }
    & ifmt_add, { 0x8b00 }
  },
  },
/* mov $Rs1,$Ri */
/* mov $Rs1,$Ri */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (RS1), ',', OP (RI), 0 } },
    { { MNEM, ' ', OP (RS1), ',', OP (RI), 0 } },
    & ifmt_movdr, { 0xb700 }
    & ifmt_movdr, { 0xb700 }
  },
  },
/* mov $ps,$Ri */
/* mov $ps,$Ri */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (PS), ',', OP (RI), 0 } },
    { { MNEM, ' ', OP (PS), ',', OP (RI), 0 } },
    & ifmt_div0s, { 0x1710 }
    & ifmt_div0s, { 0x1710 }
  },
  },
/* mov $Ri,$Rs1 */
/* mov $Ri,$Rs1 */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (RI), ',', OP (RS1), 0 } },
    { { MNEM, ' ', OP (RI), ',', OP (RS1), 0 } },
    & ifmt_movdr, { 0xb300 }
    & ifmt_movdr, { 0xb300 }
  },
  },
/* mov $Ri,$ps */
/* mov $Ri,$ps */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (RI), ',', OP (PS), 0 } },
    { { MNEM, ' ', OP (RI), ',', OP (PS), 0 } },
    & ifmt_div0s, { 0x710 }
    & ifmt_div0s, { 0x710 }
  },
  },
/* jmp @$Ri */
/* jmp @$Ri */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', '@', OP (RI), 0 } },
    { { MNEM, ' ', '@', OP (RI), 0 } },
    & ifmt_div0s, { 0x9700 }
    & ifmt_div0s, { 0x9700 }
  },
  },
/* jmp:d @$Ri */
/* jmp:d @$Ri */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', '@', OP (RI), 0 } },
    { { MNEM, ' ', '@', OP (RI), 0 } },
    & ifmt_div0s, { 0x9f00 }
    & ifmt_div0s, { 0x9f00 }
  },
  },
/* call @$Ri */
/* call @$Ri */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', '@', OP (RI), 0 } },
    { { MNEM, ' ', '@', OP (RI), 0 } },
    & ifmt_div0s, { 0x9710 }
    & ifmt_div0s, { 0x9710 }
  },
  },
/* call:d @$Ri */
/* call:d @$Ri */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', '@', OP (RI), 0 } },
    { { MNEM, ' ', '@', OP (RI), 0 } },
    & ifmt_div0s, { 0x9f10 }
    & ifmt_div0s, { 0x9f10 }
  },
  },
/* call $label12 */
/* call $label12 */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (LABEL12), 0 } },
    { { MNEM, ' ', OP (LABEL12), 0 } },
    & ifmt_call, { 0xd000 }
    & ifmt_call, { 0xd000 }
  },
  },
/* call:d $label12 */
/* call:d $label12 */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (LABEL12), 0 } },
    { { MNEM, ' ', OP (LABEL12), 0 } },
    & ifmt_call, { 0xd800 }
    & ifmt_call, { 0xd800 }
  },
  },
/* ret */
/* ret */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, 0 } },
    { { MNEM, 0 } },
    & ifmt_div3, { 0x9720 }
    & ifmt_div3, { 0x9720 }
  },
  },
/* ret:d */
/* ret:d */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, 0 } },
    { { MNEM, 0 } },
    & ifmt_div3, { 0x9f20 }
    & ifmt_div3, { 0x9f20 }
  },
  },
/* int $u8 */
/* int $u8 */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (U8), 0 } },
    { { MNEM, ' ', OP (U8), 0 } },
    & ifmt_int, { 0x1f00 }
    & ifmt_int, { 0x1f00 }
  },
  },
/* inte */
/* inte */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, 0 } },
    { { MNEM, 0 } },
    & ifmt_div3, { 0x9f30 }
    & ifmt_div3, { 0x9f30 }
  },
  },
/* reti */
/* reti */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, 0 } },
    { { MNEM, 0 } },
    & ifmt_div3, { 0x9730 }
    & ifmt_div3, { 0x9730 }
  },
  },
/* bra:d $label9 */
/* bra:d $label9 */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (LABEL9), 0 } },
    { { MNEM, ' ', OP (LABEL9), 0 } },
    & ifmt_brad, { 0xf000 }
    & ifmt_brad, { 0xf000 }
  },
  },
/* bra $label9 */
/* bra $label9 */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (LABEL9), 0 } },
    { { MNEM, ' ', OP (LABEL9), 0 } },
    & ifmt_brad, { 0xe000 }
    & ifmt_brad, { 0xe000 }
  },
  },
/* bno:d $label9 */
/* bno:d $label9 */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (LABEL9), 0 } },
    { { MNEM, ' ', OP (LABEL9), 0 } },
    & ifmt_brad, { 0xf100 }
    & ifmt_brad, { 0xf100 }
  },
  },
/* bno $label9 */
/* bno $label9 */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (LABEL9), 0 } },
    { { MNEM, ' ', OP (LABEL9), 0 } },
    & ifmt_brad, { 0xe100 }
    & ifmt_brad, { 0xe100 }
  },
  },
/* beq:d $label9 */
/* beq:d $label9 */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (LABEL9), 0 } },
    { { MNEM, ' ', OP (LABEL9), 0 } },
    & ifmt_brad, { 0xf200 }
    & ifmt_brad, { 0xf200 }
  },
  },
/* beq $label9 */
/* beq $label9 */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (LABEL9), 0 } },
    { { MNEM, ' ', OP (LABEL9), 0 } },
    & ifmt_brad, { 0xe200 }
    & ifmt_brad, { 0xe200 }
  },
  },
/* bne:d $label9 */
/* bne:d $label9 */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (LABEL9), 0 } },
    { { MNEM, ' ', OP (LABEL9), 0 } },
    & ifmt_brad, { 0xf300 }
    & ifmt_brad, { 0xf300 }
  },
  },
/* bne $label9 */
/* bne $label9 */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (LABEL9), 0 } },
    { { MNEM, ' ', OP (LABEL9), 0 } },
    & ifmt_brad, { 0xe300 }
    & ifmt_brad, { 0xe300 }
  },
  },
/* bc:d $label9 */
/* bc:d $label9 */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (LABEL9), 0 } },
    { { MNEM, ' ', OP (LABEL9), 0 } },
    & ifmt_brad, { 0xf400 }
    & ifmt_brad, { 0xf400 }
  },
  },
/* bc $label9 */
/* bc $label9 */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (LABEL9), 0 } },
    { { MNEM, ' ', OP (LABEL9), 0 } },
    & ifmt_brad, { 0xe400 }
    & ifmt_brad, { 0xe400 }
  },
  },
/* bnc:d $label9 */
/* bnc:d $label9 */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (LABEL9), 0 } },
    { { MNEM, ' ', OP (LABEL9), 0 } },
    & ifmt_brad, { 0xf500 }
    & ifmt_brad, { 0xf500 }
  },
  },
/* bnc $label9 */
/* bnc $label9 */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (LABEL9), 0 } },
    { { MNEM, ' ', OP (LABEL9), 0 } },
    & ifmt_brad, { 0xe500 }
    & ifmt_brad, { 0xe500 }
  },
  },
/* bn:d $label9 */
/* bn:d $label9 */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (LABEL9), 0 } },
    { { MNEM, ' ', OP (LABEL9), 0 } },
    & ifmt_brad, { 0xf600 }
    & ifmt_brad, { 0xf600 }
  },
  },
/* bn $label9 */
/* bn $label9 */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (LABEL9), 0 } },
    { { MNEM, ' ', OP (LABEL9), 0 } },
    & ifmt_brad, { 0xe600 }
    & ifmt_brad, { 0xe600 }
  },
  },
/* bp:d $label9 */
/* bp:d $label9 */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (LABEL9), 0 } },
    { { MNEM, ' ', OP (LABEL9), 0 } },
    & ifmt_brad, { 0xf700 }
    & ifmt_brad, { 0xf700 }
  },
  },
/* bp $label9 */
/* bp $label9 */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (LABEL9), 0 } },
    { { MNEM, ' ', OP (LABEL9), 0 } },
    & ifmt_brad, { 0xe700 }
    & ifmt_brad, { 0xe700 }
  },
  },
/* bv:d $label9 */
/* bv:d $label9 */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (LABEL9), 0 } },
    { { MNEM, ' ', OP (LABEL9), 0 } },
    & ifmt_brad, { 0xf800 }
    & ifmt_brad, { 0xf800 }
  },
  },
/* bv $label9 */
/* bv $label9 */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (LABEL9), 0 } },
    { { MNEM, ' ', OP (LABEL9), 0 } },
    & ifmt_brad, { 0xe800 }
    & ifmt_brad, { 0xe800 }
  },
  },
/* bnv:d $label9 */
/* bnv:d $label9 */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (LABEL9), 0 } },
    { { MNEM, ' ', OP (LABEL9), 0 } },
    & ifmt_brad, { 0xf900 }
    & ifmt_brad, { 0xf900 }
  },
  },
/* bnv $label9 */
/* bnv $label9 */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (LABEL9), 0 } },
    { { MNEM, ' ', OP (LABEL9), 0 } },
    & ifmt_brad, { 0xe900 }
    & ifmt_brad, { 0xe900 }
  },
  },
/* blt:d $label9 */
/* blt:d $label9 */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (LABEL9), 0 } },
    { { MNEM, ' ', OP (LABEL9), 0 } },
    & ifmt_brad, { 0xfa00 }
    & ifmt_brad, { 0xfa00 }
  },
  },
/* blt $label9 */
/* blt $label9 */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (LABEL9), 0 } },
    { { MNEM, ' ', OP (LABEL9), 0 } },
    & ifmt_brad, { 0xea00 }
    & ifmt_brad, { 0xea00 }
  },
  },
/* bge:d $label9 */
/* bge:d $label9 */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (LABEL9), 0 } },
    { { MNEM, ' ', OP (LABEL9), 0 } },
    & ifmt_brad, { 0xfb00 }
    & ifmt_brad, { 0xfb00 }
  },
  },
/* bge $label9 */
/* bge $label9 */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (LABEL9), 0 } },
    { { MNEM, ' ', OP (LABEL9), 0 } },
    & ifmt_brad, { 0xeb00 }
    & ifmt_brad, { 0xeb00 }
  },
  },
/* ble:d $label9 */
/* ble:d $label9 */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (LABEL9), 0 } },
    { { MNEM, ' ', OP (LABEL9), 0 } },
    & ifmt_brad, { 0xfc00 }
    & ifmt_brad, { 0xfc00 }
  },
  },
/* ble $label9 */
/* ble $label9 */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (LABEL9), 0 } },
    { { MNEM, ' ', OP (LABEL9), 0 } },
    & ifmt_brad, { 0xec00 }
    & ifmt_brad, { 0xec00 }
  },
  },
/* bgt:d $label9 */
/* bgt:d $label9 */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (LABEL9), 0 } },
    { { MNEM, ' ', OP (LABEL9), 0 } },
    & ifmt_brad, { 0xfd00 }
    & ifmt_brad, { 0xfd00 }
  },
  },
/* bgt $label9 */
/* bgt $label9 */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (LABEL9), 0 } },
    { { MNEM, ' ', OP (LABEL9), 0 } },
    & ifmt_brad, { 0xed00 }
    & ifmt_brad, { 0xed00 }
  },
  },
/* bls:d $label9 */
/* bls:d $label9 */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (LABEL9), 0 } },
    { { MNEM, ' ', OP (LABEL9), 0 } },
    & ifmt_brad, { 0xfe00 }
    & ifmt_brad, { 0xfe00 }
  },
  },
/* bls $label9 */
/* bls $label9 */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (LABEL9), 0 } },
    { { MNEM, ' ', OP (LABEL9), 0 } },
    & ifmt_brad, { 0xee00 }
    & ifmt_brad, { 0xee00 }
  },
  },
/* bhi:d $label9 */
/* bhi:d $label9 */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (LABEL9), 0 } },
    { { MNEM, ' ', OP (LABEL9), 0 } },
    & ifmt_brad, { 0xff00 }
    & ifmt_brad, { 0xff00 }
  },
  },
/* bhi $label9 */
/* bhi $label9 */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (LABEL9), 0 } },
    { { MNEM, ' ', OP (LABEL9), 0 } },
    & ifmt_brad, { 0xef00 }
    & ifmt_brad, { 0xef00 }
  },
  },
/* dmov $R13,@$dir10 */
/* dmov $R13,@$dir10 */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (R13), ',', '@', OP (DIR10), 0 } },
    { { MNEM, ' ', OP (R13), ',', '@', OP (DIR10), 0 } },
    & ifmt_dmovr13, { 0x1800 }
    & ifmt_dmovr13, { 0x1800 }
  },
  },
/* dmovh $R13,@$dir9 */
/* dmovh $R13,@$dir9 */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (R13), ',', '@', OP (DIR9), 0 } },
    { { MNEM, ' ', OP (R13), ',', '@', OP (DIR9), 0 } },
    & ifmt_dmovr13h, { 0x1900 }
    & ifmt_dmovr13h, { 0x1900 }
  },
  },
/* dmovb $R13,@$dir8 */
/* dmovb $R13,@$dir8 */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (R13), ',', '@', OP (DIR8), 0 } },
    { { MNEM, ' ', OP (R13), ',', '@', OP (DIR8), 0 } },
    & ifmt_dmovr13b, { 0x1a00 }
    & ifmt_dmovr13b, { 0x1a00 }
  },
  },
/* dmov @$R13+,@$dir10 */
/* dmov @$R13+,@$dir10 */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', '@', OP (R13), '+', ',', '@', OP (DIR10), 0 } },
    { { MNEM, ' ', '@', OP (R13), '+', ',', '@', OP (DIR10), 0 } },
    & ifmt_dmovr13, { 0x1c00 }
    & ifmt_dmovr13, { 0x1c00 }
  },
  },
/* dmovh @$R13+,@$dir9 */
/* dmovh @$R13+,@$dir9 */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', '@', OP (R13), '+', ',', '@', OP (DIR9), 0 } },
    { { MNEM, ' ', '@', OP (R13), '+', ',', '@', OP (DIR9), 0 } },
    & ifmt_dmovr13h, { 0x1d00 }
    & ifmt_dmovr13h, { 0x1d00 }
  },
  },
/* dmovb @$R13+,@$dir8 */
/* dmovb @$R13+,@$dir8 */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', '@', OP (R13), '+', ',', '@', OP (DIR8), 0 } },
    { { MNEM, ' ', '@', OP (R13), '+', ',', '@', OP (DIR8), 0 } },
    & ifmt_dmovr13b, { 0x1e00 }
    & ifmt_dmovr13b, { 0x1e00 }
  },
  },
/* dmov @$R15+,@$dir10 */
/* dmov @$R15+,@$dir10 */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', '@', OP (R15), '+', ',', '@', OP (DIR10), 0 } },
    { { MNEM, ' ', '@', OP (R15), '+', ',', '@', OP (DIR10), 0 } },
    & ifmt_dmovr13, { 0x1b00 }
    & ifmt_dmovr13, { 0x1b00 }
  },
  },
/* dmov @$dir10,$R13 */
/* dmov @$dir10,$R13 */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', '@', OP (DIR10), ',', OP (R13), 0 } },
    { { MNEM, ' ', '@', OP (DIR10), ',', OP (R13), 0 } },
    & ifmt_dmovr13, { 0x800 }
    & ifmt_dmovr13, { 0x800 }
  },
  },
/* dmovh @$dir9,$R13 */
/* dmovh @$dir9,$R13 */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', '@', OP (DIR9), ',', OP (R13), 0 } },
    { { MNEM, ' ', '@', OP (DIR9), ',', OP (R13), 0 } },
    & ifmt_dmovr13h, { 0x900 }
    & ifmt_dmovr13h, { 0x900 }
  },
  },
/* dmovb @$dir8,$R13 */
/* dmovb @$dir8,$R13 */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', '@', OP (DIR8), ',', OP (R13), 0 } },
    { { MNEM, ' ', '@', OP (DIR8), ',', OP (R13), 0 } },
    & ifmt_dmovr13b, { 0xa00 }
    & ifmt_dmovr13b, { 0xa00 }
  },
  },
/* dmov @$dir10,@$R13+ */
/* dmov @$dir10,@$R13+ */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', '@', OP (DIR10), ',', '@', OP (R13), '+', 0 } },
    { { MNEM, ' ', '@', OP (DIR10), ',', '@', OP (R13), '+', 0 } },
    & ifmt_dmovr13, { 0xc00 }
    & ifmt_dmovr13, { 0xc00 }
  },
  },
/* dmovh @$dir9,@$R13+ */
/* dmovh @$dir9,@$R13+ */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', '@', OP (DIR9), ',', '@', OP (R13), '+', 0 } },
    { { MNEM, ' ', '@', OP (DIR9), ',', '@', OP (R13), '+', 0 } },
    & ifmt_dmovr13h, { 0xd00 }
    & ifmt_dmovr13h, { 0xd00 }
  },
  },
/* dmovb @$dir8,@$R13+ */
/* dmovb @$dir8,@$R13+ */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', '@', OP (DIR8), ',', '@', OP (R13), '+', 0 } },
    { { MNEM, ' ', '@', OP (DIR8), ',', '@', OP (R13), '+', 0 } },
    & ifmt_dmovr13b, { 0xe00 }
    & ifmt_dmovr13b, { 0xe00 }
  },
  },
/* dmov @$dir10,@-$R15 */
/* dmov @$dir10,@-$R15 */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', '@', OP (DIR10), ',', '@', '-', OP (R15), 0 } },
    { { MNEM, ' ', '@', OP (DIR10), ',', '@', '-', OP (R15), 0 } },
    & ifmt_dmovr13, { 0xb00 }
    & ifmt_dmovr13, { 0xb00 }
  },
  },
/* ldres @$Ri+,$u4 */
/* ldres @$Ri+,$u4 */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', '@', OP (RI), '+', ',', OP (U4), 0 } },
    { { MNEM, ' ', '@', OP (RI), '+', ',', OP (U4), 0 } },
    & ifmt_addi, { 0xbc00 }
    & ifmt_addi, { 0xbc00 }
  },
  },
/* stres $u4,@$Ri+ */
/* stres $u4,@$Ri+ */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (U4), ',', '@', OP (RI), '+', 0 } },
    { { MNEM, ' ', OP (U4), ',', '@', OP (RI), '+', 0 } },
    & ifmt_addi, { 0xbd00 }
    & ifmt_addi, { 0xbd00 }
  },
  },
/* copop $u4c,$ccc,$CRj,$CRi */
/* copop $u4c,$ccc,$CRj,$CRi */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (U4C), ',', OP (CCC), ',', OP (CRJ), ',', OP (CRI), 0 } },
    { { MNEM, ' ', OP (U4C), ',', OP (CCC), ',', OP (CRJ), ',', OP (CRI), 0 } },
    & ifmt_copop, { 0x9fc0 }
    & ifmt_copop, { 0x9fc0 }
  },
  },
/* copld $u4c,$ccc,$Rjc,$CRi */
/* copld $u4c,$ccc,$Rjc,$CRi */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (U4C), ',', OP (CCC), ',', OP (RJC), ',', OP (CRI), 0 } },
    { { MNEM, ' ', OP (U4C), ',', OP (CCC), ',', OP (RJC), ',', OP (CRI), 0 } },
    & ifmt_copld, { 0x9fd0 }
    & ifmt_copld, { 0x9fd0 }
  },
  },
/* copst $u4c,$ccc,$CRj,$Ric */
/* copst $u4c,$ccc,$CRj,$Ric */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (U4C), ',', OP (CCC), ',', OP (CRJ), ',', OP (RIC), 0 } },
    { { MNEM, ' ', OP (U4C), ',', OP (CCC), ',', OP (CRJ), ',', OP (RIC), 0 } },
    & ifmt_copst, { 0x9fe0 }
    & ifmt_copst, { 0x9fe0 }
  },
  },
/* copsv $u4c,$ccc,$CRj,$Ric */
/* copsv $u4c,$ccc,$CRj,$Ric */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (U4C), ',', OP (CCC), ',', OP (CRJ), ',', OP (RIC), 0 } },
    { { MNEM, ' ', OP (U4C), ',', OP (CCC), ',', OP (CRJ), ',', OP (RIC), 0 } },
    & ifmt_copst, { 0x9ff0 }
    & ifmt_copst, { 0x9ff0 }
  },
  },
/* nop */
/* nop */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, 0 } },
    { { MNEM, 0 } },
    & ifmt_div3, { 0x9fa0 }
    & ifmt_div3, { 0x9fa0 }
  },
  },
/* andccr $u8 */
/* andccr $u8 */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (U8), 0 } },
    { { MNEM, ' ', OP (U8), 0 } },
    & ifmt_int, { 0x8300 }
    & ifmt_int, { 0x8300 }
  },
  },
/* orccr $u8 */
/* orccr $u8 */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (U8), 0 } },
    { { MNEM, ' ', OP (U8), 0 } },
    & ifmt_int, { 0x9300 }
    & ifmt_int, { 0x9300 }
  },
  },
/* stilm $u8 */
/* stilm $u8 */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (U8), 0 } },
    { { MNEM, ' ', OP (U8), 0 } },
    & ifmt_int, { 0x8700 }
    & ifmt_int, { 0x8700 }
  },
  },
/* addsp $s10 */
/* addsp $s10 */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (S10), 0 } },
    { { MNEM, ' ', OP (S10), 0 } },
    & ifmt_addsp, { 0xa300 }
    & ifmt_addsp, { 0xa300 }
  },
  },
/* extsb $Ri */
/* extsb $Ri */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (RI), 0 } },
    { { MNEM, ' ', OP (RI), 0 } },
    & ifmt_div0s, { 0x9780 }
    & ifmt_div0s, { 0x9780 }
  },
  },
/* extub $Ri */
/* extub $Ri */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (RI), 0 } },
    { { MNEM, ' ', OP (RI), 0 } },
    & ifmt_div0s, { 0x9790 }
    & ifmt_div0s, { 0x9790 }
  },
  },
/* extsh $Ri */
/* extsh $Ri */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (RI), 0 } },
    { { MNEM, ' ', OP (RI), 0 } },
    & ifmt_div0s, { 0x97a0 }
    & ifmt_div0s, { 0x97a0 }
  },
  },
/* extuh $Ri */
/* extuh $Ri */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (RI), 0 } },
    { { MNEM, ' ', OP (RI), 0 } },
    & ifmt_div0s, { 0x97b0 }
    & ifmt_div0s, { 0x97b0 }
  },
  },
/* ldm0 ($reglist_low_ld) */
/* ldm0 ($reglist_low_ld) */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', '(', OP (REGLIST_LOW_LD), ')', 0 } },
    { { MNEM, ' ', '(', OP (REGLIST_LOW_LD), ')', 0 } },
    & ifmt_ldm0, { 0x8c00 }
    & ifmt_ldm0, { 0x8c00 }
  },
  },
/* ldm1 ($reglist_hi_ld) */
/* ldm1 ($reglist_hi_ld) */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', '(', OP (REGLIST_HI_LD), ')', 0 } },
    { { MNEM, ' ', '(', OP (REGLIST_HI_LD), ')', 0 } },
    & ifmt_ldm1, { 0x8d00 }
    & ifmt_ldm1, { 0x8d00 }
  },
  },
/* stm0 ($reglist_low_st) */
/* stm0 ($reglist_low_st) */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', '(', OP (REGLIST_LOW_ST), ')', 0 } },
    { { MNEM, ' ', '(', OP (REGLIST_LOW_ST), ')', 0 } },
    & ifmt_stm0, { 0x8e00 }
    & ifmt_stm0, { 0x8e00 }
  },
  },
/* stm1 ($reglist_hi_st) */
/* stm1 ($reglist_hi_st) */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', '(', OP (REGLIST_HI_ST), ')', 0 } },
    { { MNEM, ' ', '(', OP (REGLIST_HI_ST), ')', 0 } },
    & ifmt_stm1, { 0x8f00 }
    & ifmt_stm1, { 0x8f00 }
  },
  },
/* enter $u10 */
/* enter $u10 */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (U10), 0 } },
    { { MNEM, ' ', OP (U10), 0 } },
    & ifmt_enter, { 0xf00 }
    & ifmt_enter, { 0xf00 }
  },
  },
/* leave */
/* leave */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, 0 } },
    { { MNEM, 0 } },
    & ifmt_div3, { 0x9f90 }
    & ifmt_div3, { 0x9f90 }
  },
  },
/* xchb @$Rj,$Ri */
/* xchb @$Rj,$Ri */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', '@', OP (RJ), ',', OP (RI), 0 } },
    { { MNEM, ' ', '@', OP (RJ), ',', OP (RI), 0 } },
    & ifmt_add, { 0x8a00 }
    & ifmt_add, { 0x8a00 }
  },
  },
};
};
 
 
#undef A
#undef A
#undef OPERAND
#undef OPERAND
#undef MNEM
#undef MNEM
#undef OP
#undef OP
 
 
/* Formats for ALIAS macro-insns.  */
/* Formats for ALIAS macro-insns.  */
 
 
#if defined (__STDC__) || defined (ALMOST_STDC) || defined (HAVE_STRINGIZE)
#if defined (__STDC__) || defined (ALMOST_STDC) || defined (HAVE_STRINGIZE)
#define F(f) & fr30_cgen_ifld_table[FR30_##f]
#define F(f) & fr30_cgen_ifld_table[FR30_##f]
#else
#else
#define F(f) & fr30_cgen_ifld_table[FR30_/**/f]
#define F(f) & fr30_cgen_ifld_table[FR30_/**/f]
#endif
#endif
static const CGEN_IFMT ifmt_ldi8m ATTRIBUTE_UNUSED = {
static const CGEN_IFMT ifmt_ldi8m ATTRIBUTE_UNUSED = {
  16, 16, 0xf000, { { F (F_OP1) }, { F (F_I8) }, { F (F_RI) }, { 0 } }
  16, 16, 0xf000, { { F (F_OP1) }, { F (F_I8) }, { F (F_RI) }, { 0 } }
};
};
 
 
static const CGEN_IFMT ifmt_ldi20m ATTRIBUTE_UNUSED = {
static const CGEN_IFMT ifmt_ldi20m ATTRIBUTE_UNUSED = {
  16, 32, 0xff00, { { F (F_OP1) }, { F (F_OP2) }, { F (F_RI) }, { F (F_I20) }, { 0 } }
  16, 32, 0xff00, { { F (F_OP1) }, { F (F_OP2) }, { F (F_RI) }, { F (F_I20) }, { 0 } }
};
};
 
 
static const CGEN_IFMT ifmt_ldi32m ATTRIBUTE_UNUSED = {
static const CGEN_IFMT ifmt_ldi32m ATTRIBUTE_UNUSED = {
  16, 48, 0xfff0, { { F (F_OP1) }, { F (F_OP2) }, { F (F_OP3) }, { F (F_RI) }, { F (F_I32) }, { 0 } }
  16, 48, 0xfff0, { { F (F_OP1) }, { F (F_OP2) }, { F (F_OP3) }, { F (F_RI) }, { F (F_I32) }, { 0 } }
};
};
 
 
#undef F
#undef F
 
 
/* Each non-simple macro entry points to an array of expansion possibilities.  */
/* Each non-simple macro entry points to an array of expansion possibilities.  */
 
 
#if defined (__STDC__) || defined (ALMOST_STDC) || defined (HAVE_STRINGIZE)
#if defined (__STDC__) || defined (ALMOST_STDC) || defined (HAVE_STRINGIZE)
#define A(a) (1 << CGEN_INSN_##a)
#define A(a) (1 << CGEN_INSN_##a)
#else
#else
#define A(a) (1 << CGEN_INSN_/**/a)
#define A(a) (1 << CGEN_INSN_/**/a)
#endif
#endif
#if defined (__STDC__) || defined (ALMOST_STDC) || defined (HAVE_STRINGIZE)
#if defined (__STDC__) || defined (ALMOST_STDC) || defined (HAVE_STRINGIZE)
#define OPERAND(op) FR30_OPERAND_##op
#define OPERAND(op) FR30_OPERAND_##op
#else
#else
#define OPERAND(op) FR30_OPERAND_/**/op
#define OPERAND(op) FR30_OPERAND_/**/op
#endif
#endif
#define MNEM CGEN_SYNTAX_MNEMONIC /* syntax value for mnemonic */
#define MNEM CGEN_SYNTAX_MNEMONIC /* syntax value for mnemonic */
#define OP(field) CGEN_SYNTAX_MAKE_FIELD (OPERAND (field))
#define OP(field) CGEN_SYNTAX_MAKE_FIELD (OPERAND (field))
 
 
/* The macro instruction table.  */
/* The macro instruction table.  */
 
 
static const CGEN_IBASE fr30_cgen_macro_insn_table[] =
static const CGEN_IBASE fr30_cgen_macro_insn_table[] =
{
{
/* ldi8 $i8,$Ri */
/* ldi8 $i8,$Ri */
  {
  {
    -1, "ldi8m", "ldi8", 16,
    -1, "ldi8m", "ldi8", 16,
    { 0|A(NO_DIS)|A(ALIAS), { { { (1<<MACH_BASE), 0 } } } }
    { 0|A(NO_DIS)|A(ALIAS), { { { (1<<MACH_BASE), 0 } } } }
  },
  },
/* ldi20 $i20,$Ri */
/* ldi20 $i20,$Ri */
  {
  {
    -1, "ldi20m", "ldi20", 32,
    -1, "ldi20m", "ldi20", 32,
    { 0|A(NO_DIS)|A(ALIAS), { { { (1<<MACH_BASE), 0 } } } }
    { 0|A(NO_DIS)|A(ALIAS), { { { (1<<MACH_BASE), 0 } } } }
  },
  },
/* ldi32 $i32,$Ri */
/* ldi32 $i32,$Ri */
  {
  {
    -1, "ldi32m", "ldi32", 48,
    -1, "ldi32m", "ldi32", 48,
    { 0|A(NO_DIS)|A(ALIAS), { { { (1<<MACH_BASE), 0 } } } }
    { 0|A(NO_DIS)|A(ALIAS), { { { (1<<MACH_BASE), 0 } } } }
  },
  },
};
};
 
 
/* The macro instruction opcode table.  */
/* The macro instruction opcode table.  */
 
 
static const CGEN_OPCODE fr30_cgen_macro_insn_opcode_table[] =
static const CGEN_OPCODE fr30_cgen_macro_insn_opcode_table[] =
{
{
/* ldi8 $i8,$Ri */
/* ldi8 $i8,$Ri */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (I8), ',', OP (RI), 0 } },
    { { MNEM, ' ', OP (I8), ',', OP (RI), 0 } },
    & ifmt_ldi8m, { 0xc000 }
    & ifmt_ldi8m, { 0xc000 }
  },
  },
/* ldi20 $i20,$Ri */
/* ldi20 $i20,$Ri */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (I20), ',', OP (RI), 0 } },
    { { MNEM, ' ', OP (I20), ',', OP (RI), 0 } },
    & ifmt_ldi20m, { 0x9b00 }
    & ifmt_ldi20m, { 0x9b00 }
  },
  },
/* ldi32 $i32,$Ri */
/* ldi32 $i32,$Ri */
  {
  {
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { { MNEM, ' ', OP (I32), ',', OP (RI), 0 } },
    { { MNEM, ' ', OP (I32), ',', OP (RI), 0 } },
    & ifmt_ldi32m, { 0x9f80 }
    & ifmt_ldi32m, { 0x9f80 }
  },
  },
};
};
 
 
#undef A
#undef A
#undef OPERAND
#undef OPERAND
#undef MNEM
#undef MNEM
#undef OP
#undef OP
 
 
#ifndef CGEN_ASM_HASH_P
#ifndef CGEN_ASM_HASH_P
#define CGEN_ASM_HASH_P(insn) 1
#define CGEN_ASM_HASH_P(insn) 1
#endif
#endif
 
 
#ifndef CGEN_DIS_HASH_P
#ifndef CGEN_DIS_HASH_P
#define CGEN_DIS_HASH_P(insn) 1
#define CGEN_DIS_HASH_P(insn) 1
#endif
#endif
 
 
/* Return non-zero if INSN is to be added to the hash table.
/* Return non-zero if INSN is to be added to the hash table.
   Targets are free to override CGEN_{ASM,DIS}_HASH_P in the .opc file.  */
   Targets are free to override CGEN_{ASM,DIS}_HASH_P in the .opc file.  */
 
 
static int
static int
asm_hash_insn_p (insn)
asm_hash_insn_p (insn)
     const CGEN_INSN *insn ATTRIBUTE_UNUSED;
     const CGEN_INSN *insn ATTRIBUTE_UNUSED;
{
{
  return CGEN_ASM_HASH_P (insn);
  return CGEN_ASM_HASH_P (insn);
}
}
 
 
static int
static int
dis_hash_insn_p (insn)
dis_hash_insn_p (insn)
     const CGEN_INSN *insn;
     const CGEN_INSN *insn;
{
{
  /* If building the hash table and the NO-DIS attribute is present,
  /* If building the hash table and the NO-DIS attribute is present,
     ignore.  */
     ignore.  */
  if (CGEN_INSN_ATTR_VALUE (insn, CGEN_INSN_NO_DIS))
  if (CGEN_INSN_ATTR_VALUE (insn, CGEN_INSN_NO_DIS))
    return 0;
    return 0;
  return CGEN_DIS_HASH_P (insn);
  return CGEN_DIS_HASH_P (insn);
}
}
 
 
#ifndef CGEN_ASM_HASH
#ifndef CGEN_ASM_HASH
#define CGEN_ASM_HASH_SIZE 127
#define CGEN_ASM_HASH_SIZE 127
#ifdef CGEN_MNEMONIC_OPERANDS
#ifdef CGEN_MNEMONIC_OPERANDS
#define CGEN_ASM_HASH(mnem) (*(unsigned char *) (mnem) % CGEN_ASM_HASH_SIZE)
#define CGEN_ASM_HASH(mnem) (*(unsigned char *) (mnem) % CGEN_ASM_HASH_SIZE)
#else
#else
#define CGEN_ASM_HASH(mnem) (*(unsigned char *) (mnem) % CGEN_ASM_HASH_SIZE) /*FIXME*/
#define CGEN_ASM_HASH(mnem) (*(unsigned char *) (mnem) % CGEN_ASM_HASH_SIZE) /*FIXME*/
#endif
#endif
#endif
#endif
 
 
/* It doesn't make much sense to provide a default here,
/* It doesn't make much sense to provide a default here,
   but while this is under development we do.
   but while this is under development we do.
   BUFFER is a pointer to the bytes of the insn, target order.
   BUFFER is a pointer to the bytes of the insn, target order.
   VALUE is the first base_insn_bitsize bits as an int in host order.  */
   VALUE is the first base_insn_bitsize bits as an int in host order.  */
 
 
#ifndef CGEN_DIS_HASH
#ifndef CGEN_DIS_HASH
#define CGEN_DIS_HASH_SIZE 256
#define CGEN_DIS_HASH_SIZE 256
#define CGEN_DIS_HASH(buf, value) (*(unsigned char *) (buf))
#define CGEN_DIS_HASH(buf, value) (*(unsigned char *) (buf))
#endif
#endif
 
 
/* The result is the hash value of the insn.
/* The result is the hash value of the insn.
   Targets are free to override CGEN_{ASM,DIS}_HASH in the .opc file.  */
   Targets are free to override CGEN_{ASM,DIS}_HASH in the .opc file.  */
 
 
static unsigned int
static unsigned int
asm_hash_insn (mnem)
asm_hash_insn (mnem)
     const char * mnem;
     const char * mnem;
{
{
  return CGEN_ASM_HASH (mnem);
  return CGEN_ASM_HASH (mnem);
}
}
 
 
/* BUF is a pointer to the bytes of the insn, target order.
/* BUF is a pointer to the bytes of the insn, target order.
   VALUE is the first base_insn_bitsize bits as an int in host order.  */
   VALUE is the first base_insn_bitsize bits as an int in host order.  */
 
 
static unsigned int
static unsigned int
dis_hash_insn (buf, value)
dis_hash_insn (buf, value)
     const char * buf ATTRIBUTE_UNUSED;
     const char * buf ATTRIBUTE_UNUSED;
     CGEN_INSN_INT value ATTRIBUTE_UNUSED;
     CGEN_INSN_INT value ATTRIBUTE_UNUSED;
{
{
  return CGEN_DIS_HASH (buf, value);
  return CGEN_DIS_HASH (buf, value);
}
}
 
 
/* Set the recorded length of the insn in the CGEN_FIELDS struct.  */
/* Set the recorded length of the insn in the CGEN_FIELDS struct.  */
 
 
static void
static void
set_fields_bitsize (CGEN_FIELDS *fields, int size)
set_fields_bitsize (CGEN_FIELDS *fields, int size)
{
{
  CGEN_FIELDS_BITSIZE (fields) = size;
  CGEN_FIELDS_BITSIZE (fields) = size;
}
}
 
 
/* Function to call before using the operand instance table.
/* Function to call before using the operand instance table.
   This plugs the opcode entries and macro instructions into the cpu table.  */
   This plugs the opcode entries and macro instructions into the cpu table.  */
 
 
void
void
fr30_cgen_init_opcode_table (CGEN_CPU_DESC cd)
fr30_cgen_init_opcode_table (CGEN_CPU_DESC cd)
{
{
  int i;
  int i;
  int num_macros = (sizeof (fr30_cgen_macro_insn_table) /
  int num_macros = (sizeof (fr30_cgen_macro_insn_table) /
                    sizeof (fr30_cgen_macro_insn_table[0]));
                    sizeof (fr30_cgen_macro_insn_table[0]));
  const CGEN_IBASE *ib = & fr30_cgen_macro_insn_table[0];
  const CGEN_IBASE *ib = & fr30_cgen_macro_insn_table[0];
  const CGEN_OPCODE *oc = & fr30_cgen_macro_insn_opcode_table[0];
  const CGEN_OPCODE *oc = & fr30_cgen_macro_insn_opcode_table[0];
  CGEN_INSN *insns = xmalloc (num_macros * sizeof (CGEN_INSN));
  CGEN_INSN *insns = xmalloc (num_macros * sizeof (CGEN_INSN));
 
 
  /* This test has been added to avoid a warning generated
  /* This test has been added to avoid a warning generated
     if memset is called with a third argument of value zero.  */
     if memset is called with a third argument of value zero.  */
  if (num_macros >= 1)
  if (num_macros >= 1)
    memset (insns, 0, num_macros * sizeof (CGEN_INSN));
    memset (insns, 0, num_macros * sizeof (CGEN_INSN));
  for (i = 0; i < num_macros; ++i)
  for (i = 0; i < num_macros; ++i)
    {
    {
      insns[i].base = &ib[i];
      insns[i].base = &ib[i];
      insns[i].opcode = &oc[i];
      insns[i].opcode = &oc[i];
      fr30_cgen_build_insn_regex (& insns[i]);
      fr30_cgen_build_insn_regex (& insns[i]);
    }
    }
  cd->macro_insn_table.init_entries = insns;
  cd->macro_insn_table.init_entries = insns;
  cd->macro_insn_table.entry_size = sizeof (CGEN_IBASE);
  cd->macro_insn_table.entry_size = sizeof (CGEN_IBASE);
  cd->macro_insn_table.num_init_entries = num_macros;
  cd->macro_insn_table.num_init_entries = num_macros;
 
 
  oc = & fr30_cgen_insn_opcode_table[0];
  oc = & fr30_cgen_insn_opcode_table[0];
  insns = (CGEN_INSN *) cd->insn_table.init_entries;
  insns = (CGEN_INSN *) cd->insn_table.init_entries;
  for (i = 0; i < MAX_INSNS; ++i)
  for (i = 0; i < MAX_INSNS; ++i)
    {
    {
      insns[i].opcode = &oc[i];
      insns[i].opcode = &oc[i];
      fr30_cgen_build_insn_regex (& insns[i]);
      fr30_cgen_build_insn_regex (& insns[i]);
    }
    }
 
 
  cd->sizeof_fields = sizeof (CGEN_FIELDS);
  cd->sizeof_fields = sizeof (CGEN_FIELDS);
  cd->set_fields_bitsize = set_fields_bitsize;
  cd->set_fields_bitsize = set_fields_bitsize;
 
 
  cd->asm_hash_p = asm_hash_insn_p;
  cd->asm_hash_p = asm_hash_insn_p;
  cd->asm_hash = asm_hash_insn;
  cd->asm_hash = asm_hash_insn;
  cd->asm_hash_size = CGEN_ASM_HASH_SIZE;
  cd->asm_hash_size = CGEN_ASM_HASH_SIZE;
 
 
  cd->dis_hash_p = dis_hash_insn_p;
  cd->dis_hash_p = dis_hash_insn_p;
  cd->dis_hash = dis_hash_insn;
  cd->dis_hash = dis_hash_insn;
  cd->dis_hash_size = CGEN_DIS_HASH_SIZE;
  cd->dis_hash_size = CGEN_DIS_HASH_SIZE;
}
}
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.