]> gitweb.factorcode.org Git - factor.git/commitdiff
vm/os-linux-arm.64.hpp: Update constants
authorGiftpflanze <gifti@tools.wmflabs.org>
Tue, 31 Jan 2023 00:20:35 +0000 (01:20 +0100)
committerGiftpflanze <gifti@tools.wmflabs.org>
Tue, 31 Jan 2023 00:25:52 +0000 (01:25 +0100)
vm/os-linux-arm.64.hpp

index d2a10d3e840fc00eaace7fb641a72c1c42d64f5a..2d32ec3ddd3ebda0a8c06a46a7510f6968317f86 100644 (file)
@@ -65,15 +65,14 @@ inline static unsigned int fpu_status(unsigned int status) {
 #define FUNCTION_CODE_POINTER(ptr) ptr
 #define FUNCTION_TOC_POINTER(ptr) ptr
 
-// Must match the stack-frame-size constant in
-// bootstrap/assembler/x86.64.unix.factor
-static const unsigned JIT_FRAME_SIZE = 32;
+// Must match the stack-frame-size constant in bootstrap/assembler/arm.64.factor
+static const unsigned JIT_FRAME_SIZE = 64;
 
+// last byte of X9 BR in absolute-call
+static const unsigned char call_opcode = 0x14;
+// last byte of 12 Br in absolute-jump
+static const unsigned char jmp_opcode = 0xd6;
 
-static const unsigned char call_opcode = 0xe8;
-static const unsigned char jmp_opcode = 0xe9;
-
-
-static const unsigned SIGNAL_HANDLER_STACK_FRAME_SIZE = 192;
+static const unsigned SIGNAL_HANDLER_STACK_FRAME_SIZE = 256;
 
 }