arm64/emit.c: fix move instructions with big immediate values
commit5e0ba156116036ba42d7ce8e361004ea20fb2d6b
authorSudipto Mallick <smlckz@disroot.org>
Sun, 11 Jul 2021 20:38:30 +0000 (11 20:38 +0000)
committerQuentin Carbonneaux <quentin@c9x.me>
Mon, 25 Oct 2021 16:48:35 +0000 (25 18:48 +0200)
treef7320a623e5e6c4b0536e36d4460166d21cd98dd
parent5dbc5dc2c9816821db6e7f1a2903c54a7d549efd
arm64/emit.c: fix move instructions with big immediate values

Fixes #467. It assumes that the stack won't need to grow beyond 2^32 bytes.
If that were to happen, we'd need another or at most two more `movk` instructions.

Signed-off-by: Sudipto Mallick <smlckz@disroot.org>
arm64/emit.c