1999-04-16 03:35:26 +02:00
|
|
|
/* CPU data for i960.
|
|
|
|
|
|
|
|
THIS FILE IS MACHINE GENERATED WITH CGEN.
|
|
|
|
|
2001-02-07 02:16:05 +01:00
|
|
|
Copyright (C) 1996, 1997, 1998, 1999, 2001 Free Software Foundation, Inc.
|
1999-04-16 03:35:26 +02:00
|
|
|
|
|
|
|
This file is part of the GNU Binutils and/or GDB, the GNU debugger.
|
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU General Public License as published by
|
|
|
|
the Free Software Foundation; either version 2, or (at your option)
|
|
|
|
any later version.
|
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
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.,
|
|
|
|
59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "sysdep.h"
|
|
|
|
#include <ctype.h>
|
|
|
|
#include <stdio.h>
|
1999-04-26 20:34:20 +02:00
|
|
|
#include <stdarg.h>
|
1999-04-16 03:35:26 +02:00
|
|
|
#include "ansidecl.h"
|
|
|
|
#include "bfd.h"
|
|
|
|
#include "symcat.h"
|
|
|
|
#include "i960-desc.h"
|
|
|
|
#include "i960-opc.h"
|
|
|
|
#include "opintl.h"
|
|
|
|
|
|
|
|
/* Attributes. */
|
|
|
|
|
|
|
|
static const CGEN_ATTR_ENTRY bool_attr[] =
|
|
|
|
{
|
|
|
|
{ "#f", 0 },
|
|
|
|
{ "#t", 1 },
|
|
|
|
{ 0, 0 }
|
|
|
|
};
|
|
|
|
|
|
|
|
static const CGEN_ATTR_ENTRY MACH_attr[] =
|
|
|
|
{
|
|
|
|
{ "base", MACH_BASE },
|
|
|
|
{ "i960_ka_sa", MACH_I960_KA_SA },
|
|
|
|
{ "i960_ca", MACH_I960_CA },
|
|
|
|
{ "max", MACH_MAX },
|
|
|
|
{ 0, 0 }
|
|
|
|
};
|
|
|
|
|
1999-04-26 20:34:20 +02:00
|
|
|
static const CGEN_ATTR_ENTRY ISA_attr[] =
|
|
|
|
{
|
|
|
|
{ "i960", ISA_I960 },
|
|
|
|
{ "max", ISA_MAX },
|
|
|
|
{ 0, 0 }
|
|
|
|
};
|
|
|
|
|
1999-04-16 03:35:26 +02:00
|
|
|
const CGEN_ATTR_TABLE i960_cgen_ifield_attr_table[] =
|
|
|
|
{
|
|
|
|
{ "MACH", & MACH_attr[0] },
|
|
|
|
{ "VIRTUAL", &bool_attr[0], &bool_attr[0] },
|
|
|
|
{ "PCREL-ADDR", &bool_attr[0], &bool_attr[0] },
|
|
|
|
{ "ABS-ADDR", &bool_attr[0], &bool_attr[0] },
|
|
|
|
{ "RESERVED", &bool_attr[0], &bool_attr[0] },
|
|
|
|
{ "SIGN-OPT", &bool_attr[0], &bool_attr[0] },
|
1999-04-26 20:34:20 +02:00
|
|
|
{ "SIGNED", &bool_attr[0], &bool_attr[0] },
|
1999-04-16 03:35:26 +02:00
|
|
|
{ 0, 0, 0 }
|
|
|
|
};
|
|
|
|
|
|
|
|
const CGEN_ATTR_TABLE i960_cgen_hardware_attr_table[] =
|
|
|
|
{
|
|
|
|
{ "MACH", & MACH_attr[0] },
|
|
|
|
{ "VIRTUAL", &bool_attr[0], &bool_attr[0] },
|
|
|
|
{ "CACHE-ADDR", &bool_attr[0], &bool_attr[0] },
|
|
|
|
{ "PC", &bool_attr[0], &bool_attr[0] },
|
|
|
|
{ "PROFILE", &bool_attr[0], &bool_attr[0] },
|
|
|
|
{ 0, 0, 0 }
|
|
|
|
};
|
|
|
|
|
|
|
|
const CGEN_ATTR_TABLE i960_cgen_operand_attr_table[] =
|
|
|
|
{
|
|
|
|
{ "MACH", & MACH_attr[0] },
|
|
|
|
{ "VIRTUAL", &bool_attr[0], &bool_attr[0] },
|
|
|
|
{ "PCREL-ADDR", &bool_attr[0], &bool_attr[0] },
|
|
|
|
{ "ABS-ADDR", &bool_attr[0], &bool_attr[0] },
|
|
|
|
{ "SIGN-OPT", &bool_attr[0], &bool_attr[0] },
|
1999-04-26 20:34:20 +02:00
|
|
|
{ "SIGNED", &bool_attr[0], &bool_attr[0] },
|
1999-04-16 03:35:26 +02:00
|
|
|
{ "NEGATIVE", &bool_attr[0], &bool_attr[0] },
|
|
|
|
{ "RELAX", &bool_attr[0], &bool_attr[0] },
|
|
|
|
{ "SEM-ONLY", &bool_attr[0], &bool_attr[0] },
|
|
|
|
{ 0, 0, 0 }
|
|
|
|
};
|
|
|
|
|
|
|
|
const CGEN_ATTR_TABLE i960_cgen_insn_attr_table[] =
|
|
|
|
{
|
|
|
|
{ "MACH", & MACH_attr[0] },
|
|
|
|
{ "ALIAS", &bool_attr[0], &bool_attr[0] },
|
|
|
|
{ "VIRTUAL", &bool_attr[0], &bool_attr[0] },
|
|
|
|
{ "UNCOND-CTI", &bool_attr[0], &bool_attr[0] },
|
|
|
|
{ "COND-CTI", &bool_attr[0], &bool_attr[0] },
|
|
|
|
{ "SKIP-CTI", &bool_attr[0], &bool_attr[0] },
|
|
|
|
{ "DELAY-SLOT", &bool_attr[0], &bool_attr[0] },
|
|
|
|
{ "RELAXABLE", &bool_attr[0], &bool_attr[0] },
|
|
|
|
{ "RELAX", &bool_attr[0], &bool_attr[0] },
|
|
|
|
{ "NO-DIS", &bool_attr[0], &bool_attr[0] },
|
|
|
|
{ "PBB", &bool_attr[0], &bool_attr[0] },
|
|
|
|
{ 0, 0, 0 }
|
|
|
|
};
|
|
|
|
|
1999-04-26 20:34:20 +02:00
|
|
|
/* Instruction set variants. */
|
|
|
|
|
|
|
|
static const CGEN_ISA i960_cgen_isa_table[] = {
|
|
|
|
{ "i960", 32, 32, 32, 64, },
|
|
|
|
{ 0 }
|
|
|
|
};
|
|
|
|
|
|
|
|
/* Machine variants. */
|
|
|
|
|
|
|
|
static const CGEN_MACH i960_cgen_mach_table[] = {
|
|
|
|
{ "i960:ka_sa", "i960:ka_sa", MACH_I960_KA_SA },
|
|
|
|
{ "i960:ca", "i960:ca", MACH_I960_CA },
|
|
|
|
{ 0 }
|
|
|
|
};
|
|
|
|
|
|
|
|
static CGEN_KEYWORD_ENTRY i960_cgen_opval_h_gr_entries[] =
|
1999-04-16 03:35:26 +02:00
|
|
|
{
|
|
|
|
{ "fp", 31 },
|
|
|
|
{ "sp", 1 },
|
|
|
|
{ "r0", 0 },
|
|
|
|
{ "r1", 1 },
|
|
|
|
{ "r2", 2 },
|
|
|
|
{ "r3", 3 },
|
|
|
|
{ "r4", 4 },
|
|
|
|
{ "r5", 5 },
|
|
|
|
{ "r6", 6 },
|
|
|
|
{ "r7", 7 },
|
|
|
|
{ "r8", 8 },
|
|
|
|
{ "r9", 9 },
|
|
|
|
{ "r10", 10 },
|
|
|
|
{ "r11", 11 },
|
|
|
|
{ "r12", 12 },
|
|
|
|
{ "r13", 13 },
|
|
|
|
{ "r14", 14 },
|
|
|
|
{ "r15", 15 },
|
|
|
|
{ "g0", 16 },
|
|
|
|
{ "g1", 17 },
|
|
|
|
{ "g2", 18 },
|
|
|
|
{ "g3", 19 },
|
|
|
|
{ "g4", 20 },
|
|
|
|
{ "g5", 21 },
|
|
|
|
{ "g6", 22 },
|
|
|
|
{ "g7", 23 },
|
|
|
|
{ "g8", 24 },
|
|
|
|
{ "g9", 25 },
|
|
|
|
{ "g10", 26 },
|
|
|
|
{ "g11", 27 },
|
|
|
|
{ "g12", 28 },
|
|
|
|
{ "g13", 29 },
|
|
|
|
{ "g14", 30 },
|
|
|
|
{ "g15", 31 }
|
|
|
|
};
|
|
|
|
|
1999-04-26 20:34:20 +02:00
|
|
|
CGEN_KEYWORD i960_cgen_opval_h_gr =
|
1999-04-16 03:35:26 +02:00
|
|
|
{
|
|
|
|
& i960_cgen_opval_h_gr_entries[0],
|
|
|
|
34
|
|
|
|
};
|
|
|
|
|
1999-04-26 20:34:20 +02:00
|
|
|
static CGEN_KEYWORD_ENTRY i960_cgen_opval_h_cc_entries[] =
|
1999-04-16 03:35:26 +02:00
|
|
|
{
|
|
|
|
{ "cc", 0 }
|
|
|
|
};
|
|
|
|
|
1999-04-26 20:34:20 +02:00
|
|
|
CGEN_KEYWORD i960_cgen_opval_h_cc =
|
1999-04-16 03:35:26 +02:00
|
|
|
{
|
|
|
|
& i960_cgen_opval_h_cc_entries[0],
|
|
|
|
1
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* The hardware table. */
|
|
|
|
|
2001-02-07 02:16:05 +01:00
|
|
|
#if defined (__STDC__) || defined (ALMOST_STDC) || defined (HAVE_STRINGIZE)
|
|
|
|
#define A(a) (1 << CGEN_HW_##a)
|
|
|
|
#else
|
|
|
|
#define A(a) (1 << CGEN_HW_/**/a)
|
|
|
|
#endif
|
1999-04-16 03:35:26 +02:00
|
|
|
|
|
|
|
const CGEN_HW_ENTRY i960_cgen_hw_table[] =
|
|
|
|
{
|
1999-04-26 20:34:20 +02:00
|
|
|
{ "h-memory", HW_H_MEMORY, CGEN_ASM_NONE, 0, { 0, { (1<<MACH_BASE) } } },
|
|
|
|
{ "h-sint", HW_H_SINT, CGEN_ASM_NONE, 0, { 0, { (1<<MACH_BASE) } } },
|
|
|
|
{ "h-uint", HW_H_UINT, CGEN_ASM_NONE, 0, { 0, { (1<<MACH_BASE) } } },
|
|
|
|
{ "h-addr", HW_H_ADDR, CGEN_ASM_NONE, 0, { 0, { (1<<MACH_BASE) } } },
|
|
|
|
{ "h-iaddr", HW_H_IADDR, CGEN_ASM_NONE, 0, { 0, { (1<<MACH_BASE) } } },
|
|
|
|
{ "h-pc", HW_H_PC, CGEN_ASM_NONE, 0, { 0|A(PROFILE)|A(PC), { (1<<MACH_BASE) } } },
|
|
|
|
{ "h-gr", HW_H_GR, CGEN_ASM_KEYWORD, (PTR) & i960_cgen_opval_h_gr, { 0|A(CACHE_ADDR)|A(PROFILE), { (1<<MACH_BASE) } } },
|
|
|
|
{ "h-cc", HW_H_CC, CGEN_ASM_KEYWORD, (PTR) & i960_cgen_opval_h_cc, { 0|A(CACHE_ADDR)|A(PROFILE), { (1<<MACH_BASE) } } },
|
1999-04-16 03:35:26 +02:00
|
|
|
{ 0 }
|
|
|
|
};
|
|
|
|
|
|
|
|
#undef A
|
|
|
|
|
|
|
|
/* The instruction field table. */
|
|
|
|
|
2001-02-07 02:16:05 +01:00
|
|
|
#if defined (__STDC__) || defined (ALMOST_STDC) || defined (HAVE_STRINGIZE)
|
|
|
|
#define A(a) (1 << CGEN_IFLD_##a)
|
|
|
|
#else
|
|
|
|
#define A(a) (1 << CGEN_IFLD_/**/a)
|
|
|
|
#endif
|
1999-04-16 03:35:26 +02:00
|
|
|
|
|
|
|
const CGEN_IFLD i960_cgen_ifld_table[] =
|
|
|
|
{
|
1999-04-26 20:34:20 +02:00
|
|
|
{ I960_F_NIL, "f-nil", 0, 0, 0, 0, { 0, { (1<<MACH_BASE) } } },
|
|
|
|
{ I960_F_OPCODE, "f-opcode", 0, 32, 0, 8, { 0, { (1<<MACH_BASE) } } },
|
|
|
|
{ I960_F_SRCDST, "f-srcdst", 0, 32, 8, 5, { 0, { (1<<MACH_BASE) } } },
|
|
|
|
{ I960_F_SRC2, "f-src2", 0, 32, 13, 5, { 0, { (1<<MACH_BASE) } } },
|
|
|
|
{ I960_F_M3, "f-m3", 0, 32, 18, 1, { 0, { (1<<MACH_BASE) } } },
|
|
|
|
{ I960_F_M2, "f-m2", 0, 32, 19, 1, { 0, { (1<<MACH_BASE) } } },
|
|
|
|
{ I960_F_M1, "f-m1", 0, 32, 20, 1, { 0, { (1<<MACH_BASE) } } },
|
|
|
|
{ I960_F_OPCODE2, "f-opcode2", 0, 32, 21, 4, { 0, { (1<<MACH_BASE) } } },
|
|
|
|
{ I960_F_ZERO, "f-zero", 0, 32, 25, 2, { 0, { (1<<MACH_BASE) } } },
|
|
|
|
{ I960_F_SRC1, "f-src1", 0, 32, 27, 5, { 0, { (1<<MACH_BASE) } } },
|
|
|
|
{ I960_F_ABASE, "f-abase", 0, 32, 13, 5, { 0, { (1<<MACH_BASE) } } },
|
|
|
|
{ I960_F_MODEA, "f-modea", 0, 32, 18, 1, { 0, { (1<<MACH_BASE) } } },
|
|
|
|
{ I960_F_ZEROA, "f-zeroa", 0, 32, 19, 1, { 0, { (1<<MACH_BASE) } } },
|
|
|
|
{ I960_F_OFFSET, "f-offset", 0, 32, 20, 12, { 0, { (1<<MACH_BASE) } } },
|
|
|
|
{ I960_F_MODEB, "f-modeb", 0, 32, 18, 4, { 0, { (1<<MACH_BASE) } } },
|
|
|
|
{ I960_F_SCALE, "f-scale", 0, 32, 22, 3, { 0, { (1<<MACH_BASE) } } },
|
|
|
|
{ I960_F_ZEROB, "f-zerob", 0, 32, 25, 2, { 0, { (1<<MACH_BASE) } } },
|
|
|
|
{ I960_F_INDEX, "f-index", 0, 32, 27, 5, { 0, { (1<<MACH_BASE) } } },
|
|
|
|
{ I960_F_OPTDISP, "f-optdisp", 32, 32, 0, 32, { 0, { (1<<MACH_BASE) } } },
|
|
|
|
{ I960_F_BR_SRC1, "f-br-src1", 0, 32, 8, 5, { 0, { (1<<MACH_BASE) } } },
|
|
|
|
{ I960_F_BR_SRC2, "f-br-src2", 0, 32, 13, 5, { 0, { (1<<MACH_BASE) } } },
|
|
|
|
{ I960_F_BR_M1, "f-br-m1", 0, 32, 18, 1, { 0, { (1<<MACH_BASE) } } },
|
|
|
|
{ I960_F_BR_DISP, "f-br-disp", 0, 32, 19, 11, { 0|A(PCREL_ADDR), { (1<<MACH_BASE) } } },
|
|
|
|
{ I960_F_BR_ZERO, "f-br-zero", 0, 32, 30, 2, { 0, { (1<<MACH_BASE) } } },
|
|
|
|
{ I960_F_CTRL_DISP, "f-ctrl-disp", 0, 32, 8, 22, { 0|A(PCREL_ADDR), { (1<<MACH_BASE) } } },
|
|
|
|
{ I960_F_CTRL_ZERO, "f-ctrl-zero", 0, 32, 30, 2, { 0, { (1<<MACH_BASE) } } },
|
1999-04-16 03:35:26 +02:00
|
|
|
{ 0 }
|
|
|
|
};
|
|
|
|
|
|
|
|
#undef A
|
|
|
|
|
|
|
|
/* The operand table. */
|
|
|
|
|
2001-02-07 02:16:05 +01:00
|
|
|
#if defined (__STDC__) || defined (ALMOST_STDC) || defined (HAVE_STRINGIZE)
|
|
|
|
#define A(a) (1 << CGEN_OPERAND_##a)
|
|
|
|
#else
|
|
|
|
#define A(a) (1 << CGEN_OPERAND_/**/a)
|
|
|
|
#endif
|
|
|
|
#if defined (__STDC__) || defined (ALMOST_STDC) || defined (HAVE_STRINGIZE)
|
|
|
|
#define OPERAND(op) I960_OPERAND_##op
|
|
|
|
#else
|
|
|
|
#define OPERAND(op) I960_OPERAND_/**/op
|
|
|
|
#endif
|
1999-04-16 03:35:26 +02:00
|
|
|
|
1999-04-26 20:34:20 +02:00
|
|
|
const CGEN_OPERAND i960_cgen_operand_table[] =
|
1999-04-16 03:35:26 +02:00
|
|
|
{
|
|
|
|
/* pc: program counter */
|
1999-04-26 20:34:20 +02:00
|
|
|
{ "pc", I960_OPERAND_PC, HW_H_PC, 0, 0,
|
|
|
|
{ 0|A(SEM_ONLY), { (1<<MACH_BASE) } } },
|
1999-04-16 03:35:26 +02:00
|
|
|
/* src1: source register 1 */
|
1999-04-26 20:34:20 +02:00
|
|
|
{ "src1", I960_OPERAND_SRC1, HW_H_GR, 27, 5,
|
|
|
|
{ 0, { (1<<MACH_BASE) } } },
|
1999-04-16 03:35:26 +02:00
|
|
|
/* src2: source register 2 */
|
1999-04-26 20:34:20 +02:00
|
|
|
{ "src2", I960_OPERAND_SRC2, HW_H_GR, 13, 5,
|
|
|
|
{ 0, { (1<<MACH_BASE) } } },
|
1999-04-16 03:35:26 +02:00
|
|
|
/* dst: source/dest register */
|
1999-04-26 20:34:20 +02:00
|
|
|
{ "dst", I960_OPERAND_DST, HW_H_GR, 8, 5,
|
|
|
|
{ 0, { (1<<MACH_BASE) } } },
|
1999-04-16 03:35:26 +02:00
|
|
|
/* lit1: literal 1 */
|
1999-04-26 20:34:20 +02:00
|
|
|
{ "lit1", I960_OPERAND_LIT1, HW_H_UINT, 27, 5,
|
|
|
|
{ 0, { (1<<MACH_BASE) } } },
|
1999-04-16 03:35:26 +02:00
|
|
|
/* lit2: literal 2 */
|
1999-04-26 20:34:20 +02:00
|
|
|
{ "lit2", I960_OPERAND_LIT2, HW_H_UINT, 13, 5,
|
|
|
|
{ 0, { (1<<MACH_BASE) } } },
|
1999-04-16 03:35:26 +02:00
|
|
|
/* st_src: store src */
|
1999-04-26 20:34:20 +02:00
|
|
|
{ "st_src", I960_OPERAND_ST_SRC, HW_H_GR, 8, 5,
|
|
|
|
{ 0, { (1<<MACH_BASE) } } },
|
1999-04-16 03:35:26 +02:00
|
|
|
/* abase: abase */
|
1999-04-26 20:34:20 +02:00
|
|
|
{ "abase", I960_OPERAND_ABASE, HW_H_GR, 13, 5,
|
|
|
|
{ 0, { (1<<MACH_BASE) } } },
|
1999-04-16 03:35:26 +02:00
|
|
|
/* offset: offset */
|
1999-04-26 20:34:20 +02:00
|
|
|
{ "offset", I960_OPERAND_OFFSET, HW_H_UINT, 20, 12,
|
|
|
|
{ 0, { (1<<MACH_BASE) } } },
|
1999-04-16 03:35:26 +02:00
|
|
|
/* scale: scale */
|
1999-04-26 20:34:20 +02:00
|
|
|
{ "scale", I960_OPERAND_SCALE, HW_H_UINT, 22, 3,
|
|
|
|
{ 0, { (1<<MACH_BASE) } } },
|
1999-04-16 03:35:26 +02:00
|
|
|
/* index: index */
|
1999-04-26 20:34:20 +02:00
|
|
|
{ "index", I960_OPERAND_INDEX, HW_H_GR, 27, 5,
|
|
|
|
{ 0, { (1<<MACH_BASE) } } },
|
1999-04-16 03:35:26 +02:00
|
|
|
/* optdisp: optional displacement */
|
1999-04-26 20:34:20 +02:00
|
|
|
{ "optdisp", I960_OPERAND_OPTDISP, HW_H_UINT, 0, 32,
|
|
|
|
{ 0, { (1<<MACH_BASE) } } },
|
1999-04-16 03:35:26 +02:00
|
|
|
/* br_src1: branch src1 */
|
1999-04-26 20:34:20 +02:00
|
|
|
{ "br_src1", I960_OPERAND_BR_SRC1, HW_H_GR, 8, 5,
|
|
|
|
{ 0, { (1<<MACH_BASE) } } },
|
1999-04-16 03:35:26 +02:00
|
|
|
/* br_src2: branch src2 */
|
1999-04-26 20:34:20 +02:00
|
|
|
{ "br_src2", I960_OPERAND_BR_SRC2, HW_H_GR, 13, 5,
|
|
|
|
{ 0, { (1<<MACH_BASE) } } },
|
1999-04-16 03:35:26 +02:00
|
|
|
/* br_disp: branch displacement */
|
1999-04-26 20:34:20 +02:00
|
|
|
{ "br_disp", I960_OPERAND_BR_DISP, HW_H_IADDR, 19, 11,
|
|
|
|
{ 0|A(PCREL_ADDR), { (1<<MACH_BASE) } } },
|
1999-04-16 03:35:26 +02:00
|
|
|
/* br_lit1: branch literal 1 */
|
1999-04-26 20:34:20 +02:00
|
|
|
{ "br_lit1", I960_OPERAND_BR_LIT1, HW_H_UINT, 8, 5,
|
|
|
|
{ 0, { (1<<MACH_BASE) } } },
|
1999-04-16 03:35:26 +02:00
|
|
|
/* ctrl_disp: ctrl branch disp */
|
1999-04-26 20:34:20 +02:00
|
|
|
{ "ctrl_disp", I960_OPERAND_CTRL_DISP, HW_H_IADDR, 8, 22,
|
|
|
|
{ 0|A(PCREL_ADDR), { (1<<MACH_BASE) } } },
|
|
|
|
{ 0 }
|
1999-04-16 03:35:26 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#undef A
|
|
|
|
|
|
|
|
#define OP(field) CGEN_SYNTAX_MAKE_FIELD (OPERAND (field))
|
2001-02-07 02:16:05 +01:00
|
|
|
#if defined (__STDC__) || defined (ALMOST_STDC) || defined (HAVE_STRINGIZE)
|
|
|
|
#define A(a) (1 << CGEN_INSN_##a)
|
|
|
|
#else
|
|
|
|
#define A(a) (1 << CGEN_INSN_/**/a)
|
|
|
|
#endif
|
1999-04-16 03:35:26 +02:00
|
|
|
|
|
|
|
/* The instruction table. */
|
|
|
|
|
|
|
|
static const CGEN_IBASE i960_cgen_insn_table[MAX_INSNS] =
|
|
|
|
{
|
|
|
|
/* Special null first entry.
|
|
|
|
A `num' value of zero is thus invalid.
|
|
|
|
Also, the special `invalid' insn resides here. */
|
|
|
|
{ 0, 0, 0 },
|
|
|
|
/* mulo $src1, $src2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_MULO, "mulo", "mulo", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* mulo $lit1, $src2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_MULO1, "mulo1", "mulo", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* mulo $src1, $lit2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_MULO2, "mulo2", "mulo", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* mulo $lit1, $lit2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_MULO3, "mulo3", "mulo", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* remo $src1, $src2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_REMO, "remo", "remo", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* remo $lit1, $src2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_REMO1, "remo1", "remo", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* remo $src1, $lit2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_REMO2, "remo2", "remo", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* remo $lit1, $lit2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_REMO3, "remo3", "remo", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* divo $src1, $src2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_DIVO, "divo", "divo", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* divo $lit1, $src2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_DIVO1, "divo1", "divo", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* divo $src1, $lit2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_DIVO2, "divo2", "divo", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* divo $lit1, $lit2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_DIVO3, "divo3", "divo", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* remi $src1, $src2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_REMI, "remi", "remi", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* remi $lit1, $src2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_REMI1, "remi1", "remi", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* remi $src1, $lit2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_REMI2, "remi2", "remi", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* remi $lit1, $lit2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_REMI3, "remi3", "remi", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* divi $src1, $src2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_DIVI, "divi", "divi", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* divi $lit1, $src2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_DIVI1, "divi1", "divi", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* divi $src1, $lit2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_DIVI2, "divi2", "divi", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* divi $lit1, $lit2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_DIVI3, "divi3", "divi", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* addo $src1, $src2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_ADDO, "addo", "addo", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* addo $lit1, $src2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_ADDO1, "addo1", "addo", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* addo $src1, $lit2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_ADDO2, "addo2", "addo", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* addo $lit1, $lit2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_ADDO3, "addo3", "addo", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* subo $src1, $src2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_SUBO, "subo", "subo", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* subo $lit1, $src2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_SUBO1, "subo1", "subo", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* subo $src1, $lit2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_SUBO2, "subo2", "subo", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* subo $lit1, $lit2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_SUBO3, "subo3", "subo", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* notbit $src1, $src2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_NOTBIT, "notbit", "notbit", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* notbit $lit1, $src2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_NOTBIT1, "notbit1", "notbit", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* notbit $src1, $lit2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_NOTBIT2, "notbit2", "notbit", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* notbit $lit1, $lit2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_NOTBIT3, "notbit3", "notbit", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* and $src1, $src2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_AND, "and", "and", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* and $lit1, $src2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_AND1, "and1", "and", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* and $src1, $lit2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_AND2, "and2", "and", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* and $lit1, $lit2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_AND3, "and3", "and", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* andnot $src1, $src2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_ANDNOT, "andnot", "andnot", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* andnot $lit1, $src2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_ANDNOT1, "andnot1", "andnot", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* andnot $src1, $lit2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_ANDNOT2, "andnot2", "andnot", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* andnot $lit1, $lit2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_ANDNOT3, "andnot3", "andnot", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* setbit $src1, $src2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_SETBIT, "setbit", "setbit", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* setbit $lit1, $src2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_SETBIT1, "setbit1", "setbit", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* setbit $src1, $lit2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_SETBIT2, "setbit2", "setbit", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* setbit $lit1, $lit2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_SETBIT3, "setbit3", "setbit", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* notand $src1, $src2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_NOTAND, "notand", "notand", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* notand $lit1, $src2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_NOTAND1, "notand1", "notand", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* notand $src1, $lit2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_NOTAND2, "notand2", "notand", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* notand $lit1, $lit2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_NOTAND3, "notand3", "notand", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* xor $src1, $src2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_XOR, "xor", "xor", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* xor $lit1, $src2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_XOR1, "xor1", "xor", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* xor $src1, $lit2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_XOR2, "xor2", "xor", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* xor $lit1, $lit2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_XOR3, "xor3", "xor", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* or $src1, $src2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_OR, "or", "or", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* or $lit1, $src2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_OR1, "or1", "or", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* or $src1, $lit2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_OR2, "or2", "or", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* or $lit1, $lit2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_OR3, "or3", "or", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* nor $src1, $src2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_NOR, "nor", "nor", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* nor $lit1, $src2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_NOR1, "nor1", "nor", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* nor $src1, $lit2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_NOR2, "nor2", "nor", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* nor $lit1, $lit2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_NOR3, "nor3", "nor", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
|
|
|
},
|
|
|
|
/* xnor $src1, $src2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_XNOR, "xnor", "xnor", 32,
|
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
|
|
|
},
|
|
|
|
/* xnor $lit1, $src2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_XNOR1, "xnor1", "xnor", 32,
|
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
|
|
|
},
|
|
|
|
/* xnor $src1, $lit2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_XNOR2, "xnor2", "xnor", 32,
|
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
|
|
|
},
|
|
|
|
/* xnor $lit1, $lit2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_XNOR3, "xnor3", "xnor", 32,
|
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* not $src1, $src2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_NOT, "not", "not", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* not $lit1, $src2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_NOT1, "not1", "not", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* not $src1, $lit2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_NOT2, "not2", "not", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* not $lit1, $lit2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_NOT3, "not3", "not", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
|
|
|
},
|
|
|
|
/* ornot $src1, $src2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_ORNOT, "ornot", "ornot", 32,
|
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
|
|
|
},
|
|
|
|
/* ornot $lit1, $src2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_ORNOT1, "ornot1", "ornot", 32,
|
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
|
|
|
},
|
|
|
|
/* ornot $src1, $lit2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_ORNOT2, "ornot2", "ornot", 32,
|
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
|
|
|
},
|
|
|
|
/* ornot $lit1, $lit2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_ORNOT3, "ornot3", "ornot", 32,
|
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* clrbit $src1, $src2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_CLRBIT, "clrbit", "clrbit", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* clrbit $lit1, $src2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_CLRBIT1, "clrbit1", "clrbit", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* clrbit $src1, $lit2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_CLRBIT2, "clrbit2", "clrbit", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* clrbit $lit1, $lit2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_CLRBIT3, "clrbit3", "clrbit", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* shlo $src1, $src2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_SHLO, "shlo", "shlo", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* shlo $lit1, $src2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_SHLO1, "shlo1", "shlo", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* shlo $src1, $lit2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_SHLO2, "shlo2", "shlo", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* shlo $lit1, $lit2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_SHLO3, "shlo3", "shlo", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* shro $src1, $src2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_SHRO, "shro", "shro", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* shro $lit1, $src2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_SHRO1, "shro1", "shro", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* shro $src1, $lit2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_SHRO2, "shro2", "shro", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* shro $lit1, $lit2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_SHRO3, "shro3", "shro", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* shli $src1, $src2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_SHLI, "shli", "shli", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* shli $lit1, $src2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_SHLI1, "shli1", "shli", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* shli $src1, $lit2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_SHLI2, "shli2", "shli", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* shli $lit1, $lit2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_SHLI3, "shli3", "shli", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* shri $src1, $src2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_SHRI, "shri", "shri", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* shri $lit1, $src2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_SHRI1, "shri1", "shri", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* shri $src1, $lit2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_SHRI2, "shri2", "shri", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* shri $lit1, $lit2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_SHRI3, "shri3", "shri", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* emul $src1, $src2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_EMUL, "emul", "emul", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* emul $lit1, $src2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_EMUL1, "emul1", "emul", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* emul $src1, $lit2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_EMUL2, "emul2", "emul", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* emul $lit1, $lit2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_EMUL3, "emul3", "emul", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* mov $src1, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_MOV, "mov", "mov", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* mov $lit1, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_MOV1, "mov1", "mov", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* movl $src1, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_MOVL, "movl", "movl", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* movl $lit1, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_MOVL1, "movl1", "movl", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* movt $src1, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_MOVT, "movt", "movt", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* movt $lit1, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_MOVT1, "movt1", "movt", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* movq $src1, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_MOVQ, "movq", "movq", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* movq $lit1, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_MOVQ1, "movq1", "movq", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* modpc $src1, $src2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_MODPC, "modpc", "modpc", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* modac $src1, $src2, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_MODAC, "modac", "modac", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* lda $offset, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_LDA_OFFSET, "lda-offset", "lda", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* lda $offset($abase), $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_LDA_INDIRECT_OFFSET, "lda-indirect-offset", "lda", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* lda ($abase), $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_LDA_INDIRECT, "lda-indirect", "lda", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* lda ($abase)[$index*S$scale], $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_LDA_INDIRECT_INDEX, "lda-indirect-index", "lda", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* lda $optdisp, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_LDA_DISP, "lda-disp", "lda", 64,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* lda $optdisp($abase), $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_LDA_INDIRECT_DISP, "lda-indirect-disp", "lda", 64,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* lda $optdisp[$index*S$scale], $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_LDA_INDEX_DISP, "lda-index-disp", "lda", 64,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* lda $optdisp($abase)[$index*S$scale], $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_LDA_INDIRECT_INDEX_DISP, "lda-indirect-index-disp", "lda", 64,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* ld $offset, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_LD_OFFSET, "ld-offset", "ld", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* ld $offset($abase), $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_LD_INDIRECT_OFFSET, "ld-indirect-offset", "ld", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* ld ($abase), $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_LD_INDIRECT, "ld-indirect", "ld", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* ld ($abase)[$index*S$scale], $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_LD_INDIRECT_INDEX, "ld-indirect-index", "ld", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* ld $optdisp, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_LD_DISP, "ld-disp", "ld", 64,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* ld $optdisp($abase), $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_LD_INDIRECT_DISP, "ld-indirect-disp", "ld", 64,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* ld $optdisp[$index*S$scale], $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_LD_INDEX_DISP, "ld-index-disp", "ld", 64,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* ld $optdisp($abase)[$index*S$scale], $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_LD_INDIRECT_INDEX_DISP, "ld-indirect-index-disp", "ld", 64,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* ldob $offset, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_LDOB_OFFSET, "ldob-offset", "ldob", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* ldob $offset($abase), $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_LDOB_INDIRECT_OFFSET, "ldob-indirect-offset", "ldob", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* ldob ($abase), $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_LDOB_INDIRECT, "ldob-indirect", "ldob", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* ldob ($abase)[$index*S$scale], $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_LDOB_INDIRECT_INDEX, "ldob-indirect-index", "ldob", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* ldob $optdisp, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_LDOB_DISP, "ldob-disp", "ldob", 64,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* ldob $optdisp($abase), $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_LDOB_INDIRECT_DISP, "ldob-indirect-disp", "ldob", 64,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* ldob $optdisp[$index*S$scale], $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_LDOB_INDEX_DISP, "ldob-index-disp", "ldob", 64,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* ldob $optdisp($abase)[$index*S$scale], $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_LDOB_INDIRECT_INDEX_DISP, "ldob-indirect-index-disp", "ldob", 64,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* ldos $offset, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_LDOS_OFFSET, "ldos-offset", "ldos", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* ldos $offset($abase), $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_LDOS_INDIRECT_OFFSET, "ldos-indirect-offset", "ldos", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* ldos ($abase), $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_LDOS_INDIRECT, "ldos-indirect", "ldos", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* ldos ($abase)[$index*S$scale], $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_LDOS_INDIRECT_INDEX, "ldos-indirect-index", "ldos", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* ldos $optdisp, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_LDOS_DISP, "ldos-disp", "ldos", 64,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* ldos $optdisp($abase), $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_LDOS_INDIRECT_DISP, "ldos-indirect-disp", "ldos", 64,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* ldos $optdisp[$index*S$scale], $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_LDOS_INDEX_DISP, "ldos-index-disp", "ldos", 64,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* ldos $optdisp($abase)[$index*S$scale], $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_LDOS_INDIRECT_INDEX_DISP, "ldos-indirect-index-disp", "ldos", 64,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* ldib $offset, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_LDIB_OFFSET, "ldib-offset", "ldib", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* ldib $offset($abase), $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_LDIB_INDIRECT_OFFSET, "ldib-indirect-offset", "ldib", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* ldib ($abase), $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_LDIB_INDIRECT, "ldib-indirect", "ldib", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* ldib ($abase)[$index*S$scale], $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_LDIB_INDIRECT_INDEX, "ldib-indirect-index", "ldib", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* ldib $optdisp, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_LDIB_DISP, "ldib-disp", "ldib", 64,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* ldib $optdisp($abase), $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_LDIB_INDIRECT_DISP, "ldib-indirect-disp", "ldib", 64,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* ldib $optdisp[$index*S$scale], $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_LDIB_INDEX_DISP, "ldib-index-disp", "ldib", 64,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* ldib $optdisp($abase)[$index*S$scale], $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_LDIB_INDIRECT_INDEX_DISP, "ldib-indirect-index-disp", "ldib", 64,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* ldis $offset, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_LDIS_OFFSET, "ldis-offset", "ldis", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* ldis $offset($abase), $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_LDIS_INDIRECT_OFFSET, "ldis-indirect-offset", "ldis", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* ldis ($abase), $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_LDIS_INDIRECT, "ldis-indirect", "ldis", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* ldis ($abase)[$index*S$scale], $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_LDIS_INDIRECT_INDEX, "ldis-indirect-index", "ldis", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* ldis $optdisp, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_LDIS_DISP, "ldis-disp", "ldis", 64,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* ldis $optdisp($abase), $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_LDIS_INDIRECT_DISP, "ldis-indirect-disp", "ldis", 64,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* ldis $optdisp[$index*S$scale], $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_LDIS_INDEX_DISP, "ldis-index-disp", "ldis", 64,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* ldis $optdisp($abase)[$index*S$scale], $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_LDIS_INDIRECT_INDEX_DISP, "ldis-indirect-index-disp", "ldis", 64,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* ldl $offset, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_LDL_OFFSET, "ldl-offset", "ldl", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* ldl $offset($abase), $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_LDL_INDIRECT_OFFSET, "ldl-indirect-offset", "ldl", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* ldl ($abase), $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_LDL_INDIRECT, "ldl-indirect", "ldl", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* ldl ($abase)[$index*S$scale], $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_LDL_INDIRECT_INDEX, "ldl-indirect-index", "ldl", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* ldl $optdisp, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_LDL_DISP, "ldl-disp", "ldl", 64,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* ldl $optdisp($abase), $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_LDL_INDIRECT_DISP, "ldl-indirect-disp", "ldl", 64,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* ldl $optdisp[$index*S$scale], $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_LDL_INDEX_DISP, "ldl-index-disp", "ldl", 64,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* ldl $optdisp($abase)[$index*S$scale], $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_LDL_INDIRECT_INDEX_DISP, "ldl-indirect-index-disp", "ldl", 64,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* ldt $offset, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_LDT_OFFSET, "ldt-offset", "ldt", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* ldt $offset($abase), $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_LDT_INDIRECT_OFFSET, "ldt-indirect-offset", "ldt", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* ldt ($abase), $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_LDT_INDIRECT, "ldt-indirect", "ldt", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* ldt ($abase)[$index*S$scale], $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_LDT_INDIRECT_INDEX, "ldt-indirect-index", "ldt", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* ldt $optdisp, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_LDT_DISP, "ldt-disp", "ldt", 64,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* ldt $optdisp($abase), $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_LDT_INDIRECT_DISP, "ldt-indirect-disp", "ldt", 64,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* ldt $optdisp[$index*S$scale], $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_LDT_INDEX_DISP, "ldt-index-disp", "ldt", 64,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* ldt $optdisp($abase)[$index*S$scale], $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_LDT_INDIRECT_INDEX_DISP, "ldt-indirect-index-disp", "ldt", 64,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* ldq $offset, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_LDQ_OFFSET, "ldq-offset", "ldq", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* ldq $offset($abase), $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_LDQ_INDIRECT_OFFSET, "ldq-indirect-offset", "ldq", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* ldq ($abase), $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_LDQ_INDIRECT, "ldq-indirect", "ldq", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* ldq ($abase)[$index*S$scale], $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_LDQ_INDIRECT_INDEX, "ldq-indirect-index", "ldq", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* ldq $optdisp, $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_LDQ_DISP, "ldq-disp", "ldq", 64,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* ldq $optdisp($abase), $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_LDQ_INDIRECT_DISP, "ldq-indirect-disp", "ldq", 64,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* ldq $optdisp[$index*S$scale], $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_LDQ_INDEX_DISP, "ldq-index-disp", "ldq", 64,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* ldq $optdisp($abase)[$index*S$scale], $dst */
|
|
|
|
{
|
|
|
|
I960_INSN_LDQ_INDIRECT_INDEX_DISP, "ldq-indirect-index-disp", "ldq", 64,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* st $st_src, $offset */
|
|
|
|
{
|
|
|
|
I960_INSN_ST_OFFSET, "st-offset", "st", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* st $st_src, $offset($abase) */
|
|
|
|
{
|
|
|
|
I960_INSN_ST_INDIRECT_OFFSET, "st-indirect-offset", "st", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* st $st_src, ($abase) */
|
|
|
|
{
|
|
|
|
I960_INSN_ST_INDIRECT, "st-indirect", "st", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* st $st_src, ($abase)[$index*S$scale] */
|
|
|
|
{
|
|
|
|
I960_INSN_ST_INDIRECT_INDEX, "st-indirect-index", "st", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* st $st_src, $optdisp */
|
|
|
|
{
|
|
|
|
I960_INSN_ST_DISP, "st-disp", "st", 64,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* st $st_src, $optdisp($abase) */
|
|
|
|
{
|
|
|
|
I960_INSN_ST_INDIRECT_DISP, "st-indirect-disp", "st", 64,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* st $st_src, $optdisp[$index*S$scale */
|
|
|
|
{
|
|
|
|
I960_INSN_ST_INDEX_DISP, "st-index-disp", "st", 64,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* st $st_src, $optdisp($abase)[$index*S$scale] */
|
|
|
|
{
|
|
|
|
I960_INSN_ST_INDIRECT_INDEX_DISP, "st-indirect-index-disp", "st", 64,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* stob $st_src, $offset */
|
|
|
|
{
|
|
|
|
I960_INSN_STOB_OFFSET, "stob-offset", "stob", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* stob $st_src, $offset($abase) */
|
|
|
|
{
|
|
|
|
I960_INSN_STOB_INDIRECT_OFFSET, "stob-indirect-offset", "stob", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* stob $st_src, ($abase) */
|
|
|
|
{
|
|
|
|
I960_INSN_STOB_INDIRECT, "stob-indirect", "stob", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* stob $st_src, ($abase)[$index*S$scale] */
|
|
|
|
{
|
|
|
|
I960_INSN_STOB_INDIRECT_INDEX, "stob-indirect-index", "stob", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* stob $st_src, $optdisp */
|
|
|
|
{
|
|
|
|
I960_INSN_STOB_DISP, "stob-disp", "stob", 64,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* stob $st_src, $optdisp($abase) */
|
|
|
|
{
|
|
|
|
I960_INSN_STOB_INDIRECT_DISP, "stob-indirect-disp", "stob", 64,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* stob $st_src, $optdisp[$index*S$scale */
|
|
|
|
{
|
|
|
|
I960_INSN_STOB_INDEX_DISP, "stob-index-disp", "stob", 64,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* stob $st_src, $optdisp($abase)[$index*S$scale] */
|
|
|
|
{
|
|
|
|
I960_INSN_STOB_INDIRECT_INDEX_DISP, "stob-indirect-index-disp", "stob", 64,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* stos $st_src, $offset */
|
|
|
|
{
|
|
|
|
I960_INSN_STOS_OFFSET, "stos-offset", "stos", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* stos $st_src, $offset($abase) */
|
|
|
|
{
|
|
|
|
I960_INSN_STOS_INDIRECT_OFFSET, "stos-indirect-offset", "stos", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* stos $st_src, ($abase) */
|
|
|
|
{
|
|
|
|
I960_INSN_STOS_INDIRECT, "stos-indirect", "stos", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* stos $st_src, ($abase)[$index*S$scale] */
|
|
|
|
{
|
|
|
|
I960_INSN_STOS_INDIRECT_INDEX, "stos-indirect-index", "stos", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* stos $st_src, $optdisp */
|
|
|
|
{
|
|
|
|
I960_INSN_STOS_DISP, "stos-disp", "stos", 64,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* stos $st_src, $optdisp($abase) */
|
|
|
|
{
|
|
|
|
I960_INSN_STOS_INDIRECT_DISP, "stos-indirect-disp", "stos", 64,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* stos $st_src, $optdisp[$index*S$scale */
|
|
|
|
{
|
|
|
|
I960_INSN_STOS_INDEX_DISP, "stos-index-disp", "stos", 64,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* stos $st_src, $optdisp($abase)[$index*S$scale] */
|
|
|
|
{
|
|
|
|
I960_INSN_STOS_INDIRECT_INDEX_DISP, "stos-indirect-index-disp", "stos", 64,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* stl $st_src, $offset */
|
|
|
|
{
|
|
|
|
I960_INSN_STL_OFFSET, "stl-offset", "stl", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* stl $st_src, $offset($abase) */
|
|
|
|
{
|
|
|
|
I960_INSN_STL_INDIRECT_OFFSET, "stl-indirect-offset", "stl", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* stl $st_src, ($abase) */
|
|
|
|
{
|
|
|
|
I960_INSN_STL_INDIRECT, "stl-indirect", "stl", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* stl $st_src, ($abase)[$index*S$scale] */
|
|
|
|
{
|
|
|
|
I960_INSN_STL_INDIRECT_INDEX, "stl-indirect-index", "stl", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* stl $st_src, $optdisp */
|
|
|
|
{
|
|
|
|
I960_INSN_STL_DISP, "stl-disp", "stl", 64,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* stl $st_src, $optdisp($abase) */
|
|
|
|
{
|
|
|
|
I960_INSN_STL_INDIRECT_DISP, "stl-indirect-disp", "stl", 64,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* stl $st_src, $optdisp[$index*S$scale */
|
|
|
|
{
|
|
|
|
I960_INSN_STL_INDEX_DISP, "stl-index-disp", "stl", 64,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* stl $st_src, $optdisp($abase)[$index*S$scale] */
|
|
|
|
{
|
|
|
|
I960_INSN_STL_INDIRECT_INDEX_DISP, "stl-indirect-index-disp", "stl", 64,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* stt $st_src, $offset */
|
|
|
|
{
|
|
|
|
I960_INSN_STT_OFFSET, "stt-offset", "stt", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* stt $st_src, $offset($abase) */
|
|
|
|
{
|
|
|
|
I960_INSN_STT_INDIRECT_OFFSET, "stt-indirect-offset", "stt", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* stt $st_src, ($abase) */
|
|
|
|
{
|
|
|
|
I960_INSN_STT_INDIRECT, "stt-indirect", "stt", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* stt $st_src, ($abase)[$index*S$scale] */
|
|
|
|
{
|
|
|
|
I960_INSN_STT_INDIRECT_INDEX, "stt-indirect-index", "stt", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* stt $st_src, $optdisp */
|
|
|
|
{
|
|
|
|
I960_INSN_STT_DISP, "stt-disp", "stt", 64,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* stt $st_src, $optdisp($abase) */
|
|
|
|
{
|
|
|
|
I960_INSN_STT_INDIRECT_DISP, "stt-indirect-disp", "stt", 64,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* stt $st_src, $optdisp[$index*S$scale */
|
|
|
|
{
|
|
|
|
I960_INSN_STT_INDEX_DISP, "stt-index-disp", "stt", 64,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* stt $st_src, $optdisp($abase)[$index*S$scale] */
|
|
|
|
{
|
|
|
|
I960_INSN_STT_INDIRECT_INDEX_DISP, "stt-indirect-index-disp", "stt", 64,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* stq $st_src, $offset */
|
|
|
|
{
|
|
|
|
I960_INSN_STQ_OFFSET, "stq-offset", "stq", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* stq $st_src, $offset($abase) */
|
|
|
|
{
|
|
|
|
I960_INSN_STQ_INDIRECT_OFFSET, "stq-indirect-offset", "stq", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* stq $st_src, ($abase) */
|
|
|
|
{
|
|
|
|
I960_INSN_STQ_INDIRECT, "stq-indirect", "stq", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* stq $st_src, ($abase)[$index*S$scale] */
|
|
|
|
{
|
|
|
|
I960_INSN_STQ_INDIRECT_INDEX, "stq-indirect-index", "stq", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* stq $st_src, $optdisp */
|
|
|
|
{
|
|
|
|
I960_INSN_STQ_DISP, "stq-disp", "stq", 64,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* stq $st_src, $optdisp($abase) */
|
|
|
|
{
|
|
|
|
I960_INSN_STQ_INDIRECT_DISP, "stq-indirect-disp", "stq", 64,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* stq $st_src, $optdisp[$index*S$scale */
|
|
|
|
{
|
|
|
|
I960_INSN_STQ_INDEX_DISP, "stq-index-disp", "stq", 64,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* stq $st_src, $optdisp($abase)[$index*S$scale] */
|
|
|
|
{
|
|
|
|
I960_INSN_STQ_INDIRECT_INDEX_DISP, "stq-indirect-index-disp", "stq", 64,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* cmpobe $br_src1, $br_src2, $br_disp */
|
|
|
|
{
|
|
|
|
I960_INSN_CMPOBE_REG, "cmpobe-reg", "cmpobe", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0|A(COND_CTI), { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* cmpobe $br_lit1, $br_src2, $br_disp */
|
|
|
|
{
|
|
|
|
I960_INSN_CMPOBE_LIT, "cmpobe-lit", "cmpobe", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0|A(COND_CTI), { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* cmpobne $br_src1, $br_src2, $br_disp */
|
|
|
|
{
|
|
|
|
I960_INSN_CMPOBNE_REG, "cmpobne-reg", "cmpobne", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0|A(COND_CTI), { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* cmpobne $br_lit1, $br_src2, $br_disp */
|
|
|
|
{
|
|
|
|
I960_INSN_CMPOBNE_LIT, "cmpobne-lit", "cmpobne", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0|A(COND_CTI), { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* cmpobl $br_src1, $br_src2, $br_disp */
|
|
|
|
{
|
|
|
|
I960_INSN_CMPOBL_REG, "cmpobl-reg", "cmpobl", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0|A(COND_CTI), { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* cmpobl $br_lit1, $br_src2, $br_disp */
|
|
|
|
{
|
|
|
|
I960_INSN_CMPOBL_LIT, "cmpobl-lit", "cmpobl", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0|A(COND_CTI), { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* cmpoble $br_src1, $br_src2, $br_disp */
|
|
|
|
{
|
|
|
|
I960_INSN_CMPOBLE_REG, "cmpoble-reg", "cmpoble", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0|A(COND_CTI), { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* cmpoble $br_lit1, $br_src2, $br_disp */
|
|
|
|
{
|
|
|
|
I960_INSN_CMPOBLE_LIT, "cmpoble-lit", "cmpoble", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0|A(COND_CTI), { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* cmpobg $br_src1, $br_src2, $br_disp */
|
|
|
|
{
|
|
|
|
I960_INSN_CMPOBG_REG, "cmpobg-reg", "cmpobg", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0|A(COND_CTI), { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* cmpobg $br_lit1, $br_src2, $br_disp */
|
|
|
|
{
|
|
|
|
I960_INSN_CMPOBG_LIT, "cmpobg-lit", "cmpobg", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0|A(COND_CTI), { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* cmpobge $br_src1, $br_src2, $br_disp */
|
|
|
|
{
|
|
|
|
I960_INSN_CMPOBGE_REG, "cmpobge-reg", "cmpobge", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0|A(COND_CTI), { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* cmpobge $br_lit1, $br_src2, $br_disp */
|
|
|
|
{
|
|
|
|
I960_INSN_CMPOBGE_LIT, "cmpobge-lit", "cmpobge", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0|A(COND_CTI), { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* cmpibe $br_src1, $br_src2, $br_disp */
|
|
|
|
{
|
|
|
|
I960_INSN_CMPIBE_REG, "cmpibe-reg", "cmpibe", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0|A(COND_CTI), { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* cmpibe $br_lit1, $br_src2, $br_disp */
|
|
|
|
{
|
|
|
|
I960_INSN_CMPIBE_LIT, "cmpibe-lit", "cmpibe", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0|A(COND_CTI), { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* cmpibne $br_src1, $br_src2, $br_disp */
|
|
|
|
{
|
|
|
|
I960_INSN_CMPIBNE_REG, "cmpibne-reg", "cmpibne", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0|A(COND_CTI), { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* cmpibne $br_lit1, $br_src2, $br_disp */
|
|
|
|
{
|
|
|
|
I960_INSN_CMPIBNE_LIT, "cmpibne-lit", "cmpibne", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0|A(COND_CTI), { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* cmpibl $br_src1, $br_src2, $br_disp */
|
|
|
|
{
|
|
|
|
I960_INSN_CMPIBL_REG, "cmpibl-reg", "cmpibl", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0|A(COND_CTI), { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* cmpibl $br_lit1, $br_src2, $br_disp */
|
|
|
|
{
|
|
|
|
I960_INSN_CMPIBL_LIT, "cmpibl-lit", "cmpibl", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0|A(COND_CTI), { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* cmpible $br_src1, $br_src2, $br_disp */
|
|
|
|
{
|
|
|
|
I960_INSN_CMPIBLE_REG, "cmpible-reg", "cmpible", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0|A(COND_CTI), { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* cmpible $br_lit1, $br_src2, $br_disp */
|
|
|
|
{
|
|
|
|
I960_INSN_CMPIBLE_LIT, "cmpible-lit", "cmpible", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0|A(COND_CTI), { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* cmpibg $br_src1, $br_src2, $br_disp */
|
|
|
|
{
|
|
|
|
I960_INSN_CMPIBG_REG, "cmpibg-reg", "cmpibg", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0|A(COND_CTI), { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* cmpibg $br_lit1, $br_src2, $br_disp */
|
|
|
|
{
|
|
|
|
I960_INSN_CMPIBG_LIT, "cmpibg-lit", "cmpibg", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0|A(COND_CTI), { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* cmpibge $br_src1, $br_src2, $br_disp */
|
|
|
|
{
|
|
|
|
I960_INSN_CMPIBGE_REG, "cmpibge-reg", "cmpibge", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0|A(COND_CTI), { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* cmpibge $br_lit1, $br_src2, $br_disp */
|
|
|
|
{
|
|
|
|
I960_INSN_CMPIBGE_LIT, "cmpibge-lit", "cmpibge", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0|A(COND_CTI), { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* bbc $br_src1, $br_src2, $br_disp */
|
|
|
|
{
|
|
|
|
I960_INSN_BBC_REG, "bbc-reg", "bbc", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0|A(COND_CTI), { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* bbc $br_lit1, $br_src2, $br_disp */
|
|
|
|
{
|
|
|
|
I960_INSN_BBC_LIT, "bbc-lit", "bbc", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0|A(COND_CTI), { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* bbs $br_src1, $br_src2, $br_disp */
|
|
|
|
{
|
|
|
|
I960_INSN_BBS_REG, "bbs-reg", "bbs", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0|A(COND_CTI), { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* bbs $br_lit1, $br_src2, $br_disp */
|
|
|
|
{
|
|
|
|
I960_INSN_BBS_LIT, "bbs-lit", "bbs", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0|A(COND_CTI), { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* cmpi $src1, $src2 */
|
|
|
|
{
|
|
|
|
I960_INSN_CMPI, "cmpi", "cmpi", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* cmpi $lit1, $src2 */
|
|
|
|
{
|
|
|
|
I960_INSN_CMPI1, "cmpi1", "cmpi", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* cmpi $src1, $lit2 */
|
|
|
|
{
|
|
|
|
I960_INSN_CMPI2, "cmpi2", "cmpi", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* cmpi $lit1, $lit2 */
|
|
|
|
{
|
|
|
|
I960_INSN_CMPI3, "cmpi3", "cmpi", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* cmpo $src1, $src2 */
|
|
|
|
{
|
|
|
|
I960_INSN_CMPO, "cmpo", "cmpo", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* cmpo $lit1, $src2 */
|
|
|
|
{
|
|
|
|
I960_INSN_CMPO1, "cmpo1", "cmpo", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* cmpo $src1, $lit2 */
|
|
|
|
{
|
|
|
|
I960_INSN_CMPO2, "cmpo2", "cmpo", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* cmpo $lit1, $lit2 */
|
|
|
|
{
|
|
|
|
I960_INSN_CMPO3, "cmpo3", "cmpo", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* testno $br_src1 */
|
|
|
|
{
|
|
|
|
I960_INSN_TESTNO_REG, "testno-reg", "testno", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* testg $br_src1 */
|
|
|
|
{
|
|
|
|
I960_INSN_TESTG_REG, "testg-reg", "testg", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* teste $br_src1 */
|
|
|
|
{
|
|
|
|
I960_INSN_TESTE_REG, "teste-reg", "teste", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* testge $br_src1 */
|
|
|
|
{
|
|
|
|
I960_INSN_TESTGE_REG, "testge-reg", "testge", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* testl $br_src1 */
|
|
|
|
{
|
|
|
|
I960_INSN_TESTL_REG, "testl-reg", "testl", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* testne $br_src1 */
|
|
|
|
{
|
|
|
|
I960_INSN_TESTNE_REG, "testne-reg", "testne", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* testle $br_src1 */
|
|
|
|
{
|
|
|
|
I960_INSN_TESTLE_REG, "testle-reg", "testle", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* testo $br_src1 */
|
|
|
|
{
|
|
|
|
I960_INSN_TESTO_REG, "testo-reg", "testo", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* bno $ctrl_disp */
|
|
|
|
{
|
|
|
|
I960_INSN_BNO, "bno", "bno", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0|A(COND_CTI), { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* bg $ctrl_disp */
|
|
|
|
{
|
|
|
|
I960_INSN_BG, "bg", "bg", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0|A(COND_CTI), { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* be $ctrl_disp */
|
|
|
|
{
|
|
|
|
I960_INSN_BE, "be", "be", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0|A(COND_CTI), { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* bge $ctrl_disp */
|
|
|
|
{
|
|
|
|
I960_INSN_BGE, "bge", "bge", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0|A(COND_CTI), { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* bl $ctrl_disp */
|
|
|
|
{
|
|
|
|
I960_INSN_BL, "bl", "bl", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0|A(COND_CTI), { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* bne $ctrl_disp */
|
|
|
|
{
|
|
|
|
I960_INSN_BNE, "bne", "bne", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0|A(COND_CTI), { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* ble $ctrl_disp */
|
|
|
|
{
|
|
|
|
I960_INSN_BLE, "ble", "ble", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0|A(COND_CTI), { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* bo $ctrl_disp */
|
|
|
|
{
|
|
|
|
I960_INSN_BO, "bo", "bo", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0|A(COND_CTI), { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* b $ctrl_disp */
|
|
|
|
{
|
|
|
|
I960_INSN_B, "b", "b", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0|A(UNCOND_CTI), { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* bx $offset($abase) */
|
|
|
|
{
|
|
|
|
I960_INSN_BX_INDIRECT_OFFSET, "bx-indirect-offset", "bx", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0|A(UNCOND_CTI), { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* bx ($abase) */
|
|
|
|
{
|
|
|
|
I960_INSN_BX_INDIRECT, "bx-indirect", "bx", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0|A(UNCOND_CTI), { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* bx ($abase)[$index*S$scale] */
|
|
|
|
{
|
|
|
|
I960_INSN_BX_INDIRECT_INDEX, "bx-indirect-index", "bx", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0|A(UNCOND_CTI), { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* bx $optdisp */
|
|
|
|
{
|
|
|
|
I960_INSN_BX_DISP, "bx-disp", "bx", 64,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0|A(UNCOND_CTI), { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* bx $optdisp($abase) */
|
|
|
|
{
|
|
|
|
I960_INSN_BX_INDIRECT_DISP, "bx-indirect-disp", "bx", 64,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0|A(UNCOND_CTI), { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* callx $optdisp */
|
|
|
|
{
|
|
|
|
I960_INSN_CALLX_DISP, "callx-disp", "callx", 64,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0|A(UNCOND_CTI), { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* callx ($abase) */
|
|
|
|
{
|
|
|
|
I960_INSN_CALLX_INDIRECT, "callx-indirect", "callx", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0|A(UNCOND_CTI), { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* callx $offset($abase) */
|
|
|
|
{
|
|
|
|
I960_INSN_CALLX_INDIRECT_OFFSET, "callx-indirect-offset", "callx", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0|A(UNCOND_CTI), { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* ret */
|
|
|
|
{
|
|
|
|
I960_INSN_RET, "ret", "ret", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0|A(UNCOND_CTI), { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* calls $src1 */
|
|
|
|
{
|
|
|
|
I960_INSN_CALLS, "calls", "calls", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0|A(UNCOND_CTI), { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* fmark */
|
|
|
|
{
|
|
|
|
I960_INSN_FMARK, "fmark", "fmark", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0|A(UNCOND_CTI), { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
/* flushreg */
|
|
|
|
{
|
|
|
|
I960_INSN_FLUSHREG, "flushreg", "flushreg", 32,
|
1999-04-26 20:34:20 +02:00
|
|
|
{ 0, { (1<<MACH_BASE) } }
|
1999-04-16 03:35:26 +02:00
|
|
|
},
|
|
|
|
};
|
|
|
|
|
|
|
|
#undef A
|
|
|
|
#undef MNEM
|
|
|
|
#undef OP
|
|
|
|
|
1999-04-26 20:34:20 +02:00
|
|
|
/* Initialize anything needed to be done once, before any cpu_open call. */
|
|
|
|
|
1999-04-16 03:35:26 +02:00
|
|
|
static void
|
|
|
|
init_tables ()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
1999-04-26 20:34:20 +02:00
|
|
|
/* Subroutine of i960_cgen_cpu_open to look up a mach via its bfd name. */
|
|
|
|
|
|
|
|
static const CGEN_MACH *
|
|
|
|
lookup_mach_via_bfd_name (table, name)
|
|
|
|
const CGEN_MACH *table;
|
|
|
|
const char *name;
|
|
|
|
{
|
|
|
|
while (table->name)
|
|
|
|
{
|
|
|
|
if (strcmp (name, table->bfd_name) == 0)
|
|
|
|
return table;
|
|
|
|
++table;
|
|
|
|
}
|
|
|
|
abort ();
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Subroutine of i960_cgen_cpu_open to build the hardware table. */
|
|
|
|
|
|
|
|
static void
|
|
|
|
build_hw_table (cd)
|
|
|
|
CGEN_CPU_TABLE *cd;
|
|
|
|
{
|
|
|
|
int i;
|
|
|
|
int machs = cd->machs;
|
|
|
|
const CGEN_HW_ENTRY *init = & i960_cgen_hw_table[0];
|
|
|
|
/* MAX_HW is only an upper bound on the number of selected entries.
|
|
|
|
However each entry is indexed by it's enum so there can be holes in
|
|
|
|
the table. */
|
|
|
|
const CGEN_HW_ENTRY **selected =
|
|
|
|
(const CGEN_HW_ENTRY **) xmalloc (MAX_HW * sizeof (CGEN_HW_ENTRY *));
|
|
|
|
|
|
|
|
cd->hw_table.init_entries = init;
|
|
|
|
cd->hw_table.entry_size = sizeof (CGEN_HW_ENTRY);
|
|
|
|
memset (selected, 0, MAX_HW * sizeof (CGEN_HW_ENTRY *));
|
|
|
|
/* ??? For now we just use machs to determine which ones we want. */
|
|
|
|
for (i = 0; init[i].name != NULL; ++i)
|
|
|
|
if (CGEN_HW_ATTR_VALUE (&init[i], CGEN_HW_MACH)
|
|
|
|
& machs)
|
|
|
|
selected[init[i].type] = &init[i];
|
|
|
|
cd->hw_table.entries = selected;
|
|
|
|
cd->hw_table.num_entries = MAX_HW;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Subroutine of i960_cgen_cpu_open to build the hardware table. */
|
|
|
|
|
|
|
|
static void
|
|
|
|
build_ifield_table (cd)
|
|
|
|
CGEN_CPU_TABLE *cd;
|
|
|
|
{
|
|
|
|
cd->ifld_table = & i960_cgen_ifld_table[0];
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Subroutine of i960_cgen_cpu_open to build the hardware table. */
|
|
|
|
|
|
|
|
static void
|
|
|
|
build_operand_table (cd)
|
|
|
|
CGEN_CPU_TABLE *cd;
|
|
|
|
{
|
|
|
|
int i;
|
|
|
|
int machs = cd->machs;
|
|
|
|
const CGEN_OPERAND *init = & i960_cgen_operand_table[0];
|
|
|
|
/* MAX_OPERANDS is only an upper bound on the number of selected entries.
|
|
|
|
However each entry is indexed by it's enum so there can be holes in
|
|
|
|
the table. */
|
|
|
|
const CGEN_OPERAND **selected =
|
|
|
|
(const CGEN_OPERAND **) xmalloc (MAX_OPERANDS * sizeof (CGEN_OPERAND *));
|
|
|
|
|
|
|
|
cd->operand_table.init_entries = init;
|
|
|
|
cd->operand_table.entry_size = sizeof (CGEN_OPERAND);
|
|
|
|
memset (selected, 0, MAX_OPERANDS * sizeof (CGEN_OPERAND *));
|
|
|
|
/* ??? For now we just use mach to determine which ones we want. */
|
|
|
|
for (i = 0; init[i].name != NULL; ++i)
|
|
|
|
if (CGEN_OPERAND_ATTR_VALUE (&init[i], CGEN_OPERAND_MACH)
|
|
|
|
& machs)
|
|
|
|
selected[init[i].type] = &init[i];
|
|
|
|
cd->operand_table.entries = selected;
|
|
|
|
cd->operand_table.num_entries = MAX_OPERANDS;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Subroutine of i960_cgen_cpu_open to build the hardware table.
|
|
|
|
??? This could leave out insns not supported by the specified mach/isa,
|
|
|
|
but that would cause errors like "foo only supported by bar" to become
|
|
|
|
"unknown insn", so for now we include all insns and require the app to
|
|
|
|
do the checking later.
|
|
|
|
??? On the other hand, parsing of such insns may require their hardware or
|
|
|
|
operand elements to be in the table [which they mightn't be]. */
|
|
|
|
|
|
|
|
static void
|
|
|
|
build_insn_table (cd)
|
|
|
|
CGEN_CPU_TABLE *cd;
|
|
|
|
{
|
|
|
|
int i;
|
|
|
|
const CGEN_IBASE *ib = & i960_cgen_insn_table[0];
|
|
|
|
CGEN_INSN *insns = (CGEN_INSN *) xmalloc (MAX_INSNS * sizeof (CGEN_INSN));
|
|
|
|
|
|
|
|
memset (insns, 0, MAX_INSNS * sizeof (CGEN_INSN));
|
|
|
|
for (i = 0; i < MAX_INSNS; ++i)
|
|
|
|
insns[i].base = &ib[i];
|
|
|
|
cd->insn_table.init_entries = insns;
|
|
|
|
cd->insn_table.entry_size = sizeof (CGEN_IBASE);
|
|
|
|
cd->insn_table.num_init_entries = MAX_INSNS;
|
|
|
|
}
|
|
|
|
|
1999-05-05 16:45:51 +02:00
|
|
|
/* Subroutine of i960_cgen_cpu_open to rebuild the tables. */
|
1999-04-26 20:34:20 +02:00
|
|
|
|
|
|
|
static void
|
|
|
|
i960_cgen_rebuild_tables (cd)
|
|
|
|
CGEN_CPU_TABLE *cd;
|
|
|
|
{
|
|
|
|
int i,n_isas,n_machs;
|
|
|
|
unsigned int isas = cd->isas;
|
|
|
|
unsigned int machs = cd->machs;
|
|
|
|
|
|
|
|
cd->int_insn_p = CGEN_INT_INSN_P;
|
|
|
|
|
|
|
|
/* Data derived from the isa spec. */
|
|
|
|
#define UNSET (CGEN_SIZE_UNKNOWN + 1)
|
|
|
|
cd->default_insn_bitsize = UNSET;
|
|
|
|
cd->base_insn_bitsize = UNSET;
|
|
|
|
cd->min_insn_bitsize = 65535; /* some ridiculously big number */
|
|
|
|
cd->max_insn_bitsize = 0;
|
|
|
|
for (i = 0; i < MAX_ISAS; ++i)
|
|
|
|
if (((1 << i) & isas) != 0)
|
|
|
|
{
|
|
|
|
const CGEN_ISA *isa = & i960_cgen_isa_table[i];
|
|
|
|
|
|
|
|
/* Default insn sizes of all selected isas must be equal or we set
|
|
|
|
the result to 0, meaning "unknown". */
|
|
|
|
if (cd->default_insn_bitsize == UNSET)
|
|
|
|
cd->default_insn_bitsize = isa->default_insn_bitsize;
|
|
|
|
else if (isa->default_insn_bitsize == cd->default_insn_bitsize)
|
|
|
|
; /* this is ok */
|
|
|
|
else
|
|
|
|
cd->default_insn_bitsize = CGEN_SIZE_UNKNOWN;
|
|
|
|
|
|
|
|
/* Base insn sizes of all selected isas must be equal or we set
|
|
|
|
the result to 0, meaning "unknown". */
|
|
|
|
if (cd->base_insn_bitsize == UNSET)
|
|
|
|
cd->base_insn_bitsize = isa->base_insn_bitsize;
|
|
|
|
else if (isa->base_insn_bitsize == cd->base_insn_bitsize)
|
|
|
|
; /* this is ok */
|
|
|
|
else
|
|
|
|
cd->base_insn_bitsize = CGEN_SIZE_UNKNOWN;
|
|
|
|
|
|
|
|
/* Set min,max insn sizes. */
|
|
|
|
if (isa->min_insn_bitsize < cd->min_insn_bitsize)
|
|
|
|
cd->min_insn_bitsize = isa->min_insn_bitsize;
|
|
|
|
if (isa->max_insn_bitsize > cd->max_insn_bitsize)
|
|
|
|
cd->max_insn_bitsize = isa->max_insn_bitsize;
|
|
|
|
|
|
|
|
++n_isas;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Data derived from the mach spec. */
|
|
|
|
for (i = 0; i < MAX_MACHS; ++i)
|
|
|
|
if (((1 << i) & machs) != 0)
|
|
|
|
{
|
|
|
|
const CGEN_MACH *mach = & i960_cgen_mach_table[i];
|
|
|
|
|
|
|
|
++n_machs;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Determine which hw elements are used by MACH. */
|
|
|
|
build_hw_table (cd);
|
|
|
|
|
|
|
|
/* Build the ifield table. */
|
|
|
|
build_ifield_table (cd);
|
|
|
|
|
|
|
|
/* Determine which operands are used by MACH/ISA. */
|
|
|
|
build_operand_table (cd);
|
|
|
|
|
|
|
|
/* Build the instruction table. */
|
|
|
|
build_insn_table (cd);
|
|
|
|
}
|
|
|
|
|
1999-04-16 03:35:26 +02:00
|
|
|
/* Initialize a cpu table and return a descriptor.
|
1999-04-26 20:34:20 +02:00
|
|
|
It's much like opening a file, and must be the first function called.
|
|
|
|
The arguments are a set of (type/value) pairs, terminated with
|
|
|
|
CGEN_CPU_OPEN_END.
|
|
|
|
|
|
|
|
Currently supported values:
|
|
|
|
CGEN_CPU_OPEN_ISAS: bitmap of values in enum isa_attr
|
|
|
|
CGEN_CPU_OPEN_MACHS: bitmap of values in enum mach_attr
|
|
|
|
CGEN_CPU_OPEN_BFDMACH: specify 1 mach using bfd name
|
|
|
|
CGEN_CPU_OPEN_ENDIAN: specify endian choice
|
|
|
|
CGEN_CPU_OPEN_END: terminates arguments
|
|
|
|
|
|
|
|
??? Simultaneous multiple isas might not make sense, but it's not (yet)
|
|
|
|
precluded.
|
|
|
|
|
|
|
|
??? We only support ISO C stdargs here, not K&R.
|
|
|
|
Laziness, plus experiment to see if anything requires K&R - eventually
|
|
|
|
K&R will no longer be supported - e.g. GDB is currently trying this. */
|
1999-04-16 03:35:26 +02:00
|
|
|
|
|
|
|
CGEN_CPU_DESC
|
1999-04-26 20:34:20 +02:00
|
|
|
i960_cgen_cpu_open (enum cgen_cpu_open_arg arg_type, ...)
|
1999-04-16 03:35:26 +02:00
|
|
|
{
|
|
|
|
CGEN_CPU_TABLE *cd = (CGEN_CPU_TABLE *) xmalloc (sizeof (CGEN_CPU_TABLE));
|
|
|
|
static int init_p;
|
1999-04-26 20:34:20 +02:00
|
|
|
unsigned int isas = 0; /* 0 = "unspecified" */
|
|
|
|
unsigned int machs = 0; /* 0 = "unspecified" */
|
|
|
|
enum cgen_endian endian = CGEN_ENDIAN_UNKNOWN;
|
|
|
|
va_list ap;
|
1999-04-16 03:35:26 +02:00
|
|
|
|
|
|
|
if (! init_p)
|
|
|
|
{
|
|
|
|
init_tables ();
|
|
|
|
init_p = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
memset (cd, 0, sizeof (*cd));
|
|
|
|
|
1999-04-26 20:34:20 +02:00
|
|
|
va_start (ap, arg_type);
|
|
|
|
while (arg_type != CGEN_CPU_OPEN_END)
|
|
|
|
{
|
|
|
|
switch (arg_type)
|
|
|
|
{
|
|
|
|
case CGEN_CPU_OPEN_ISAS :
|
|
|
|
isas = va_arg (ap, unsigned int);
|
|
|
|
break;
|
|
|
|
case CGEN_CPU_OPEN_MACHS :
|
|
|
|
machs = va_arg (ap, unsigned int);
|
|
|
|
break;
|
|
|
|
case CGEN_CPU_OPEN_BFDMACH :
|
|
|
|
{
|
|
|
|
const char *name = va_arg (ap, const char *);
|
|
|
|
const CGEN_MACH *mach =
|
|
|
|
lookup_mach_via_bfd_name (i960_cgen_mach_table, name);
|
|
|
|
|
|
|
|
machs |= mach->num << 1;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
case CGEN_CPU_OPEN_ENDIAN :
|
|
|
|
endian = va_arg (ap, enum cgen_endian);
|
|
|
|
break;
|
|
|
|
default :
|
|
|
|
fprintf (stderr, "i960_cgen_cpu_open: unsupported argument `%d'\n",
|
|
|
|
arg_type);
|
|
|
|
abort (); /* ??? return NULL? */
|
|
|
|
}
|
|
|
|
arg_type = va_arg (ap, enum cgen_cpu_open_arg);
|
|
|
|
}
|
|
|
|
va_end (ap);
|
|
|
|
|
|
|
|
/* mach unspecified means "all" */
|
|
|
|
if (machs == 0)
|
|
|
|
machs = (1 << MAX_MACHS) - 1;
|
|
|
|
/* base mach is always selected */
|
|
|
|
machs |= 1;
|
|
|
|
/* isa unspecified means "all" */
|
|
|
|
if (isas == 0)
|
|
|
|
isas = (1 << MAX_ISAS) - 1;
|
|
|
|
if (endian == CGEN_ENDIAN_UNKNOWN)
|
|
|
|
{
|
|
|
|
/* ??? If target has only one, could have a default. */
|
|
|
|
fprintf (stderr, "i960_cgen_cpu_open: no endianness specified\n");
|
|
|
|
abort ();
|
|
|
|
}
|
|
|
|
|
|
|
|
cd->isas = isas;
|
|
|
|
cd->machs = machs;
|
1999-04-16 03:35:26 +02:00
|
|
|
cd->endian = endian;
|
|
|
|
/* FIXME: for the sparc case we can determine insn-endianness statically.
|
|
|
|
The worry here is where both data and insn endian can be independently
|
|
|
|
chosen, in which case this function will need another argument.
|
|
|
|
Actually, will want to allow for more arguments in the future anyway. */
|
|
|
|
cd->insn_endian = endian;
|
|
|
|
|
1999-04-26 20:34:20 +02:00
|
|
|
/* Table (re)builder. */
|
|
|
|
cd->rebuild_tables = i960_cgen_rebuild_tables;
|
|
|
|
i960_cgen_rebuild_tables (cd);
|
1999-04-16 03:35:26 +02:00
|
|
|
|
1999-04-26 20:34:20 +02:00
|
|
|
return (CGEN_CPU_DESC) cd;
|
|
|
|
}
|
1999-04-16 03:35:26 +02:00
|
|
|
|
1999-04-26 20:34:20 +02:00
|
|
|
/* Cover fn to i960_cgen_cpu_open to handle the simple case of 1 isa, 1 mach.
|
|
|
|
MACH_NAME is the bfd name of the mach. */
|
1999-04-16 03:35:26 +02:00
|
|
|
|
1999-04-26 20:34:20 +02:00
|
|
|
CGEN_CPU_DESC
|
|
|
|
i960_cgen_cpu_open_1 (mach_name, endian)
|
|
|
|
const char *mach_name;
|
|
|
|
enum cgen_endian endian;
|
|
|
|
{
|
|
|
|
return i960_cgen_cpu_open (CGEN_CPU_OPEN_BFDMACH, mach_name,
|
|
|
|
CGEN_CPU_OPEN_ENDIAN, endian,
|
|
|
|
CGEN_CPU_OPEN_END);
|
1999-04-16 03:35:26 +02:00
|
|
|
}
|
|
|
|
|
1999-04-26 20:34:20 +02:00
|
|
|
/* Close a cpu table.
|
|
|
|
??? This can live in a machine independent file, but there's currently
|
|
|
|
no place to put this file (there's no libcgen). libopcodes is the wrong
|
|
|
|
place as some simulator ports use this but they don't use libopcodes. */
|
1999-04-16 03:35:26 +02:00
|
|
|
|
|
|
|
void
|
|
|
|
i960_cgen_cpu_close (cd)
|
|
|
|
CGEN_CPU_DESC cd;
|
|
|
|
{
|
|
|
|
if (cd->insn_table.init_entries)
|
|
|
|
free ((CGEN_INSN *) cd->insn_table.init_entries);
|
1999-04-26 20:34:20 +02:00
|
|
|
if (cd->hw_table.entries)
|
|
|
|
free ((CGEN_HW_ENTRY *) cd->hw_table.entries);
|
1999-04-16 03:35:26 +02:00
|
|
|
free (cd);
|
|
|
|
}
|
|
|
|
|