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,SH] Add SH2A new instructions 5/6


Hi,

I sincerely thank you for the valuable suggestions regarding the usage
of 
constraints instead of predicates. We had implemented these instructions

before the constraints.md file was separated from sh.h. So predicates
were 
used to implement these bit instructions.

Please find attached the modified patch "sh2a5.patch" as per the
suggestions.

ChangeLog
2007-10-25	Naveen.H.S naveen.hs@kpitcummins.com
            
	* config/sh/constraints.md : Pso, Psz : New constraints.
	* config/sh/sh.c (print_operand): "V" prints the position of a
single 
	bit set.
	"W" prints the position of a single bit cleared.
	* config/sh/sh.md : andsi3_bclr, iorsi3_bset : New.

Regards,
Naveen.H.S.
KPIT Cummins Infosystems Ltd,
Pune (INDIA) 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~	
Free download of GNU based tool-chains for Renesas' SH, H8, R8C, M16C	
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 October 1, 2007.	
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~	

Attachment: sh2a5.patch
Description: sh2a5.patch


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