libunwind-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Libunwind-devel] PowerPC64 Support finished


From: Jose Flavio Aguilar Paulino
Subject: Re: [Libunwind-devel] PowerPC64 Support finished
Date: Tue, 24 Jul 2007 18:08:27 -0300

Maybe we should have methods to access the registers by their size.
Now the general registers are used for default machine registers, am I
right? and the fpregs have the double size of general registers?
Maybe you should have each register with its type?
In cell architecture we have Floating point registers 128bit long, fp
registers 64bit long, vector registers 128 bit long... in Power6 maybe
there are decimal registers 128bit long...

regards, 
Jose Flavio Aguilar Paulino

On Tue, 2007-07-24 at 09:45 -0400, Andrew Cagney wrote:
> David Mosberger-Tang wrote:
> > Jose,
> >
> > On 7/12/07, Jose Flavio Aguilar Paulino <address@hidden> wrote:
> >
> >> - I have to create a new kind of registers VREGS, because PowerPC has
> >> vector registers (Special ones 128bits longs only for special
> >> instructions) and the libunwind has General Use Registers and Flating
> >> Pointer Registers. So I had to create a dummy register array in x86.
> >
> > Isn't a vector register the same size as a "long double"?  If so, do
> > you really need to add the *vregs() interface?  I think you could just
> > use the *fpregs() interface instead.
> 
> This needs to work cross-platform; can you assume that a _host's_ <<long 
> double>> is a 128-bit type?
> 
> Andrew
> 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]