tci: Support INDEX_op_bswap64_i64
authorStefan Weil <sw@weilnetz.de>
Wed, 20 Jun 2012 16:07:24 +0000 (18:07 +0200)
committerStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Fri, 22 Jun 2012 09:34:21 +0000 (10:34 +0100)
Running the Windows 7 (64 bit) boot process needs INDEX_op_bswap64_i64.
It was already implemented, but untested. Remove the TODO() statement.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
tci.c

diff --git a/tci.c b/tci.c
index a412a4e..c79350d 100644 (file)
--- a/tci.c
+++ b/tci.c
@@ -1014,7 +1014,6 @@ tcg_target_ulong tcg_qemu_tb_exec(CPUArchState *cpustate, uint8_t *tb_ptr)
 #endif
 #if TCG_TARGET_HAS_bswap64_i64
         case INDEX_op_bswap64_i64:
-            TODO();
             t0 = *tb_ptr++;
             t1 = tci_read_r64(&tb_ptr);
             tci_write_reg64(t0, bswap64(t1));