Terraspace / UASM

UASM - Macro Assembler
http://www.terraspace.co.uk/uasm.html
Other
220 stars 49 forks source link

movq [mem],mmxreg emits incorrect opcode #45

Closed sergey-sj closed 7 years ago

sergey-sj commented 7 years ago

movq mm0,[eax]; 0F 6F 00 ; ok movq [eax],mm0; 0F 7E 00 ; wrong (it's movd, not movq), should be 0F 7F 00
movd mm0,[eax]; 0F 6E 00 ; ok movd [eax],mm0; 0F 7E 00 ; ok movd xmm0,[eax]; 66 0F 6E 00; ok movd [eax],xmm0; 66 0F 7E 00; ok movq xmm0,[eax]; F3 0F 7E 00; ok movq [eax],mm0; 66 0F D6 00; ok

john-terraspace commented 7 years ago

This one is fixed and will be updated shortly.

From: sergey-sj [mailto:notifications@github.com] Sent: 24 January 2017 11:39 AM To: Terraspace/HJWasm HJWasm@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Subject: [Terraspace/HJWasm] movq [mem],mmxreg emits incorrect opcode (#45)

movq mm0,[eax]; 0F 6F 00 ; ok movq [eax],mm0; 0F 7E 00 ; wrong (it's movd, not movq), should be 0F 7F 00 movd mm0,[eax]; 0F 6E 00 ; ok movd [eax],mm0; 0F 7E 00 ; ok movd xmm0,[eax]; 66 0F 6E 00; ok movd [eax],xmm0; 66 0F 7E 00; ok movq xmm0,[eax]; F3 0F 7E 00; ok movq [eax],mm0; 66 0F D6 00; ok

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Terraspace/HJWasm/issues/45 , or mute the thread https://github.com/notifications/unsubscribe-auth/AQGQVOmeAv9eZG-UN4uJXgIaMzVsH6Muks5rVeLngaJpZM4LsKM6 .

john-terraspace commented 7 years ago

Fixed, updated 2.19 package is available.