[parisc-linux] Re: uaccess ya patch

John David Anglin dave@hiauly1.hia.nrc.ca
Tue, 26 Nov 2002 12:31:35 -0500 (EST)


> > It was much more to mentionned that in asm extension of gcc for hppa it exists
> > also a way to address the second word (what I tried to find for a long) of
> > a long long via the 'R' prefix as here in '%R2' [is it what you want to say
> > 'will cause bad things'?]
> 
> 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.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)