From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28954 invoked by alias); 23 Nov 2001 16:07:38 -0000 Mailing-List: contact cgen-help@sourceware.cygnus.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cgen-owner@sourceware.cygnus.com Received: (qmail 28919 invoked from network); 23 Nov 2001 16:07:35 -0000 Date: Wed, 07 Nov 2001 07:13:00 -0000 From: "Frank Ch. Eigler" To: Alan Lehotsky Cc: cgen@sources.redhat.com Subject: Re: Simulating different models using a single simulator... Message-ID: <20011123110729.B18120@redhat.com> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="H+4ONPRPur6+Ovig" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from apl@alum.mit.edu on Mon, Nov 19, 2001 at 03:04:32PM -0500 X-SW-Source: 2001-q4/txt/msg00020.txt.bz2 --H+4ONPRPur6+Ovig Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-length: 428 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 --H+4ONPRPur6+Ovig Content-Type: application/pgp-signature Content-Disposition: inline Content-length: 232 -----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----- --H+4ONPRPur6+Ovig-- 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-----