public inbox for cgen@sourceware.org
 help / color / mirror / Atom feed
* Simulating different models using a single simulator...
@ 2001-10-20  9:26 Alan Lehotsky
  2001-11-07  7:13 ` Frank Ch. Eigler
  2001-11-19 12:16 ` Alan Lehotsky
  0 siblings, 2 replies; 4+ messages in thread
From: Alan Lehotsky @ 2001-10-20  9:26 UTC (permalink / raw)
  To: cgen

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-11-23 16:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-20  9:26 Simulating different models using a single simulator Alan Lehotsky
2001-11-07  7:13 ` Frank Ch. Eigler
2001-11-23  8:07   ` Frank Ch. Eigler
2001-11-19 12:16 ` Alan Lehotsky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).