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: REG_CLASS_CONTENTS, >32 registers and 64-bit hosts


On Mon, Jul 08, 2002 at 08:27:23PM +0200, Marek Michalkiewicz wrote:
> STACK_POINTER_REGNUM is 32 (so it's bit 0 of the second value in the
> REG_CLASS_CONTENTS initializer), and without the small patch below,
> test_hard_reg_class (STACK_REG, X) returns false when it should
> return true (because X is the stack pointer register), resulting
> in assembler errors.

How odd.  HOST_WIDE_INT should be "unsigned long" and therefore
64-bits, which should work find with the REG_CLASS_CONTENTS.

Do you have a specific example?  I could try it on one of my alphas.


r~


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