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: [PATCH] combine fix and allow rs6000 insvsi_internal4


	I have been looking for the right way to fix GCC combiner to
generate this nice optimization on PowerPC.  I have avoided removing the
expand_field_assignment() because I have been worried that other ports
have patterns matching a zero_extract combined with a a subset of the
shifts and masks from the other zero_extract.  GCC really should try the
zero_extract/zero_extract and then try breaking it into shifts and masks
if the more complicated pair cannot be combined.

	Once this pattern works, there are some additional 64-bit patterns
I have ready to add.

Thanks, David


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