Bug 110201

Summary: unhandled instruction bytes: 0xD9 0xF4 0x50 0xDD (x86 fxtract)
Product: [Developer tools] valgrind Reporter: John Reiser <jreiser>
Component: memcheckAssignee: Julian Seward <jseward>
Status: RESOLVED FIXED    
Severity: normal CC: l_de_vito
Priority: NOR    
Version: 3.0.0   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:

Description John Reiser 2005-08-05 03:41:07 UTC
The libm functions __logb() and __significandl() use x86 FPU opcode 'fxtract'
which is 0xD9 0xF4.  glibc-2.3.90-5 sysdeps/i386/fpu/s_logb.S and
sysdeps/i386/fpu/s_significandl.c.
Comment 1 Tom Hughes 2005-09-20 13:16:24 UTC
*** Bug 112941 has been marked as a duplicate of this bug. ***
Comment 2 Tom Hughes 2005-09-20 14:07:14 UTC
*** Bug 112944 has been marked as a duplicate of this bug. ***
Comment 3 Julian Seward 2005-10-03 03:24:50 UTC
Fixed (vex r1405).  Please verify.
Comment 4 John Reiser 2005-10-03 05:39:46 UTC
Verified OK (vex r1408, valgrind r4848).
-----
#include <math.h>
#include <stdio.h>

main()
{
        double const logb_pi = logb(3.1415926535);
        printf("logb_pi=%g\n", logb_pi);
        return 0;
}
-----