Bug 246525 - amd_x86 support : unhandled instruction bytes 0x8C 0xE0 0x89 0x45 0xFC 0x8B
Summary: amd_x86 support : unhandled instruction bytes 0x8C 0xE0 0x89 0x45 0xFC 0x8B
Status: REPORTED
Alias: None
Product: valgrind
Classification: Developer tools
Component: general (show other bugs)
Version: 3.4.1
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Julian Seward
URL:
Keywords:
Depends on:
Blocks: 253451
  Show dependency treegraph
 
Reported: 2010-08-02 17:26 UTC by jakob
Modified: 2010-10-21 22:15 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jakob 2010-08-02 17:26:20 UTC
Version:           3.4.1 (using KDE 1.2) 
OS:                Linux

Hi, 

I get unhandled  instruction bytes error (0x8C 0xE0 0x89 0x45 0xFC 0x8B)
from following asm code ( belongs to  DMTCP checkpointing library ):

asm volatile ("movl %%fs,%0" : "=q" (tlssegreg)); 

'fs' and  'tlssegreg' are unsigned ints.



Any suggestions? 


Jack


P.S.  valgrind is a must-have tool for ordinary developers like me...you did a good job!


Reproducible: Always
Comment 1 jakob 2010-08-02 17:47:06 UTC
The assembler code is:

8c e0                  mov    %fs,%eax
89 45 fc               mov    %eax,-0x4(%rbp)


Jack
Comment 2 Julian Seward 2010-09-02 00:54:33 UTC
I don't think the 64-bit x86 instruction set simulator handles
%fs or %gs.  (Would need to check to be sure).