From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Frank Ch. Eigler" To: Alan Lehotsky Cc: cgen@sources.redhat.com Subject: Re: Simulating different models using a single simulator... Date: Fri, 23 Nov 2001 08:07:00 -0000 Message-ID: <20011123110729.B18120@redhat.com> References: X-SW-Source: 2001-q4/msg00045.html Message-ID: <20011123080700.n1AYyTotlvWy1q0_p77sg5XbXfg5chDxileHaG8t1-s@z> Hi - alehotsky wrote: : [...] : What I'm wondering about is HOW to test the model selected : within the (define-insn ...)? You mean by means other than the MACH attribute assigned to the instruction as a whole? Within the insn semantics? I don't know if it works, but look for "current-mach" in cgen/cpu/sparccom.cpu. (Another way would be to rely on a virtual operand whose getter function identifies the machine.) - FChE -- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE7/nRBVZbdDOm/ZT0RAqvtAJ4gt3aNzQ2b9p9cRMddgpAtBrPSwgCZAag0 xtdd/qGuy8R0ZIwDTCVvwH4= =NNgn -----END PGP SIGNATURE-----