Bug 24253 - X86 Vcomis uses xmmword ptr (instead of dword ptr)
Summary: X86 Vcomis uses xmmword ptr (instead of dword ptr)
Status: RESOLVED INVALID
Alias: None
Product: binutils
Classification: Unclassified
Component: binutils (show other bugs)
Version: 2.33
: P2 enhancement
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-20 18:46 UTC by Philippe Antoine
Modified: 2019-02-20 20:30 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Antoine 2019-02-20 18:46:51 UTC
Calling `print_insn_i386` with buffer \xc5\xf8\x2f\x10 returns `vcomiss xmm2,dword ptr [eax]` when it should return `vcomiss xmm2,xmmword ptr [eax]`
Same goes with \xc5\xf9\x2f\x10 vcomisd xmm2,qword ptr [eax]

This was found by differential fuzzing against capstone : see https://github.com/aquynh/capstone/pull/1303
Comment 1 H.J. Lu 2019-02-20 20:30:34 UTC
vcomiss takes m32 and vcomisd takes m64.