X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=opcodes%2Fiq2000-desc.c;h=6f66ec0791e8ed259b7843e3e170504d9ac6d4f0;hb=935676c92feb5f35e4634ef58c20ffdfd0979b07;hp=f6311925f9e0393eb486e865f8ce329832b1c8e1;hpb=05994f45db64e255bb77913bad21859e49b461cb;p=deliverable%2Fbinutils-gdb.git diff --git a/opcodes/iq2000-desc.c b/opcodes/iq2000-desc.c index f6311925f9..6f66ec0791 100644 --- a/opcodes/iq2000-desc.c +++ b/opcodes/iq2000-desc.c @@ -1,8 +1,9 @@ +/* DO NOT EDIT! -*- buffer-read-only: t -*- vi:set ro: */ /* CPU data for iq2000. THIS FILE IS MACHINE GENERATED WITH CGEN. -Copyright 1996-2010 Free Software Foundation, Inc. +Copyright (C) 1996-2017 Free Software Foundation, Inc. This file is part of the GNU Binutils and/or GDB, the GNU debugger. @@ -212,11 +213,7 @@ CGEN_KEYWORD iq2000_cgen_opval_gr_names = /* The hardware table. */ -#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 const CGEN_HW_ENTRY iq2000_cgen_hw_table[] = { @@ -235,11 +232,7 @@ const CGEN_HW_ENTRY iq2000_cgen_hw_table[] = /* The instruction field table. */ -#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 const CGEN_IFLD iq2000_cgen_ifld_table[] = { @@ -317,146 +310,138 @@ const CGEN_MAYBE_MULTI_IFLD IQ2000_F_RT_RS_MULTI_IFIELD [] = /* The operand table. */ -#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) IQ2000_OPERAND_##op -#else -#define OPERAND(op) IQ2000_OPERAND_/**/op -#endif const CGEN_OPERAND iq2000_cgen_operand_table[] = { /* pc: program counter */ { "pc", IQ2000_OPERAND_PC, HW_H_PC, 0, 0, - { 0, { (const PTR) &iq2000_cgen_ifld_table[IQ2000_F_NIL] } }, + { 0, { (const PTR) &iq2000_cgen_ifld_table[IQ2000_F_NIL] } }, { 0|A(SEM_ONLY), { { { (1<num; + if (mach != NULL) + machs |= 1 << mach->num; break; } case CGEN_CPU_OPEN_ENDIAN : @@ -2147,7 +2125,7 @@ iq2000_cgen_cpu_open (enum cgen_cpu_open_arg arg_type, ...) /* Default to not allowing signed overflow. */ cd->signed_overflow_ok_p = 0; - + return (CGEN_CPU_DESC) cd; } @@ -2187,7 +2165,7 @@ iq2000_cgen_cpu_close (CGEN_CPU_DESC cd) for (i = 0; i < cd->insn_table.num_init_entries; ++i, ++insns) if (CGEN_INSN_RX (insns)) regfree (CGEN_INSN_RX (insns)); - } + } if (cd->macro_insn_table.init_entries) free ((CGEN_INSN *) cd->macro_insn_table.init_entries);