[PATCH]: Fix of gcc HC11 options and reg class definition

Stephane Carrez stcarrez@nerim.fr
Sat Apr 12 15:22:00 GMT 2003


Hi!

I've committed this patch on 3_3 and mainline to fix:

   - the -mnominmax switch was not working (it didn't cleared the flag)
   - the -mnorelax switch is used by the HC11/HC12 specs but not recognized
   - a reg class to represent the soft regs as well as Z reg is necessary for
     some patterns which use 's' and 'z' constraint at the same time.

	Stephane

2003-04-12  Stephane Carrez  <stcarrez@nerim.fr>

	* config/m68hc11/m68hc11.h (TARGET_SWITCHES): Fix -mnominmax option;
	recognize -mnorelax.
	(reg_class): Add Z_OR_S_REGS to represent soft registers with Z
	(REG_CLASS_NAMES): Add its name.
	(REG_CLASS_CONTENTS): Define its content.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: m68hc11.h.diffs
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20030412/7a5868a7/attachment.ksh>


More information about the Gcc-patches mailing list