Bug 204574 - vex x86->IR: unhandled instruction bytes: 0xF 0xE 0x89 0xE6 using 32bit Goto BLAS
Summary: vex x86->IR: unhandled instruction bytes: 0xF 0xE 0x89 0xE6 using 32bit Goto ...
Status: RESOLVED FIXED
Alias: None
Product: valgrind
Classification: Developer tools
Component: vex (show other bugs)
Version: 3.5.0
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Julian Seward
URL:
Keywords:
Depends on:
Blocks: 256630
  Show dependency treegraph
 
Reported: 2009-08-20 22:19 UTC by Sven Buijssen
Modified: 2011-08-11 14:48 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Sample code to reproduce the error (296 bytes, text/plain)
2009-08-20 22:19 UTC, Sven Buijssen
Details
Suggested patch, analogous to patch for #124499, compare VEX/priv/guest_amd64_toIR.c revision 1604 (644 bytes, patch)
2009-08-20 22:24 UTC, Sven Buijssen
Details

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