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 }
This commit is contained in:
Quentin Carbonneaux 2017-04-08 21:40:39 -04:00
parent e4bc35149c
commit f4ddc9e54e
4 changed files with 21 additions and 17 deletions

View file

@ -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