From: Julian Seward Date: Tue, 12 Oct 2004 13:44:45 +0000 (+0000) Subject: x86 assembler: handle x86 FP reg-reg moves X-Git-Tag: svn/VALGRIND_3_0_1^2~1012 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=eb72ee213ed5cd2bc171dbf3c4635ac6f77e403b;p=thirdparty%2Fvalgrind.git x86 assembler: handle x86 FP reg-reg moves git-svn-id: svn://svn.valgrind.org/vex/trunk@322 --- diff --git a/VEX/priv/host-x86/hdefs.c b/VEX/priv/host-x86/hdefs.c index 93564bc9b0..a5ffeef715 100644 --- a/VEX/priv/host-x86/hdefs.c +++ b/VEX/priv/host-x86/hdefs.c @@ -1287,6 +1287,7 @@ static UChar* do_fop1_st ( UChar* p, X86FpOp op ) case Xfp_SIN: *p++ = 0xD9; *p++ = 0xFE; break; case Xfp_COS: *p++ = 0xD9; *p++ = 0xFF; break; case Xfp_2XM1: *p++ = 0xD9; *p++ = 0xF0; break; + case Xfp_MOV: break; default: vpanic("do_fop1_st: unknown op"); } return p; @@ -1327,6 +1328,8 @@ Int emit_X86Instr ( UChar* buf, Int nbuf, X86Instr* i ) and does not really contain a register. */ # define fake(_n) mkHReg((_n), HRcInt, False) + /* vex_printf("asm ");ppX86Instr(i); vex_printf("\n"); */ + switch (i->tag) { case Xin_Alu32R: