insns.dat: add "MOV reg64,imm32" as a special rule
commit65e823978b27ab23f09892f81f84a4b88609dc0a
authorH. Peter Anvin <hpa@zytor.com>
Wed, 19 Mar 2008 21:42:20 +0000 (19 14:42 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Wed, 19 Mar 2008 21:42:20 +0000 (19 14:42 -0700)
tree2b236fcc6520222acf35ab119f2a57b7b6c301ec
parent6372b9c5fc4a517cb144dff8ea755d1b10118442
insns.dat: add "MOV reg64,imm32" as a special rule

Add "MOV reg64,imm32" as a special rule, to handle the case of
"mov rax,dword <foo>", where <foo> is sign-extended; this is a 7-byte
form, as opposed to "mov eax,<foo>" (5 bytes) and "mov rax,<foo>" (10
bytes).

At some point, the optimizer needs to be able to handle these.
insns.dat