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 2/6] Andes nds32: machine description of nds32 porting (3).


Hi, Joseph,

Sorry for the late revised patch.
We have completed all of it based on your review comments.

On 7/10/13 7:53 AM, Joseph S. Myers wrote:
The nds32_intrinsic.h header, being installed for users to use, should
have the libgcc license exception.


Thanks for the comments.
We added GPLv3+exception in nds32_intrinsic.h header.

You shouldn't need the separate t-mlibs-* files for each default
endianness.  Just list both options in MULTILIB_OPTIONS, then define
MULTILIB_DEFAULTS appropriately depending on the default endianness.


Thanks for the suggestion.
In the config.gcc, we used tm_defines for default endianness
so that we can define proper MULTILIB_DEFAULTS setting in nds32.h.
Now we can have only one t-mlibs used.


A revised patch is provided and here is a summary:

  1. Add GPLv3+exception copyright and license notice in nds32_intrinsic.h.
  2. Using only one t-mlibs is enough.
  3. Remove nds32-isa-v2.h, nds32-isa-v3.h, and nds32-isa-v3m.h.
  4. Add nds32-opts.h included by nds32.opt.


gcc/
2013-07-24  Chung-Ju Wu  <jasonwucj@gmail.com>
	    Shiva Chen  <shiva0217@gmail.com>

	* config/nds32/constants.md: New file.
	* config/nds32/constraints.md: New file.
	* config/nds32/iterators.md: New file.
	* config/nds32/nds32.doubleword.md: New file.
	* config/nds32/nds32.intrinsic.md: New file.
	* config/nds32/nds32_intrinsic.h: New file.
	* config/nds32/nds32-modes.def: New file.
	* config/nds32/nds32.multiple.md: New file.
	* config/nds32/nds32.opt: New file.
	* config/nds32/nds32-opts.h: New file.
	* config/nds32/nds32-protos.h: New file.
	* config/nds32/nds32.peephole2.md: New file.
	* config/nds32/pipelines.md: New file.
	* config/nds32/predicates.md: New file.
	* config/nds32/t-mlibs: New file.


Best regards,
jasonwucj

Attachment: 2-nds32-backend-md-part3.v2.patch
Description: Text document


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