Terraspace / UASM

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

VMOV broken in 2.38 pre-release #59

Closed gwoltman closed 7 years ago

gwoltman commented 7 years ago
vmovdqa64 zmm31, [r11+32]

Assembles as this (according to objconv):

; Note: VEX prefix bits not allowed here vmovdqa64 zmm31, zmmword ptr [r11+20H*40H] ; 002C _ 62 41 FD 40: 6F. 7B, 20

Note that GDB (at defuse.ca) thinks this is a valid instruction with the wrong offset:

vmovdqa64 zmm31,ZMMWORD PTR [r11+0x800]

The acid test is executing it. Knight's Landing crashes (SIGILL) executing the above.

john-terraspace commented 7 years ago

Hi,

Please try again use: www.terraspace.co.uk/uasm.zip http://www.terraspace.co.uk/uasm.zip

These issues should be resolved as well as error for kmov immediates.

Thanks!

John

From: gwoltman [mailto:notifications@github.com] Sent: 12 July 2017 01:49 AM To: Terraspace/UASM UASM@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Subject: [Terraspace/UASM] VMOV broken in 2.38 pre-release (#59)

vmovdqa64 zmm31, [r11+32]

Assembles as this (according to objconv):

; Note: VEX prefix bits not allowed here vmovdqa64 zmm31, zmmword ptr [r11+20H*40H] ; 002C _ 62 41 FD 40: 6F. 7B, 20

Note that GDB (at defuse.ca) thinks this is a valid instruction with the wrong offset:

vmovdqa64 zmm31,ZMMWORD PTR [r11+0x800]

The acid test is executing it. Knight's Landing crashes (SIGILL) executing the above.

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

gwoltman commented 7 years ago

Fixed in 2.38 pre-release #2