aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJames Lyon <jamesly0n@hotmail.com>2013-04-19 15:33:16 +0100
committerJames Lyon <jamesly0n@hotmail.com>2013-04-19 15:33:16 +0100
commit0e17671f7226ffdb78867287d618c8a37ba799fd (patch)
treee8f5965fef4071339c2eb4fa66020ba6e1ff85de /tests
parentb961ba5396ae235b914f8c211af0ffc07e7c6f04 (diff)
downloadtinycc-0e17671f7226ffdb78867287d618c8a37ba799fd.tar.gz
tinycc-0e17671f7226ffdb78867287d618c8a37ba799fd.tar.bz2
Most x86-64 tests now work; only on error in test1-3.
I've had to introduce the XMM1 register to get the calling convention to work properly, unfortunately this has broken a fair bit of code which assumes that only XMM0 is used.
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 8c1358f..aa11cc7 100644
--- a/tests/abitest.c
+++ b/tests/abitest.c
@@ -88,8 +88,8 @@ static int ret_2float_test(void) {
/*
* ret_2double_test:
*
- * On x86-64, a struct with 2 doubles should be packed into a single
- * SSE register (this tests VT_QFLOAT).
+ * On x86-64, a struct with 2 doubles should be passed in two SSE
+ * registers.
*/
typedef struct ret_2double_test_type_s {double x, y;} ret_2double_test_type;
typedef ret_2double_test_type (*ret_2double_test_function_type) (ret_2double_test_type);