From: Taylor R Campbell Date: Sun, 16 Mar 2014 14:49:26 +0000 (+0000) Subject: Assemble (JMP (@PCR FOO)) (LABEL FOO) to zero bits on amd64. X-Git-Tag: release-9.2.0~28 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=f4dda7bf4a6f9f529fd2b295a0f51ee9ed6dc22b;p=mit-scheme.git Assemble (JMP (@PCR FOO)) (LABEL FOO) to zero bits on amd64. --- 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)))