From f4dda7bf4a6f9f529fd2b295a0f51ee9ed6dc22b Mon Sep 17 00:00:00 2001 From: Taylor R Campbell Date: Sun, 16 Mar 2014 14:49:26 +0000 Subject: [PATCH] Assemble (JMP (@PCR FOO)) (LABEL FOO) to zero bits on amd64. --- src/compiler/machines/x86-64/instr1.scm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/compiler/machines/x86-64/instr1.scm b/src/compiler/machines/x86-64/instr1.scm index 72c069507..4fd2969f7 100644 --- a/src/compiler/machines/x86-64/instr1.scm +++ b/src/compiler/machines/x86-64/instr1.scm @@ -566,6 +566,8 @@ USA. (define-instruction JMP (((@PCR (? dest))) (VARIABLE-WIDTH (disp `(- ,dest (+ *PC* 2))) + ((0 0) + (BITS)) ((#x-80 #x7f) (BITS (8 #xeb) (8 disp SIGNED))) @@ -575,6 +577,8 @@ USA. (((@PCRO (? dest) (? offset))) (VARIABLE-WIDTH (disp `(- (+ ,dest ,offset) (+ *PC* 2))) + ((0 0) + (BITS)) ((#x-80 #x7f) (BITS (8 #xeb) (8 disp SIGNED))) -- 2.25.1