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]

FW: NORMAL MODE PATCH for Gcc 3.3


Hi Kazu,

Thank you for pointing out the error.

+ #define MASK_NORMAL_MODE 	0x00000500

This should be 0x00000200. I have changed it to 0x00000200.

Please find the updated patch attached with this mail and refer to the
change log entries given below.

=============
Changelog:
2002-11-07  Vijay L. Khuspe  <vijayk1@kpit.com>
        *config/h8300/h8300.c (h8300_init_once):Allow -mn switch only if -mh
or -ms present.
        (h8300_tiny_constant_address_p):Extended support for normal mode.
        (h8300_eightbit_constant_address_p):Extended support for normal
mode.
	  *config/h8300/h8300.h (TARGET_NORMAL_MODE):New.
        (POINTER_SIZE): Added 16 bit pointer for normal mode.
        (Pmode):Kept HI for normal mode.
        (SIZE_TYPE):Kept unsigned int for normal mode.
        (PTRDIFF_TYPE):Kept int for normal mode.
        (ASM_WORD_OP):Kept word for normal mode.
        *config/h8300/h8300.md (tablejump_normal_mode):New.
        (indirect_jump_normal_mode):New.
        *config/h8300/t-h8300 (MULTILIB_OPTIONS):Passing normal mode option
to directory.       	  (MULTILIB_DIRNAMES):Create target dependent directory
'normal'.
        (MULTILIB_EXCEPTIONS):Extended support for normal mode.
        *doc/invoke.texi (gccoptlist): Description of switch for normal
mode.
=============

-----Original Message-----
From: Kazu Hirata [mailto:kazu@cs.umass.edu]
Sent: Friday, November 15, 2002 7:23 PM
To: vijayk1@kpit.com
Cc: gcc-patches@gcc.gnu.org
Subject: Re: NORMAL MODE PATCH for Gcc 3.3


Hi Vijay,

Thanks for the update.

> "offset -= 2" is necessary to access the parameters on stack.

Now I think that is the case.  Every stack slot is 4 byte long except
the program counter.

> + #define MASK_NORMAL_MODE 	0x00000500

Why do you want to use a value that is not a power of 2?  Somehow do
you want to combine MASK_SLOWBYTE and MASK_RELAX?

If you could send me a patch as an attachment, that would be greatly
appreciated.  I am having a problem with wrapped lines in the patch.

Kazu Hirata

Attachment: Normal.diff
Description: Binary data


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