Added fallback for numbers that can't be encoded on arm64

This commit is contained in:
2025-03-17 13:36:42 +01:00
parent bcb04a4cec
commit 76356b2d38
11 changed files with 138 additions and 90 deletions

View File

@ -28,12 +28,12 @@ func Finalize(a *asm.Assembler, dlls dll.List) ([]byte, []byte) {
switch config.TargetArch {
case config.ARM:
for _, x := range a.Instructions {
c.compileARM(x)
c.ARM(x)
}
case config.X86:
for _, x := range a.Instructions {
c.compileX86(x)
c.X86(x)
}
}