x86-64 inline assembler: movq defective
Original Reporter info from Mantis: Jasper
-
Reporter name: Jasper Neumann
Original Reporter info from Mantis: Jasper
- Reporter name: Jasper Neumann
Description:
In the 64 bit inline assembler the following variants of movq are not compiled:
movq xmm0,qword ptr [x]
movq qword ptr [x],xmm0
movq xmm0,xmm1
movq xmm0,rax
movq rax,xmm0
They are flagged e.g. as "Error: Asm: [mov xmmreg,mem64] invalid combination of opcode and operands".
In the case of x86 (32 bit) all these (but the reg64 variants) are compiled fine.
I have tried to repair x86ins.dat (and x86_64*.inc) but didn't succeed.
BTW: Wouldn't it be nice to allow to include NASM's original file insns.dat which is somewhat similar to x86ins.dat in order to easily get up-to-date fixes and support for new CPU features such as pclmulqdq or AVX?
Mantis conversion info:
- Mantis ID: 18205
- OS: Windows
- OS Build: XP
- Build: 16562
- Platform: Windows
- Version: 2.5.1
- Fixed in version: 2.6.0
- Fixed in revision: 17497 (#08e895cf)