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: RFA: [PATCH,M32C] : Arithmetic, logical and peephole implementations.


Hi,

>> The patch still doesn't apply to the current sources:

The patch (gccpatch_m32c) is applied on the current source of GCC and
will 
be applied successfully.

>> As for the content, I have the following comments:
>> about the peepholes - please use define_peephole2.

As per your suggestions, please find attached the following modified
patch 
"gccpatch_m32c.tar.gz".
Please refer to the following link for the earlier posted patch,
http://gcc.gnu.org/ml/gcc-patches/2006-04/msg00184.html

>> Plus, your peepholes don't cover all the cases that the m32cm 
>> actually allows, like moving disp[a0] to disp[a1] in parts.
We are working on the same and will post a separate patch once it is
completed.

Also, please let us know if the modified patch is as per your
suggestions.

ChangeLog
2006-04-28	Naveen H.S <naveenh@kpitcummins.com>
		Jayant Sonar <jayants@kpitcummins.com>
		Jaydeep Vipradas <jaydeepv@kpitcummins.com>

	* gcc/config/m32c/addsub.md: New instructions for
	add.l, adcf.w, adc.w, sub.l, sbb.w are implemented.
	* gcc/config/m32c/bitops.md: and.w, or.w, xor.w are enhanced for
	32 bit operations.
      * gcc/config/m32c/mov.md: A peephole is added to combine 2 mov.w
into
      a mov.l instruction for storing immediate values of a double
variable.
      * gcc/config/m32c/m32.c.: A function m32c_immd_dbl_mov added to
verify 
      the conditions for the peephole and to create operands in SImode.
	

Regards,
Naveen H.S.
KPIT Cummins InfoSystems Ltd.
Pune, India

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Free download of GNU based tool-chains for Renesas' SH, H8 and M32C
Series.
The following site also offers free technical support to its users. 
Visit http://www.kpitgnutools.com for details. 
Latest versions of KPIT GNU tools were released on April 1, 2006.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Attachment: gccpatch_m32c.tar.gz
Description: gccpatch_m32c.tar.gz


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