Funny disassembly with capital D
Describe the bug
Cmucl prints out the movsd (string) instruction in a funny way.
To Reproduce
Steps to reproduce the behavior:
- Compile
(defun foo (a b &rest c)
(list a b c))
- Look at the disassembly.
- You'll see
1ef: push esi
1f0: lea edi, [esp+#x8]
1f4: mov esi, ebp
1f6: sub esi, ebx
1f8: shr ecx, #x2
1fb: repne
1fc: movsD
Expected behavior
The instruction should be movsd
. (It's super confusing that movsd can mean move a doubleword from one address to another, or it can mean move a scalar double precision value.)
Desktop (please complete the following information):
- OS: Linux and probably all x86 oses
- Version: 21e and probably much earlier