This is the mail archive of the cgen@sources.redhat.com mailing list for the CGEN project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: how to test which register is being used?


 > 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]