This is the mail archive of the
cgen@sources.redhat.com
mailing list for the CGEN project.
Re: how to test which register is being used?
- To: "J. Johnston" <jjohnstn at cygnus dot com>
- Subject: Re: how to test which register is being used?
- From: Ben Elliston <bje at redhat dot com>
- Date: Thu, 7 Sep 2000 04:15:15 +1100 (EST)
- Cc: matthew green <mrg at cygnus dot com>, cgen at sources dot redhat dot com
- References: <301.968181140@cygnus.com><39B54C02.4A0E7532@cygnus.com>
> You should be able to access using the ifield operator to get the
> value in the field that the operand is based on.
Given that ifield accesses the bit field, exactly as it appears in the
instruction encoding, wouldn't (index-of ..) be preferrable? Slightly
confused,
Ben