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]

[PATCH] Use REG_EQUAL with -fvpt


Again I know that GCC is in stage 3 but this patch allows (with the next one) to be able use the mod transformations on targets without a mod instruction like the PowerPC.

OK?

ChangeLog:

	* value-prof.c (insn_divmod_values_to_profile): Look for REG_EQUAL
	on insn and use it if it exists.
	(gen_divmod_fixed_value): Likewise.
	(mod_pow2_value_transform): Likewise.
	(mod_subtract_transform): Likewise.


Patch:

Attachment: regnotes.diff.txt
Description: Text document



Thanks,
Andrew Pinski

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