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]
Other format: [Raw text]

Re: A few simple DImode improvements


Bernd Schmidt <bernds@codesourcery.com> writes:

> 	* lower-subreg.c (subreg_context): New static bitmap.
> 	(decompose_multiword_subregs): Allocate and free it.
> 	(find_decomposable_subregs): Set a bit in it for a register that
> 	occurs in a subreg that changes mode but not size.
> 	(can_decompose_p): Test it instead of non_decomposable_context.

This looks fine to me.  A longer comment for subreg_context might be
appropriate, to explain why we think it might be necessary.

Ian


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