Re: How do we access higher order bits of a register?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ayonam Ray <ayonam@xxxxxxxxx> writes:

> I wanted to write an RTL that would access the higher order bits of a
> register.  I saw that high:<mode> works only with constants or labels.
>  The subreg:<mode> only takes the lower order bits.  Can't find any
> way to address the higher order bits.  Any help would be appreciated.

If it is a single hard register, use a shift.

Ian



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux