fixed compilation on cpu level < 6

This commit is contained in:
Stanislav Shwartsman 2015-01-29 18:41:28 +00:00
parent d6631f767d
commit e80e911166

View File

@ -138,6 +138,8 @@ BX_CPU_C::write_linear_qword(unsigned s, bx_address laddr, Bit64u data)
exception(int_number(s), 0);
}
#if BX_CPU_LEVEL >= 6
void BX_CPP_AttrRegparmN(3)
BX_CPU_C::write_linear_xmmword(unsigned s, bx_address laddr, const BxPackedXmmRegister *data)
{
@ -311,6 +313,8 @@ void BX_CPU_C::write_linear_zmmword_aligned(unsigned s, bx_address laddr, const
if (access_write_linear(laddr, 64, CPL, 0x0, (void *) data) < 0)
exception(int_number(s), 0);
}
#endif
#endif
Bit8u BX_CPP_AttrRegparmN(2)
@ -433,6 +437,8 @@ BX_CPU_C::read_linear_qword(unsigned s, bx_address laddr)
return data;
}
#if BX_CPU_LEVEL >= 6
void BX_CPP_AttrRegparmN(3)
BX_CPU_C::read_linear_xmmword(unsigned s, bx_address laddr, BxPackedXmmRegister *data)
{
@ -596,6 +602,8 @@ void BX_CPU_C::read_linear_zmmword_aligned(unsigned s, bx_address laddr, BxPacke
}
#endif
#endif
//////////////////////////////////////////////////////////////
// special Read-Modify-Write operations //
// address translation info is kept across read/write calls //