Anders Magnusson
2014-06-23 19:58:11 UTC
Hi,
I have just found that pcc will pass some parameters wrong on amd64, but
reading the ABI I have a slight problem to understand how it is supposed
to work :-)
For example, this code:
struct a {
float a,b;
} Y;
x(y);
should likely have the whole struct packed in one SSE register, but I
have quite some difficulty to understand how this should be handled;
merely the use of SSEUP and when it shall be packed. I would appreciate
a hint about this :-)
Specs are at http://www.x86-64.org/documentation/abi.pdf
-- Ragge
I have just found that pcc will pass some parameters wrong on amd64, but
reading the ABI I have a slight problem to understand how it is supposed
to work :-)
For example, this code:
struct a {
float a,b;
} Y;
x(y);
should likely have the whole struct packed in one SSE register, but I
have quite some difficulty to understand how this should be handled;
merely the use of SSEUP and when it shall be packed. I would appreciate
a hint about this :-)
Specs are at http://www.x86-64.org/documentation/abi.pdf
-- Ragge