Regenerate.
This commit is contained in:
parent
6f12865c0e
commit
1620f33de1
14 changed files with 69 additions and 19 deletions
|
@ -1,5 +1,19 @@
|
||||||
2007-03-08 Alan Modra <amodra@bigpond.net.au>
|
2007-03-08 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
|
* fr30-asm.c: Regenerate.
|
||||||
|
* frv-asm.c: Regenerate.
|
||||||
|
* ip2k-asm.c: Regenerate.
|
||||||
|
* iq2000-asm.c: Regenerate.
|
||||||
|
* m32c-asm.c: Regenerate.
|
||||||
|
* m32r-asm.c: Regenerate.
|
||||||
|
* m32r-dis.c: Regenerate.
|
||||||
|
* mt-asm.c: Regenerate.
|
||||||
|
* mt-ibld.c: Regenerate.
|
||||||
|
* mt-opc.c: Regenerate.
|
||||||
|
* openrisc-asm.c: Regenerate.
|
||||||
|
* xc16x-asm.c: Regenerate.
|
||||||
|
* xstormy16-asm.c: Regenerate.
|
||||||
|
|
||||||
* Makefile.am: Run "make dep-am".
|
* Makefile.am: Run "make dep-am".
|
||||||
* Makefile.in: Regenerate.
|
* Makefile.in: Regenerate.
|
||||||
* po/POTFILES.in: Regenerate.
|
* po/POTFILES.in: Regenerate.
|
||||||
|
|
|
@ -325,6 +325,9 @@ fr30_cgen_init_asm (CGEN_CPU_DESC cd)
|
||||||
fr30_cgen_init_ibld_table (cd);
|
fr30_cgen_init_ibld_table (cd);
|
||||||
cd->parse_handlers = & fr30_cgen_parse_handlers[0];
|
cd->parse_handlers = & fr30_cgen_parse_handlers[0];
|
||||||
cd->parse_operand = fr30_cgen_parse_operand;
|
cd->parse_operand = fr30_cgen_parse_operand;
|
||||||
|
#ifdef CGEN_ASM_INIT_HOOK
|
||||||
|
CGEN_ASM_INIT_HOOK
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1278,6 +1278,9 @@ frv_cgen_init_asm (CGEN_CPU_DESC cd)
|
||||||
frv_cgen_init_ibld_table (cd);
|
frv_cgen_init_ibld_table (cd);
|
||||||
cd->parse_handlers = & frv_cgen_parse_handlers[0];
|
cd->parse_handlers = & frv_cgen_parse_handlers[0];
|
||||||
cd->parse_operand = frv_cgen_parse_operand;
|
cd->parse_operand = frv_cgen_parse_operand;
|
||||||
|
#ifdef CGEN_ASM_INIT_HOOK
|
||||||
|
CGEN_ASM_INIT_HOOK
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -526,6 +526,9 @@ ip2k_cgen_init_asm (CGEN_CPU_DESC cd)
|
||||||
ip2k_cgen_init_ibld_table (cd);
|
ip2k_cgen_init_ibld_table (cd);
|
||||||
cd->parse_handlers = & ip2k_cgen_parse_handlers[0];
|
cd->parse_handlers = & ip2k_cgen_parse_handlers[0];
|
||||||
cd->parse_operand = ip2k_cgen_parse_operand;
|
cd->parse_operand = ip2k_cgen_parse_operand;
|
||||||
|
#ifdef CGEN_ASM_INIT_HOOK
|
||||||
|
CGEN_ASM_INIT_HOOK
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -474,6 +474,9 @@ iq2000_cgen_init_asm (CGEN_CPU_DESC cd)
|
||||||
iq2000_cgen_init_ibld_table (cd);
|
iq2000_cgen_init_ibld_table (cd);
|
||||||
cd->parse_handlers = & iq2000_cgen_parse_handlers[0];
|
cd->parse_handlers = & iq2000_cgen_parse_handlers[0];
|
||||||
cd->parse_operand = iq2000_cgen_parse_operand;
|
cd->parse_operand = iq2000_cgen_parse_operand;
|
||||||
|
#ifdef CGEN_ASM_INIT_HOOK
|
||||||
|
CGEN_ASM_INIT_HOOK
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1598,6 +1598,9 @@ m32c_cgen_init_asm (CGEN_CPU_DESC cd)
|
||||||
m32c_cgen_init_ibld_table (cd);
|
m32c_cgen_init_ibld_table (cd);
|
||||||
cd->parse_handlers = & m32c_cgen_parse_handlers[0];
|
cd->parse_handlers = & m32c_cgen_parse_handlers[0];
|
||||||
cd->parse_operand = m32c_cgen_parse_operand;
|
cd->parse_operand = m32c_cgen_parse_operand;
|
||||||
|
#ifdef CGEN_ASM_INIT_HOOK
|
||||||
|
CGEN_ASM_INIT_HOOK
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -88,7 +88,7 @@ parse_hi16 (CGEN_CPU_DESC cd,
|
||||||
return MISSING_CLOSING_PARENTHESIS;
|
return MISSING_CLOSING_PARENTHESIS;
|
||||||
++*strp;
|
++*strp;
|
||||||
if (errmsg == NULL
|
if (errmsg == NULL
|
||||||
&& result_type == CGEN_PARSE_OPERAND_RESULT_NUMBER)
|
&& result_type == CGEN_PARSE_OPERAND_RESULT_NUMBER)
|
||||||
{
|
{
|
||||||
value >>= 16;
|
value >>= 16;
|
||||||
value &= 0xffff;
|
value &= 0xffff;
|
||||||
|
@ -100,17 +100,17 @@ parse_hi16 (CGEN_CPU_DESC cd,
|
||||||
{
|
{
|
||||||
*strp += 6;
|
*strp += 6;
|
||||||
errmsg = cgen_parse_address (cd, strp, opindex, BFD_RELOC_M32R_HI16_SLO,
|
errmsg = cgen_parse_address (cd, strp, opindex, BFD_RELOC_M32R_HI16_SLO,
|
||||||
& result_type, & value);
|
& result_type, & value);
|
||||||
if (**strp != ')')
|
if (**strp != ')')
|
||||||
return MISSING_CLOSING_PARENTHESIS;
|
return MISSING_CLOSING_PARENTHESIS;
|
||||||
++*strp;
|
++*strp;
|
||||||
if (errmsg == NULL
|
if (errmsg == NULL
|
||||||
&& result_type == CGEN_PARSE_OPERAND_RESULT_NUMBER)
|
&& result_type == CGEN_PARSE_OPERAND_RESULT_NUMBER)
|
||||||
{
|
{
|
||||||
value += 0x8000;
|
value += 0x8000;
|
||||||
value >>= 16;
|
value >>= 16;
|
||||||
value &= 0xffff;
|
value &= 0xffff;
|
||||||
}
|
}
|
||||||
*valuep = value;
|
*valuep = value;
|
||||||
return errmsg;
|
return errmsg;
|
||||||
}
|
}
|
||||||
|
@ -145,7 +145,7 @@ parse_slo16 (CGEN_CPU_DESC cd,
|
||||||
++*strp;
|
++*strp;
|
||||||
if (errmsg == NULL
|
if (errmsg == NULL
|
||||||
&& result_type == CGEN_PARSE_OPERAND_RESULT_NUMBER)
|
&& result_type == CGEN_PARSE_OPERAND_RESULT_NUMBER)
|
||||||
value = ((value & 0xffff) ^ 0x8000) - 0x8000;
|
value = ((value & 0xffff) ^ 0x8000) - 0x8000;
|
||||||
*valuep = value;
|
*valuep = value;
|
||||||
return errmsg;
|
return errmsg;
|
||||||
}
|
}
|
||||||
|
@ -343,6 +343,9 @@ m32r_cgen_init_asm (CGEN_CPU_DESC cd)
|
||||||
m32r_cgen_init_ibld_table (cd);
|
m32r_cgen_init_ibld_table (cd);
|
||||||
cd->parse_handlers = & m32r_cgen_parse_handlers[0];
|
cd->parse_handlers = & m32r_cgen_parse_handlers[0];
|
||||||
cd->parse_operand = m32r_cgen_parse_operand;
|
cd->parse_operand = m32r_cgen_parse_operand;
|
||||||
|
#ifdef CGEN_ASM_INIT_HOOK
|
||||||
|
CGEN_ASM_INIT_HOOK
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -65,7 +65,7 @@ static int read_insn
|
||||||
do \
|
do \
|
||||||
{ \
|
{ \
|
||||||
if (CGEN_BOOL_ATTR ((attrs), CGEN_OPERAND_HASH_PREFIX)) \
|
if (CGEN_BOOL_ATTR ((attrs), CGEN_OPERAND_HASH_PREFIX)) \
|
||||||
(*info->fprintf_func) (info->stream, "#"); \
|
(*info->fprintf_func) (info->stream, "#"); \
|
||||||
} \
|
} \
|
||||||
while (0)
|
while (0)
|
||||||
|
|
||||||
|
@ -102,7 +102,7 @@ my_print_insn (CGEN_CPU_DESC cd,
|
||||||
/* Read the base part of the insn. */
|
/* Read the base part of the insn. */
|
||||||
|
|
||||||
status = (*info->read_memory_func) (pc - ((!big_p && (pc & 3) != 0) ? 2 : 0),
|
status = (*info->read_memory_func) (pc - ((!big_p && (pc & 3) != 0) ? 2 : 0),
|
||||||
buf, buflen, info);
|
buf, buflen, info);
|
||||||
if (status != 0)
|
if (status != 0)
|
||||||
{
|
{
|
||||||
(*info->memory_error_func) (status, pc, info);
|
(*info->memory_error_func) (status, pc, info);
|
||||||
|
|
|
@ -610,6 +610,9 @@ mt_cgen_init_asm (CGEN_CPU_DESC cd)
|
||||||
mt_cgen_init_ibld_table (cd);
|
mt_cgen_init_ibld_table (cd);
|
||||||
cd->parse_handlers = & mt_cgen_parse_handlers[0];
|
cd->parse_handlers = & mt_cgen_parse_handlers[0];
|
||||||
cd->parse_operand = mt_cgen_parse_operand;
|
cd->parse_operand = mt_cgen_parse_operand;
|
||||||
|
#ifdef CGEN_ASM_INIT_HOOK
|
||||||
|
CGEN_ASM_INIT_HOOK
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
THIS FILE IS MACHINE GENERATED WITH CGEN: Cpu tools GENerator.
|
THIS FILE IS MACHINE GENERATED WITH CGEN: Cpu tools GENerator.
|
||||||
- the resultant file is machine generated, cgen-ibld.in isn't
|
- the resultant file is machine generated, cgen-ibld.in isn't
|
||||||
|
|
||||||
Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2005
|
Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2005, 2006
|
||||||
Free Software Foundation, Inc.
|
Free Software Foundation, Inc.
|
||||||
|
|
||||||
This file is part of the GNU Binutils and GDB, the GNU debugger.
|
This file is part of the GNU Binutils and GDB, the GNU debugger.
|
||||||
|
@ -168,13 +168,21 @@ insert_normal (CGEN_CPU_DESC cd,
|
||||||
else if (! CGEN_BOOL_ATTR (attrs, CGEN_IFLD_SIGNED))
|
else if (! CGEN_BOOL_ATTR (attrs, CGEN_IFLD_SIGNED))
|
||||||
{
|
{
|
||||||
unsigned long maxval = mask;
|
unsigned long maxval = mask;
|
||||||
|
unsigned long val = (unsigned long) value;
|
||||||
if ((unsigned long) value > maxval)
|
|
||||||
|
/* For hosts with a word size > 32 check to see if value has been sign
|
||||||
|
extended beyond 32 bits. If so then ignore these higher sign bits
|
||||||
|
as the user is attempting to store a 32-bit signed value into an
|
||||||
|
unsigned 32-bit field which is allowed. */
|
||||||
|
if (sizeof (unsigned long) > 4 && ((value >> 32) == -1))
|
||||||
|
val &= 0xFFFFFFFF;
|
||||||
|
|
||||||
|
if (val > maxval)
|
||||||
{
|
{
|
||||||
/* xgettext:c-format */
|
/* xgettext:c-format */
|
||||||
sprintf (errbuf,
|
sprintf (errbuf,
|
||||||
_("operand out of range (%lu not between 0 and %lu)"),
|
_("operand out of range (0x%lx not between 0 and 0x%lx)"),
|
||||||
value, maxval);
|
val, maxval);
|
||||||
return errbuf;
|
return errbuf;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -440,9 +448,8 @@ extract_normal (CGEN_CPU_DESC cd,
|
||||||
word_length may be too big. */
|
word_length may be too big. */
|
||||||
if (cd->min_insn_bitsize < cd->base_insn_bitsize)
|
if (cd->min_insn_bitsize < cd->base_insn_bitsize)
|
||||||
{
|
{
|
||||||
if (word_offset == 0
|
if (word_offset + word_length > total_length)
|
||||||
&& word_length > total_length)
|
word_length = total_length - word_offset;
|
||||||
word_length = total_length;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Does the value reside in INSN_VALUE, and at the right alignment? */
|
/* Does the value reside in INSN_VALUE, and at the right alignment? */
|
||||||
|
|
|
@ -36,8 +36,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
/* Special check to ensure that instruction exists for given machine. */
|
/* Special check to ensure that instruction exists for given machine. */
|
||||||
|
|
||||||
int
|
int
|
||||||
mt_cgen_insn_supported (CGEN_CPU_DESC cd,
|
mt_cgen_insn_supported (CGEN_CPU_DESC cd, const CGEN_INSN *insn)
|
||||||
const CGEN_INSN *insn)
|
|
||||||
{
|
{
|
||||||
int machs = CGEN_INSN_ATTR_VALUE (insn, CGEN_INSN_MACH);
|
int machs = CGEN_INSN_ATTR_VALUE (insn, CGEN_INSN_MACH);
|
||||||
|
|
||||||
|
|
|
@ -256,6 +256,9 @@ openrisc_cgen_init_asm (CGEN_CPU_DESC cd)
|
||||||
openrisc_cgen_init_ibld_table (cd);
|
openrisc_cgen_init_ibld_table (cd);
|
||||||
cd->parse_handlers = & openrisc_cgen_parse_handlers[0];
|
cd->parse_handlers = & openrisc_cgen_parse_handlers[0];
|
||||||
cd->parse_operand = openrisc_cgen_parse_operand;
|
cd->parse_operand = openrisc_cgen_parse_operand;
|
||||||
|
#ifdef CGEN_ASM_INIT_HOOK
|
||||||
|
CGEN_ASM_INIT_HOOK
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -391,6 +391,9 @@ xc16x_cgen_init_asm (CGEN_CPU_DESC cd)
|
||||||
xc16x_cgen_init_ibld_table (cd);
|
xc16x_cgen_init_ibld_table (cd);
|
||||||
cd->parse_handlers = & xc16x_cgen_parse_handlers[0];
|
cd->parse_handlers = & xc16x_cgen_parse_handlers[0];
|
||||||
cd->parse_operand = xc16x_cgen_parse_operand;
|
cd->parse_operand = xc16x_cgen_parse_operand;
|
||||||
|
#ifdef CGEN_ASM_INIT_HOOK
|
||||||
|
CGEN_ASM_INIT_HOOK
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -291,6 +291,9 @@ xstormy16_cgen_init_asm (CGEN_CPU_DESC cd)
|
||||||
xstormy16_cgen_init_ibld_table (cd);
|
xstormy16_cgen_init_ibld_table (cd);
|
||||||
cd->parse_handlers = & xstormy16_cgen_parse_handlers[0];
|
cd->parse_handlers = & xstormy16_cgen_parse_handlers[0];
|
||||||
cd->parse_operand = xstormy16_cgen_parse_operand;
|
cd->parse_operand = xstormy16_cgen_parse_operand;
|
||||||
|
#ifdef CGEN_ASM_INIT_HOOK
|
||||||
|
CGEN_ASM_INIT_HOOK
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue