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: (subreg:SF (reg:SC)) question - 20020227-1.c failure


> So you have (subreg:SF reg:SC 0) and nregs_multiple = 1, so you have
> single 64bit register holding the whole SC value.  Why do you think you
> can access directly the upper part of it?

Both halves of a 64-bit floating point register are independently
addressable on the PA using loads, stores and copies.  The upper
and lower halves of a general register can be accessed independently
using deposit and extract instructions.

The hppa64 port was done originally under the assumption that an
SCmode value could be held in a single 64-bit floating or general
register.

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


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