[parisc-linux] Re: uaccess ya patch

Randolph Chung Randolph Chung <randolph@tausq.org>
Tue, 26 Nov 2002 10:44:55 -0800


> > maybe you are thinking of floating point registers? %r2 is general
> > register number 2, i.e. the return pointer.  it is not what you want to
> > store into memory.
> 
> The 'R' operand code selects the second half of a register pair.  So
> '%R2' refers to the second half of operand 2 in the asm.  Look at
> print_operand in pa.c to see the available codes for asms.

oh, i see, somehow i thought %R2 == %r2...

i guess if a 64-bit number is always passed in a way that we can access
the first half as %1 and the second half as %1R then we can do away with
the masking.... 

randolph
-- 
Randolph Chung
Debian GNU/Linux Developer, hppa/ia64 ports
http://www.tausq.org/