x86-64-asm: Fix mov im64,rax encoding
commit3e4c296ebab341bbe95974e39b589ea821f02789
authorMichael Matz <matz@suse.de>
Wed, 22 Feb 2017 23:16:25 +0000 (23 00:16 +0100)
committerMichael Matz <matz@suse.de>
Wed, 22 Feb 2017 23:16:25 +0000 (23 00:16 +0100)
treeec59975e207493bcaa76ff47dc8d151553db8bc4
parente209b7dac463e228525499153103ec28173ca365
x86-64-asm: Fix mov im64,rax encoding

the avoidance of mov im32->reg64 wasn't working when reg64 was rax.
While fixing this also fix instructions which had the REX prefix
hardcoded in opcode and so didn't support extended registers which
would have added another REX prefix.
i386-asm.c
tests/asmtest.S
x86_64-asm.h