Home Dashboard Directory Help
Search

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


Status: 

Closed
 as Fixed Help for as Fixed


1
0
Sign in
to vote
Type: Bug
ID: 729496
Opened: 3/7/2012 11:52:16 AM
Access Restriction: Public
0
Workaround(s)
view
0
User(s) can reproduce this bug

Description

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.
Details
Sign in to post a comment.
Posted by Microsoft 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(http://support.microsoft.com)
Sign in to post a workaround.