Line 1... |
Line 1... |
/* Instruction opcode table for iq2000.
|
/* Instruction opcode table for iq2000.
|
|
|
THIS FILE IS MACHINE GENERATED WITH CGEN.
|
THIS FILE IS MACHINE GENERATED WITH CGEN.
|
|
|
Copyright 1996-2007 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
|
Line 3444... |
Line 3444... |
sizeof (iq2000_cgen_macro_insn_table[0]));
|
sizeof (iq2000_cgen_macro_insn_table[0]));
|
const CGEN_IBASE *ib = & iq2000_cgen_macro_insn_table[0];
|
const CGEN_IBASE *ib = & iq2000_cgen_macro_insn_table[0];
|
const CGEN_OPCODE *oc = & iq2000_cgen_macro_insn_opcode_table[0];
|
const CGEN_OPCODE *oc = & iq2000_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
|
|
if memset is called with a third argument of value zero. */
|
|
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];
|