|
From: | Andrew Cagney |
Subject: | Re: [Libunwind-devel] PowerPC64 Support finished |
Date: | Tue, 24 Jul 2007 13:44:00 -0400 |
User-agent: | Thunderbird 1.5.0.12 (X11/20070530) |
David Mosberger-Tang wrote:
This needs to work cross-platform; can you assume that a _host's_ <<long double>> is a 128-bit type?Eh? If "long double" doesn't match the host's format, you're screwed anyhow. That's why I'd suggest to declare fpreg_t based on "unw_word_t" or something like that, like we do on ia64, for example. --david
Ah, but i386 and x86-64 do not: libunwind-i386/include/libunwind.h:typedef long double unw_tdep_fpreg_t; libunwind/include/libunwind.h:typedef long double unw_tdep_fpreg_t; libunwind-ppc64/include/libunwind.h:typedef long double unw_tdep_fpreg_t; libunwind-x86_64/include/libunwind.h:typedef long double unw_tdep_fpreg_t; where to the SSE registers fit in to this?
[Prev in Thread] | Current Thread | [Next in Thread] |