diff options
author | Quentin Carbonneaux <quentin@c9x.me> | 2017-04-08 21:40:39 -0400 |
---|---|---|
committer | Quentin Carbonneaux <quentin@c9x.me> | 2017-04-08 22:10:01 -0400 |
commit | f4ddc9e54ed589b8d168cd39ebf2a5572b32431b (patch) | |
tree | 2d039c10d5ab9d17c1274fbffd75d793a3e3b1ad /test/vararg1.ssa | |
parent | e4bc35149cc790e3ad034f6643f75c33765b142c (diff) | |
download | roux-f4ddc9e54ed589b8d168cd39ebf2a5572b32431b.tar.gz |
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 }
Diffstat (limited to 'test/vararg1.ssa')
-rw-r--r-- | test/vararg1.ssa | 4 |
1 files changed, 2 insertions, 2 deletions
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 |