Bug 349891

Summary: vex x86->IR: unhandled instruction bytes: 0xF3 0xF 0xB8 0xC9
Product: [Developer tools] valgrind Reporter: Nuno Lopes <nunoplopes>
Component: vexAssignee: Julian Seward <jseward>
Status: RESOLVED DUPLICATE    
Severity: normal CC: rhyskidd
Priority: NOR    
Version First Reported In: 3.10.0   
Target Milestone: ---   
Platform: unspecified   
OS: All   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Nuno Lopes 2015-07-04 11:29:16 UTC
Vex doesn't know about popcnt:
F3 0F B8 /r 	POPCNT r32, r/m32

gcc emits this for __builtin_popcnt.

Reproducible: Always
Comment 1 Rhys Kidd 2015-07-22 04:55:38 UTC
This is a duplicate bug report of bz#271615.

popcnt is an SSE4.2 instruction.
SSE4 isn't supported in 32 bit mode, only 64 bit mode.  32 bit mode supports only up to and including SSSE3.
http://www.valgrind.org/docs/manual/manual-core.html#manual-core.limits

There are no current plans to support SSE4 on 32-bit, however it seems there is an unreviewed patch on that bug report for the specific instruction.

*** This bug has been marked as a duplicate of bug 271615 ***