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,H8300] Fix ICE due to insv and extzv patterns


Hi,

In H8SX target, there are many regression failures(ICE) due to the
"insv" and "extzv" patterns. Please find attached the patch "h8sx.patch"
that allows only memory operands in the "loc" field of extract pattern
for H8SX target. Similarly register and sub register operands are 
allowed in the "loc" field of extract pattern for other targets. 
Hence, the patch fixes many regressions for H8SX target in C and C++
test suite.

Regression tested on H8300 targets.

2008-10-16  Naveen.H.S  <naveen.hs@kpitcummins.com>
            
	* config/h8300/predicates.md (bit_reg_operand): New predicate.
	* config/h8300/h8300.md (insv): Modify the predicate in "loc" 
	field.
	* config/h8300/h8300.md (insv): Likewise.

Regards,
Naveen.H.S.
KPIT Cummins Infosystems Ltd,
Pune (INDIA)
www.kpitgnutools.com

Attachment: h8sx.patch
Description: h8sx.patch


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