On Wednesday, September 15, 2010, Alexander Potapenko wrote:
> This is the 3DNow! pfadd instruction.
> Looks like Valgrind doesn't currently support 3DNow!, but the cpuid
> implementation claims it does, so your code tries to execute it.

cat /proc/cpuinfo on the cpu emulated since r2011 says

flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca mov 
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm 
constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf 
pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm 
sse4_1 sse4_2 popcnt aes lahf_lm ida arat tpr_shadow vnmi flexpriority ept 
vpid

Which one of those indicates 3dnow support?

I think what happened here is that Yuri T. build this test app
for an AMD cpu, and then ran it on Valgrind, which claims to be
an Intel cpu.  The app does not check the CPUID bits and simply
assumed 3dnow is available, which, really, it should not.

J


> Julian, is it possible to disable all unsupported CPU extensions?
> A somewhat related bug report is
> https://bugs.kde.org/show_bug.cgi?id=249991
> 
> Alex
> 
> On Wed, Sep 15, 2010 at 1:47 PM, Yuri T. <[email protected]> wrote:
> > Hi all,
> > 
> > I have this error on Ubuntu x64 10.04.1 with valgrind from svn.
> > uname -a
> > Linux br0ub1 2.6.32-24-server #42-Ubuntu SMP Fri Aug 20 15:38:55 UTC
> > 2010 x86_64 GNU/Linux
> > 
> > vex amd64->IR: unhandled instruction bytes: 0xF 0xF 0xC0 0x9E 0xF 0xE
> > ==15122== Process terminating with default action of signal 4 (SIGILL)
> > ==15122==  Illegal opcode at address 0x7616DF5
> > ==15122==    at 0x7616DF5: ??? (in /usr/lib/libvlccore.so.4.0.0)
> > ==15122==    by 0x75A0B5C: libvlc_InternalCreate (in
> > /usr/lib/libvlccore.so.4.0.0)
> > ==15122==    by 0x73706C7: libvlc_new (in /usr/lib/libvlc.so.5.1.0)
> > ==15122==    by 0x464761: VideoWidget::VideoWidget(QWidget*)
> > (VideoWidget.cpp:94)
> > ==15122==    by 0x45FF98: Ui_MainWindow::setupUi(QWidget*)
> > (ui_MainWindow.h:418) ==15122==    by 0x45598A: MainWindow::MainWindow()
> > (MainWindow.cpp:46) ==15122==    by 0x49165A:
> > BootStrapper::BootStrapper(QWidget*)
> > (BootStrapper.cpp:22)
> > ==15122==    by 0x45207D: main (main.cpp:51)
> > 
> > I hope to help in solving this problem.
> > 
> > Regards
> > Yuri T
> > 
> > -------------------------------------------------------------------------
> > ----- Start uncovering the many advantages of virtual appliances
> > and start using them to simplify application deployment and
> > accelerate your shift to cloud computing.
> > http://p.sf.net/sfu/novell-sfdev2dev
> > _______________________________________________
> > Valgrind-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/valgrind-users


------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to