From 96f97354487590cf1216642ab53b712a41b0f92e Mon Sep 17 00:00:00 2001 From: Taylor R Campbell Date: Tue, 10 Jul 2012 21:35:10 -0400 Subject: [PATCH] Fix syntax of MOVZX instruction in LOAD-CHAR-INTO-REGISTER. Thanks, mejja. We need to check this stuff at compile-time...blahhh. --- src/compiler/machines/x86-64/rules1.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)))))) -- 2.25.1