This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Reload patch v4


Jeffrey A Law wrote:
>   > Another possibility to clean up the code would be to collect
>   > data that is scattered over many variables into structures.
> Yup.  We've started doing some of that too.  See global_rtl and the
> consolidation of various "reg" things into reg_n_info.  This is
> something we want to continue doing.

Wouldn't this help [compiler] performance a little as well?  I imagine
any improvements would depend on access paterns (ie, separate arrays
accessed with similar indexes or each array being scanned separatly).

Either way, this sort of thing would definity improve readability, which
is much more important in a compiler than raw performance.

Bill
-- 
Leave others their otherness


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]