On Wed, May 14, 2008 at 10:18:56AM +0530, Mohamed Shafi wrote: > Hello all, > > Will it be possible to write a pattern in the md file to support > setting/clearing a bit of a particular register? > The instructions are as follows: > > clrb Rx, bitNo > setb Rx, bitNo > > Could you point me to the back-ends that has support for this kind of > instructions?
The standard name to extract a bit field is 'extv' (for sign extended extraction), and 'extzv' (for zero extended extraction). The standard to set a bit field is 'insv'. There are 18 different ports that support 'extv' or 'extzv' in some fashion, and 20 different ports that support 'insv'. -- Michael Meissner, AMD 90 Central Street, MS 83-29, Boxborough, MA, 01719, USA [EMAIL PROTECTED]