From e1512ccaf8b2c252a80eaa9c19d8b05f4e3e21ed Mon Sep 17 00:00:00 2001 From: Stanislav Shwartsman Date: Sat, 5 Oct 2013 19:35:00 +0000 Subject: [PATCH] fixed warning under new MSDEV compiler --- bochs/cpu/load.cc | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/bochs/cpu/load.cc b/bochs/cpu/load.cc index 27b0711e0..d37fbf9c1 100644 --- a/bochs/cpu/load.cc +++ b/bochs/cpu/load.cc @@ -30,21 +30,21 @@ BX_INSF_TYPE BX_CPP_AttrRegparmN(1) BX_CPU_C::LOAD_Eb(bxInstruction_c *i) { bx_address eaddr = BX_CPU_CALL_METHODR(i->ResolveModrm, (i)); TMP8L = read_virtual_byte(i->seg(), eaddr); - return BX_CPU_CALL_METHOD(i->execute2(), (i)); + BX_CPU_CALL_METHOD(i->execute2(), (i)); } BX_INSF_TYPE BX_CPP_AttrRegparmN(1) BX_CPU_C::LOAD_Ew(bxInstruction_c *i) { bx_address eaddr = BX_CPU_CALL_METHODR(i->ResolveModrm, (i)); TMP16 = read_virtual_word(i->seg(), eaddr); - return BX_CPU_CALL_METHOD(i->execute2(), (i)); + BX_CPU_CALL_METHOD(i->execute2(), (i)); } BX_INSF_TYPE BX_CPP_AttrRegparmN(1) BX_CPU_C::LOAD_Ed(bxInstruction_c *i) { bx_address eaddr = BX_CPU_CALL_METHODR(i->ResolveModrm, (i)); TMP32 = read_virtual_dword(i->seg(), eaddr); - return BX_CPU_CALL_METHOD(i->execute2(), (i)); + BX_CPU_CALL_METHOD(i->execute2(), (i)); } #if BX_SUPPORT_X86_64 @@ -52,7 +52,7 @@ BX_INSF_TYPE BX_CPP_AttrRegparmN(1) BX_CPU_C::LOAD_Eq(bxInstruction_c *i) { bx_address eaddr = BX_CPU_CALL_METHODR(i->ResolveModrm, (i)); TMP64 = read_virtual_qword_64(i->seg(), eaddr); - return BX_CPU_CALL_METHOD(i->execute2(), (i)); + BX_CPU_CALL_METHOD(i->execute2(), (i)); } #endif @@ -63,7 +63,7 @@ BX_INSF_TYPE BX_CPP_AttrRegparmN(1) BX_CPU_C::LOAD_Wb(bxInstruction_c *i) Bit8u val_8 = read_virtual_byte(i->seg(), eaddr); BX_WRITE_XMM_REG_LO_BYTE(BX_VECTOR_TMP_REGISTER, val_8); - return BX_CPU_CALL_METHOD(i->execute2(), (i)); + BX_CPU_CALL_METHOD(i->execute2(), (i)); #endif } @@ -74,7 +74,7 @@ BX_INSF_TYPE BX_CPP_AttrRegparmN(1) BX_CPU_C::LOAD_Ww(bxInstruction_c *i) Bit16u val_16 = read_virtual_word(i->seg(), eaddr); BX_WRITE_XMM_REG_LO_WORD(BX_VECTOR_TMP_REGISTER, val_16); - return BX_CPU_CALL_METHOD(i->execute2(), (i)); + BX_CPU_CALL_METHOD(i->execute2(), (i)); #endif } @@ -85,7 +85,7 @@ BX_INSF_TYPE BX_CPP_AttrRegparmN(1) BX_CPU_C::LOAD_Wss(bxInstruction_c *i) Bit32u val_32 = read_virtual_dword(i->seg(), eaddr); BX_WRITE_XMM_REG_LO_DWORD(BX_VECTOR_TMP_REGISTER, val_32); - return BX_CPU_CALL_METHOD(i->execute2(), (i)); + BX_CPU_CALL_METHOD(i->execute2(), (i)); #endif } @@ -96,7 +96,7 @@ BX_INSF_TYPE BX_CPP_AttrRegparmN(1) BX_CPU_C::LOAD_Wsd(bxInstruction_c *i) Bit64u val_64 = read_virtual_qword(i->seg(), eaddr); BX_WRITE_XMM_REG_LO_QWORD(BX_VECTOR_TMP_REGISTER, val_64); - return BX_CPU_CALL_METHOD(i->execute2(), (i)); + BX_CPU_CALL_METHOD(i->execute2(), (i)); #endif } @@ -110,7 +110,7 @@ BX_INSF_TYPE BX_CPP_AttrRegparmN(1) BX_CPU_C::LOAD_Wdq(bxInstruction_c *i) else read_virtual_xmmword_aligned(i->seg(), eaddr, &BX_READ_XMM_REG(BX_VECTOR_TMP_REGISTER)); - return BX_CPU_CALL_METHOD(i->execute2(), (i)); + BX_CPU_CALL_METHOD(i->execute2(), (i)); #endif } @@ -120,7 +120,7 @@ BX_INSF_TYPE BX_CPP_AttrRegparmN(1) BX_CPU_C::LOADU_Wdq(bxInstruction_c *i) bx_address eaddr = BX_CPU_CALL_METHODR(i->ResolveModrm, (i)); read_virtual_xmmword(i->seg(), eaddr, &BX_READ_XMM_REG(BX_VECTOR_TMP_REGISTER)); - return BX_CPU_CALL_METHOD(i->execute2(), (i)); + BX_CPU_CALL_METHOD(i->execute2(), (i)); #endif } @@ -137,7 +137,7 @@ BX_INSF_TYPE BX_CPP_AttrRegparmN(1) BX_CPU_C::LOAD_Vector(bxInstruction_c *i) else read_virtual_xmmword(i->seg(), eaddr, &BX_READ_XMM_REG(BX_VECTOR_TMP_REGISTER)); - return BX_CPU_CALL_METHOD(i->execute2(), (i)); + BX_CPU_CALL_METHOD(i->execute2(), (i)); } BX_INSF_TYPE BX_CPP_AttrRegparmN(1) BX_CPU_C::LOAD_Half_Vector(bxInstruction_c *i) @@ -154,7 +154,7 @@ BX_INSF_TYPE BX_CPP_AttrRegparmN(1) BX_CPU_C::LOAD_Half_Vector(bxInstruction_c * BX_WRITE_XMM_REG_LO_QWORD(BX_VECTOR_TMP_REGISTER, val_64); } - return BX_CPU_CALL_METHOD(i->execute2(), (i)); + BX_CPU_CALL_METHOD(i->execute2(), (i)); } #endif @@ -187,7 +187,7 @@ BX_INSF_TYPE BX_CPP_AttrRegparmN(1) BX_CPU_C::LOAD_BROADCAST_VectorD(bxInstructi read_virtual_xmmword(i->seg(), eaddr, &BX_READ_XMM_REG(BX_VECTOR_TMP_REGISTER)); } - return BX_CPU_CALL_METHOD(i->execute2(), (i)); + BX_CPU_CALL_METHOD(i->execute2(), (i)); } BX_INSF_TYPE BX_CPP_AttrRegparmN(1) BX_CPU_C::LOAD_BROADCAST_VectorQ(bxInstruction_c *i) @@ -214,7 +214,7 @@ BX_INSF_TYPE BX_CPP_AttrRegparmN(1) BX_CPU_C::LOAD_BROADCAST_VectorQ(bxInstructi read_virtual_xmmword(i->seg(), eaddr, &BX_READ_XMM_REG(BX_VECTOR_TMP_REGISTER)); } - return BX_CPU_CALL_METHOD(i->execute2(), (i)); + BX_CPU_CALL_METHOD(i->execute2(), (i)); } #endif