This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Need help restricting a shift instruction's shift count operand to a specific general purpose register


On Sun, Oct 06, 2002 at 12:04:13AM -0700, Mike Laman wrote:
> 1) as an immediate (constant) value or 2) as a register value that
> can be in any of the general purpose registers EXCEPT register 0.
[...]
> Please point me at some examples of similar instruction restrictions in "md"
> files!

The rs6000 BASE_REGS register class; constraint letter 'b'.
Register 0 is not valid in some arithmetic instructions.


r~


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