This is the mail archive of the cgen@sources.redhat.com mailing list for the CGEN project.


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

Re: [Sim] Large patch to sim/common/genmloop.sh


   Except for minimizing the amount of changes, is there any reason to
   keep the cpu prefix?

Yes.  In some contexts (namely modelling), it makes sense to refer to @cpu@:

	#define WANT_CPU_@CPU@
	[...]
	@cpu@_model_insn_before (current_cpu, first_p);
	[etc].

But correct me if I am mistaken.

Ben


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