[llvm-dev] [Sparc] vararg double issue on 32 bit Sparc processors
Joerg Sonnenberger via llvm-dev
llvm-dev at lists.llvm.org
Wed Oct 19 14:53:05 PDT 2016
On Wed, Oct 19, 2016 at 09:27:10PM +0000, Chris.Dewhurst via llvm-dev wrote:
> I've discovered a problem on Sparc processors (specifically, LEON, but
> I suspect but can't verify that it also happens on all Sparc processors).
>
> The problem is, or appears to be with using double values in Sparc (32 bit).
>
> Specifically, double values are not being loaded into registers correctly
> within a function using va_args. Only half the value is loaded (i.e. 32,
> rather than 64 bits of the value).
Are you using variadic functions on the LLVM or the Clang side? The
former is essentially best effort and many things simply are not
supported.
Joerg
More information about the llvm-dev
mailing list