Summary: | Add support for AMD's LWP (LightWeight Profiling) architecture extension | ||
---|---|---|---|
Product: | [Developer tools] valgrind | Reporter: | Richard Gorton <rcgorton> |
Component: | general | Assignee: | Julian Seward <jseward> |
Status: | REPORTED --- | ||
Severity: | wishlist | ||
Priority: | NOR | ||
Version: | 3.9.0.SVN | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
Patch to enable proper cpuid handling to detect LWP
Patch to enable proper cpuid handling to detect LWP, enable building of a test, a test case the .stdout.exp, .stderr.exp, .vgtest, .c (as a tarfile) A believed to be complete patch for LWP support on x86_64 Patches to VEX for full support of LWP on x86_64 Modified test case for LWP support on x86_64 |
Description
Richard Gorton
2013-03-27 13:01:52 UTC
Created attachment 78421 [details]
Patch to enable proper cpuid handling to detect LWP
Started from rev 13341, VEX rev 2702
Added support to detect an AMD cpu which supports LWP (and lzcnt, rdtscp) - an AMD FX-series core ('Bulldozer'). With this patch it becomes possible to add support for the various LWP instruction opcodes.
Created attachment 78479 [details]
Patch to enable proper cpuid handling to detect LWP, enable building of a test, a test case
Patch: (starting from svn rev 13351, VEX rev 2704
- enables cpuid handling
- change config to permit building of the test case.
Created attachment 78480 [details]
the .stdout.exp, .stderr.exp, .vgtest, .c (as a tarfile)
The test case (as a tarfile) - new files
Created attachment 78709 [details]
A believed to be complete patch for LWP support on x86_64
The patches to the core (non VEX) portions of valgrind (rev 13363)
Created attachment 78710 [details]
Patches to VEX for full support of LWP on x86_64
This is the VEX content patch
Created attachment 78711 [details]
Modified test case for LWP support on x86_64
A test case with expected results
|