From eb72ee213ed5cd2bc171dbf3c4635ac6f77e403b Mon Sep 17 00:00:00 2001 From: Julian Seward Date: Tue, 12 Oct 2004 13:44:45 +0000 Subject: [PATCH] x86 assembler: handle x86 FP reg-reg moves git-svn-id: svn://svn.valgrind.org/vex/trunk@322 --- VEX/priv/host-x86/hdefs.c | 3 +++ 1 file changed, 3 insertions(+) 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: -- 2.47.3