Bug 246525

Summary: amd_x86 support : unhandled instruction bytes 0x8C 0xE0 0x89 0x45 0xFC 0x8B
Product: [Developer tools] valgrind Reporter: jakob <kroeker>
Component: generalAssignee: Julian Seward <jseward>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version: 3.4.1   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Bug Depends on:    
Bug Blocks: 253451    

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).