[Bug 1096323] [NEW] valgrind claims to support 3dnow! in cpuid, but doesn't

Bradley Baetz bbaetz at gmail.com
Sat Jan 5 09:55:21 UTC 2013


Public bug reported:

See https://bugs.kde.org/show_bug.cgi?id=291568 - on AMD CPUs, valgrind
exposes a cpuid that shows 3dnow support, however valgrind doesn't
actually support those instructions.

This results in IR decoding errors when using valgrind on ffmpeg-related
apps (in my case, mythtv).

I get:

vex amd64->IR: unhandled instruction bytes: 0xF 0xF 0xC1 0xBF 0xF 0xF
0xD3 0xBF

(In this case, this is the PAVGUSB instruction)

The "fix" is in https://bugs.kde.org/show_bug.cgi?id=291568, which masks
out the appropriate CPUID bit so that 3dnow isn't claimed as present. A
bit hackish, but since its upstream....

Ubuntu 12.04, valgrind 1:3.7.0-0ubuntu3

** Affects: valgrind
     Importance: Unknown
         Status: Unknown

** Affects: valgrind (Ubuntu)
     Importance: Undecided
         Status: New

** Bug watch added: KDE Bug Tracking System #291568
   https://bugs.kde.org/show_bug.cgi?id=291568

** Also affects: valgrind via
   https://bugs.kde.org/show_bug.cgi?id=291568
   Importance: Unknown
       Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to valgrind in Ubuntu.
https://bugs.launchpad.net/bugs/1096323

Title:
  valgrind claims to support 3dnow! in cpuid, but doesn't

Status in Valgrind:
  Unknown
Status in “valgrind” package in Ubuntu:
  New

Bug description:
  See https://bugs.kde.org/show_bug.cgi?id=291568 - on AMD CPUs,
  valgrind exposes a cpuid that shows 3dnow support, however valgrind
  doesn't actually support those instructions.

  This results in IR decoding errors when using valgrind on ffmpeg-
  related apps (in my case, mythtv).

  I get:

  vex amd64->IR: unhandled instruction bytes: 0xF 0xF 0xC1 0xBF 0xF 0xF
  0xD3 0xBF

  (In this case, this is the PAVGUSB instruction)

  The "fix" is in https://bugs.kde.org/show_bug.cgi?id=291568, which
  masks out the appropriate CPUID bit so that 3dnow isn't claimed as
  present. A bit hackish, but since its upstream....

  Ubuntu 12.04, valgrind 1:3.7.0-0ubuntu3

To manage notifications about this bug go to:
https://bugs.launchpad.net/valgrind/+bug/1096323/+subscriptions




More information about the foundations-bugs mailing list