ml64.exe output wrong code for "vpsrld xmm, xmm, xmm" - by cc_dev_tkono

Status : 

  Fixed<br /><br />
		This item has been fixed in the current or upcoming version of this product.<br /><br />
		A more detailed explanation for the resolution of this particular item may have been provided in the comments section.

Sign in
to vote
ID 729496 Comments
Status Closed Workarounds
Type Bug Repros 0
Opened 3/7/2012 11:52:16 AM
Access Restriction Public


For example vpsrld xmm0, xmm1, xmm2 was assembled to vpslld xmm0, xmm1, xmm2

 00000000  C5 F1 F2/ C2                 vpsrld  xmm0, xmm1, xmm2
 00000004  C5 F1 F2/ C2                 vpslld  xmm0, xmm1, xmm2

This is a part of listing file. Output for these 2 lines are exact same.

vpsrlw xmm, xmm, xmm and vpsrlq xmm, xmm, xmm are Ok.
vpsrld xmm, xmm, imm8 is also Ok. 
Sign in to post a comment.
Posted by Bill [MSFT] on 3/12/2012 at 2:34 PM
Thank you for contacting Microsoft and for using the Microsoft Macro Assembler.

Good catch. This is an incomplete cut-n-paste edit on our side. The VPSRLD xmm, xmm, xmm intruction should be emitting a 0xD2 opcode instead of a 0xF2.

btw, we very much appreciate this feedback.

Microsoft Visual Studio (and MASM) Product Team
Posted by MS-Moderator01 on 3/7/2012 at 5:51 PM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(