[Xtensa] fix corner case in GAS

Bob Wilson bwilson@tensilica.com
Mon Apr 3 19:11:00 GMT 2006


I've committed this patch to fix an obscure corner case in the Xtensa port of 
GAS.  If a particular opcode can be encoded in multiple instructions formats 
that are the same size but have different numbers of slots, treat the format 
with the fewest slots as the "narrowest" one.  This is not very likely to come 
up in practice but the assembler should handle it anyway.

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.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: narrowest.diff
Type: text/x-patch
Size: 819 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20060403/600b4061/attachment.bin>


More information about the Binutils mailing list