mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-12 12:16:04 +08:00
* config/tc-xtensa.c (init_op_placement_info_table): Check for formats
of the same length but different numbers of slots.
This commit is contained in:
parent
357d3800d1
commit
a02728c81d
@ -1,3 +1,8 @@
|
||||
2006-04-03 Sterling Augustine <sterling@tensilica.com>
|
||||
|
||||
* config/tc-xtensa.c (init_op_placement_info_table): Check for formats
|
||||
of the same length but different numbers of slots.
|
||||
|
||||
2006-03-30 Andreas Schwab <schwab@suse.de>
|
||||
|
||||
* configure.in: Fix help string for --enable-targets option.
|
||||
|
@ -10852,8 +10852,11 @@ init_op_placement_info_table (void)
|
||||
opi->issuef++;
|
||||
set_bit (fmt, opi->formats);
|
||||
set_bit (slot, opi->slots[fmt]);
|
||||
/* opi->slot_count[fmt]++; */
|
||||
if (fmt_length < opi->narrowest_size)
|
||||
if (fmt_length < opi->narrowest_size
|
||||
|| (fmt_length == opi->narrowest_size
|
||||
&& (xtensa_format_num_slots (isa, fmt)
|
||||
< xtensa_format_num_slots (isa,
|
||||
opi->narrowest))))
|
||||
{
|
||||
opi->narrowest = fmt;
|
||||
opi->narrowest_size = fmt_length;
|
||||
|
Loading…
Reference in New Issue
Block a user