x86_64 ABI tests, which currently cause failures
commit1dd3f88f3b847554d3bb8117b5dd5640c4be1ccf
authorPhilip <pipcet@gmail.com>
Sat, 25 Apr 2015 10:49:55 +0000 (25 10:49 +0000)
committerPhilip <pipcet@gmail.com>
Sat, 25 Apr 2015 18:51:26 +0000 (25 18:51 +0000)
tree7760695d6184e8eabf4347b7649fab431c436a88
parent9cbab3630ec4541dd38635774abcfcb88b7a0051
x86_64 ABI tests, which currently cause failures

With the x86_64 Linux ELF ABI, we're currently failing two of these
three tests, which have been disabled for now.  The problem is mixed
structures such as struct { double x; char c; }, which the x86_64 ABI
specifies are to be passed/returned in one integer register and one SSE
register; our current approach, marking the structure as VT_QLONG or
VT_QFLOAT, fails in this case.

(It's possible to fix this by getting rid of VT_QLONG and VT_QFLOAT
entirely as at https://github.com/pipcet/tinycc, but the changes aren't
properly isolated at present. Anyway, there might be a less disruptive
fix.)
tests/abitest.c