Bug 204574

Summary: vex x86->IR: unhandled instruction bytes: 0xF 0xE 0x89 0xE6 using 32bit Goto BLAS
Product: [Developer tools] valgrind Reporter: Sven Buijssen <sven.buijssen>
Component: vexAssignee: Julian Seward <jseward>
Status: RESOLVED FIXED    
Severity: normal CC: tom
Priority: NOR    
Version: 3.5.0   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Bug Depends on:    
Bug Blocks: 256630    
Attachments: Sample code to reproduce the error
Suggested patch, analogous to patch for #124499, compare VEX/priv/guest_amd64_toIR.c revision 1604

Description Sven Buijssen 2009-08-20 22:19:47 UTC
Created attachment 36309 [details]
Sample code to reproduce the error

Running user code that uses a 32-bit Goto BLAS library through memcheck (from the valgrind 3.5.0 release or earlier releases) does issue a

vex x86->IR: unhandled instruction bytes: 0xF 0xE 0x89 0xE6

A sample code using the critical DTRSM BLAS function is attached. Get Goto BLAS
at http://www-prc.tacc.utexas.edu/resources/software/software.php?#blas, unpack,
compile it on a 32-bit Linux machine using ./quickbuild.32bit. Then, compile the
sample code, link it against Goto BLAS and run valgrind against it:

  gfortran -g sample.f90 -lgoto
  valgrind ./a.out

valgrind will bail out with above mentioned message.

This error is related to http://bugs.kde.org/show_bug.cgi?id=124499 in that this one occurs on x86 while #124499 occurred on x86_64. (It has been reported to the mailing list today.)

I'll provide a patch along with the first comment because there is only one file upload per comment allowed.
Comment 1 Sven Buijssen 2009-08-20 22:24:17 UTC
Created attachment 36310 [details]
Suggested patch, analogous to patch for #124499, compare VEX/priv/guest_amd64_toIR.c revision 1604
Comment 2 Tom Hughes 2011-08-11 14:48:05 UTC
Committed as VEX r2192.