X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Fx86-64%2Finsts.lisp;h=15efc7dc901be37a464e10a1e75cfd4c92ec7264;hb=c712f88b26cd7547ee984b90e18c134401335bc3;hp=a23f5f6410ba51239ab75fa78e0cc3e420ad8e34;hpb=c8ef1a3b83ce08f35ee3e481eb334decc837d214;p=sbcl.git diff --git a/src/compiler/x86-64/insts.lisp b/src/compiler/x86-64/insts.lisp index a23f5f6..15efc7d 100644 --- a/src/compiler/x86-64/insts.lisp +++ b/src/compiler/x86-64/insts.lisp @@ -1799,7 +1799,7 @@ (:emitter (aver (or (dword-reg-p dst) (qword-reg-p dst))) (maybe-emit-rex-for-ea segment src dst - :operand-size :qword) + :operand-size (if (dword-reg-p dst) :dword :qword)) (emit-byte segment #b10001101) (emit-ea segment src (reg-tn-encoding dst))))