Le vendredi 26 avril 2013 21:27:25, James Lyon a écrit : > Hi, > > I don't have an ARM test system available but it is a new test... > > The idea of abitest is to check compatibility of TCC calling convention > with GCC, but I also made rather a lot of changes since compatibility > with GCC on x86 an x86-64 had a lot of problems in corner cases.
IMHO we should try to have the same behavior as gcc and clang. When they differ we might decide to follow either one or the other, except if there is a standard stating what is the right behavior. > I think > that ARM should use a hidden pointer to return the data in > ret_2float_test, but reading the ARM EABI spec a structure with 2 floats > in might count as a "64-bit containerized vector" and thus would be > returned in r0 and r1. In that case I think the thing to do is modify > gfunc_sret to detect this. Indeed, such a structure qualify as 64-bit containerized vector. I handled that case when I added support for the hard float calling convention. You can see the is_float_hgen_aggr function that test this. > > James Best regards, Thomas
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Tinycc-devel mailing list Tinycc-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tinycc-devel