Bug 253436

Summary: vex amd64->IR: unhandled instruction bytes: 0xF2 0xA6 (repne cmps)
Product: [Developer tools] valgrind Reporter: Vince Weaver <vince>
Component: vexAssignee: Julian Seward <jseward>
Status: REPORTED ---    
Severity: normal CC: jacobly.alt, pjfloyd
Priority: NOR    
Version: 3.6 SVN   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Bug Depends on:    
Bug Blocks: 253451    
Attachments: Added missing cmps variants to VEX amd64.

Description Vince Weaver 2010-10-06 23:26:23 UTC
Version:           3.6 SVN
OS:                Linux

The "repne cmps" string instruction is not supported on amd64

Reproducible: Didn't try
Comment 1 jacobly.alt 2020-01-10 17:53:37 UTC
Created attachment 125021 [details]
Added missing cmps variants to VEX amd64.

I was trying to run valgrind on some assembly code and it also chokes on a plain old cmps.  I implemented both in the attached patch.
Comment 2 Paul Floyd 2021-11-22 11:12:12 UTC
Do you have a testcase for this?