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] Split expand_divmod


This patch splits expand_divmod into four functions.  As soon as
my copyright assignment is in place I intend to implement
mod-by-constant optimizations.

I attach four sdiffs for each of the functions, and a context diff
for the whole patch.

2004-01-26  Paolo Bonzini  <bonzini@gnu.org>

	* expmed.c (expand_divmod): Extract tree code-dependent
	parts into...
	(expand_divmod_1, expand_const_div, expand_const_mod):
	... these new functions.

Paolo

Attachment: expconstdiv.sdiff
Description: Text document

Attachment: split-expand-divmod.patch
Description: Text document

Attachment: expconstmod.sdiff
Description: Text document

Attachment: expdivmod.sdiff
Description: Text document

Attachment: expdivmod1.sdiff
Description: Text document


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