This is the mail archive of the gcc@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: machine description porting question.


	I would suggest that you base your port to the new processor on a
more recent version of GCC than gcc-2.95.

	If you need to create a temporary register, use a define_expand
pattern which contains gen_reg_rtx (MODE), where "MODE" is whatever mode
register you need, in your case, matching the mode of the other arguments
to the subtract.  For instance, look at the extendqisi2_no_power pattern
which implements a sign-extend as two arithmetic shifts to propagate the
sign bit.

David


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