Jelajahi Sumber

tci: Support INDEX_op_bswap64_i64

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>
Stefan Weil 13 tahun lalu
induk
melakukan
6a69226f22
1 mengubah file dengan 0 tambahan dan 1 penghapusan
  1. 0 1
      tci.c

+ 0 - 1
tci.c

@@ -1014,7 +1014,6 @@ tcg_target_ulong tcg_qemu_tb_exec(CPUArchState *cpustate, uint8_t *tb_ptr)
 #endif
 #endif
 #if TCG_TARGET_HAS_bswap64_i64
 #if TCG_TARGET_HAS_bswap64_i64
         case INDEX_op_bswap64_i64:
         case INDEX_op_bswap64_i64:
-            TODO();
             t0 = *tb_ptr++;
             t0 = *tb_ptr++;
             t1 = tci_read_r64(&tb_ptr);
             t1 = tci_read_r64(&tb_ptr);
             tci_write_reg64(t0, bswap64(t1));
             tci_write_reg64(t0, bswap64(t1));