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]
Other format: [Raw text]

Simulating different models using a single simulator...


It appears that the 

	--model <name>

flag to the simulator allows one to indicate WHICH model of a cpu family is to be simulated.

What I'm wondering about is HOW to test the model selected within the (define-insn ...)?

What I'd like to do is conditionally test the model and execute slightly different code paths in
the simulator.  [There are only 6 instructions out of about 40 that are different between the two
models....

-- Al

-- 
------------------------------------------------------------------------

		    Quality Software Management
		http://home.earthlink.net/~qsmgmt
			apl@alum.mit.edu
			(978)287-0435 Voice
			(978)808-6836 Cell
			(978)287-0436 Fax

	Software Process Improvement and Management Consulting
	     Language Design and Compiler Implementation


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