Bug 349891 - vex x86->IR: unhandled instruction bytes: 0xF3 0xF 0xB8 0xC9
Summary: vex x86->IR: unhandled instruction bytes: 0xF3 0xF 0xB8 0xC9
Status: RESOLVED DUPLICATE of bug 271615
Alias: None
Product: valgrind
Classification: Developer tools
Component: vex (other bugs)
Version First Reported In: 3.10.0
Platform: unspecified All
: NOR normal
Target Milestone: ---
Assignee: Julian Seward
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-04 11:29 UTC by Nuno Lopes
Modified: 2015-07-22 04:55 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***