aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMichael Matz <matz@suse.de>2017-05-27 21:23:13 +0200
committerMichael Matz <matz@suse.de>2017-05-27 21:23:13 +0200
commit53c5fc2246270e0242903de0152a9a5d40f3d679 (patch)
tree5d7202bcfe7134cc382b97634dfb8f3c752df783 /tests
parent307b7b183d4ee56e74090b0e525d6a587840e31f (diff)
downloadtinycc-53c5fc2246270e0242903de0152a9a5d40f3d679.tar.gz
tinycc-53c5fc2246270e0242903de0152a9a5d40f3d679.tar.bz2
x86-64: Rewrite linux parameter passing
This fixes two ABI testcases involving large arguments when there are still registers available for later args.
Diffstat (limited to 'tests')
-rw-r--r--tests/abitest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/abitest.c b/tests/abitest.c
index 580e921..62002ef 100644
--- a/tests/abitest.c
+++ b/tests/abitest.c
@@ -637,10 +637,10 @@ int main(int argc, char **argv) {
RUN_TEST(ret_longdouble_test);
RUN_TEST(ret_2float_test);
RUN_TEST(ret_2double_test);
-#if !defined __x86_64__ || defined _WIN32
- /* currently broken on x86_64 linux */
RUN_TEST(ret_8plus2double_test);
RUN_TEST(ret_6plus2longlong_test);
+#if !defined __x86_64__ || defined _WIN32
+ /* currently broken on x86_64 linux */
RUN_TEST(ret_mixed_test);
RUN_TEST(ret_mixed2_test);
#endif