This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
How do we access higher order bits of a register?
- From: Ayonam Ray <ayonam at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Tue, 22 Nov 2011 19:38:50 +0530
- Subject: How do we access higher order bits of a register?
Hi,
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.
Thanks and regards
Ayonam