From: Taylor R Campbell Date: Wed, 11 Jul 2012 01:35:10 +0000 (-0400) Subject: Fix syntax of MOVZX instruction in LOAD-CHAR-INTO-REGISTER. X-Git-Tag: release-9.2.0~244^2 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=96f97354487590cf1216642ab53b712a41b0f92e;p=mit-scheme.git Fix syntax of MOVZX instruction in LOAD-CHAR-INTO-REGISTER. Thanks, mejja. We need to check this stuff at compile-time...blahhh. --- diff --git a/src/compiler/machines/x86-64/rules1.scm b/src/compiler/machines/x86-64/rules1.scm index 7f47f4483..651fc8c49 100644 --- a/src/compiler/machines/x86-64/rules1.scm +++ b/src/compiler/machines/x86-64/rules1.scm @@ -459,7 +459,7 @@ USA. (define (load-char-into-register type source target) (let ((target (target-register-reference target))) (cond ((zero? type) - (LAP (MOVZX B ,target ,source))) + (LAP (MOVZX Q ,target B ,source))) (else (LAP ,@(load-non-pointer target type 0) (MOV B ,target ,source))))))