public inbox for cgen@sourceware.org
 help / color / mirror / Atom feed
From: "Frank Ch. Eigler" <fche@redhat.com>
To: Alan Lehotsky <apl@alum.mit.edu>
Cc: cgen@sources.redhat.com
Subject: Re: Simulating different models using a single simulator...
Date: Wed, 07 Nov 2001 07:13:00 -0000	[thread overview]
Message-ID: <20011123110729.B18120@redhat.com> (raw)
In-Reply-To: <p04330103b81f14502210@[192.168.1.254]>; from apl@alum.mit.edu on Mon, Nov 19, 2001 at 03:04:32PM -0500

[-- Attachment #1: Type: text/plain, Size: 428 bytes --]

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

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

WARNING: multiple messages have this Message-ID
From: "Frank Ch. Eigler" <fche@redhat.com>
To: Alan Lehotsky <apl@alum.mit.edu>
Cc: cgen@sources.redhat.com
Subject: Re: Simulating different models using a single simulator...
Date: Fri, 23 Nov 2001 08:07:00 -0000	[thread overview]
Message-ID: <20011123110729.B18120@redhat.com> (raw)
Message-ID: <20011123080700.n1AYyTotlvWy1q0_p77sg5XbXfg5chDxileHaG8t1-s@z> (raw)
In-Reply-To: <p04330103b81f14502210@[192.168.1.254]>

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-----

  reply	other threads:[~2001-11-23 16:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-20  9:26 Alan Lehotsky
2001-11-07  7:13 ` Frank Ch. Eigler [this message]
2001-11-23  8:07   ` Frank Ch. Eigler
2001-11-19 12:16 ` Alan Lehotsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20011123110729.B18120@redhat.com \
    --to=fche@redhat.com \
    --cc=apl@alum.mit.edu \
    --cc=cgen@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).