|
From: Julian S. <js...@ac...> - 2005-07-21 15:50:45
|
> vex x86->IR: unhandled instruction bytes: 0xF8 0x2A
> 0x7 0x8B
Fixed in vex r1284. The attached test program should now
work properly.
What is the current state of valgrind-3 on x86-solaris?
J
#include <stdio.h>
int x0, x1, x2, x3, x4;
extern void foo ( void );
asm("\n"
".global foo\n"
"foo:\n"
"\txorl %eax,%eax\n"
"\tpushfl\n"
"\tpopl x0\n"
"\tstc\n"
"\tpushfl\n"
"\tpopl x1\n"
"\tclc\n"
"\tpushfl\n"
"\tpopl x2\n"
"\tcmc\n"
"\tpushfl\n"
"\tpopl x3\n"
"\tcmc\n"
"\tpushfl\n"
"\tpopl x4\n"
"\tret\n"
);
int main ( void )
{
const int M = 0xFFFF; /* don't want to see the ID flag, bit 21 */
foo();
printf("0x%x 0x%x 0x%x 0x%x 0x%x\n", x0&M, x1&M, x2&M, x3&M, x4&M);
return 0;
}
|