tinycc-devel
[Top][All Lists]
Advanced

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

[Tinycc-devel] x86_64 ABI: mixed structs


From: Pip Cet
Subject: [Tinycc-devel] x86_64 ABI: mixed structs
Date: Sat, 25 Apr 2015 19:09:10 +0000

I've just committed two tests for the x86_64 ELF ABI which currently
fail, because we don't deal properly with mixed structures along the
lines of

struct {
    double x;
    long y;
};

Such structs should be split and passed in an SSE register plus an
integer register, which the current approach, assigning VT_QFLOAT or
VT_QLONG as structure type, fails to deal with.

I think I've got most of what's needed for a fix here, but the change
involves rewriting a little of the x86_64 code; a less intrusive fix
would be preferred, I think.

I'll try isolating this from my other changes and coming up with a patch.



reply via email to

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