From f4ddc9e54ed589b8d168cd39ebf2a5572b32431b Mon Sep 17 00:00:00 2001 From: Quentin Carbonneaux Date: Sat, 8 Apr 2017 21:40:39 -0400 Subject: enable arm64 tests The vararg tests had to be changed because va_list is 32-bit wide on arm. The astute reader will notice that the way we pass va_list values is wrong, we should be using the ':valist' type as defined below instead of 'l'. But eh, that works for now, because of the ABI. type :valist = align 8 { 32 } --- test/vararg1.ssa | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/vararg1.ssa') diff --git a/test/vararg1.ssa b/test/vararg1.ssa index 28b3d0e..393743c 100644 --- a/test/vararg1.ssa +++ b/test/vararg1.ssa @@ -1,7 +1,7 @@ export function d $f(l %x, ...) { @start - %vp =l alloc8 24 + %vp =l alloc8 32 vastart %vp %i =l vaarg %vp %n =d vaarg %vp @@ -11,7 +11,7 @@ function d $f(l %x, ...) { export function w $g(l %fmt, ...) { @start - %vp =l alloc8 24 + %vp =l alloc8 32 vastart %vp %r =w call $vprintf(l %fmt, l %vp) ret %r -- cgit 1.4.1