[Xtensa Patch] More performance enhancements
Sterling Augustine
sterling@tensilica.com
Sat Aug 22 11:07:00 GMT 2009
This patch is the last in a series of performance improvements to Xtensa
Gas. It continues the theme of only doing the necessary work when
copying and using vinsns instead of the worst case.
This particular replaces most uses of MAX_SLOTS--the most vliw-slots a
configuration could possibly support--with a calculated value for a
particular configuration which is typically much lower.
Sterling
9-08-21 Sterling Augustine <sterling@jaw.hq.tensilica.com>
* config/tc-xtensa.c (config_max_slots): New global variable.
(md_begin): Set config_max_slots.
(total_frag_text_expansion): Use config_max_slots instead of
MAX_SLOTS.
(xg_init_vinsn): Likewise.
(xg_clear_vinsn): Likewise.
(xg_free_vinsn): Likewise.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: max_slots_patch
URL: <https://sourceware.org/pipermail/binutils/attachments/20090822/e0e4adf9/attachment.ksh>
More information about the Binutils
mailing list