mirror of https://github.com/PCSX2/pcsx2.git
x86emitter: remove unused function
This commit is contained in:
parent
16057d8b04
commit
d2436fa86d
|
@ -58,6 +58,17 @@ namespace x86Emitter {
|
||||||
EmitSibMagic( param1, param2 );
|
EmitSibMagic( param1, param2 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
//////////////////////////////////////////////////////////////////////////////////////////
|
||||||
|
// emitter helpers for xmm instruction with prefixes, most of which are using
|
||||||
|
// the basic opcode format (items inside braces denote optional or conditional
|
||||||
|
// emission):
|
||||||
|
//
|
||||||
|
// [Prefix] / 0x0f / [OpcodePrefix] / Opcode / ModRM+[SibSB]
|
||||||
|
//
|
||||||
|
// Prefixes are typically 0x66, 0xf2, or 0xf3. OpcodePrefixes are either 0x38 or
|
||||||
|
// 0x3a [and other value will result in assertion failue].
|
||||||
|
//
|
||||||
template< typename T1, typename T2 > __emitinline
|
template< typename T1, typename T2 > __emitinline
|
||||||
void xOpWrite0F( u8 prefix, u16 opcode, const T1& param1, const T2& param2 )
|
void xOpWrite0F( u8 prefix, u16 opcode, const T1& param1, const T2& param2 )
|
||||||
{
|
{
|
||||||
|
|
|
@ -266,34 +266,6 @@ void EmitSibMagic( uint regfield, const void* address )
|
||||||
xWrite<s32>( (s32)displacement );
|
xWrite<s32>( (s32)displacement );
|
||||||
}
|
}
|
||||||
|
|
||||||
//////////////////////////////////////////////////////////////////////////////////////////
|
|
||||||
// emitter helpers for xmm instruction with prefixes, most of which are using
|
|
||||||
// the basic opcode format (items inside braces denote optional or conditional
|
|
||||||
// emission):
|
|
||||||
//
|
|
||||||
// [Prefix] / 0x0f / [OpcodePrefix] / Opcode / ModRM+[SibSB]
|
|
||||||
//
|
|
||||||
// Prefixes are typically 0x66, 0xf2, or 0xf3. OpcodePrefixes are either 0x38 or
|
|
||||||
// 0x3a [and other value will result in assertion failue].
|
|
||||||
//
|
|
||||||
__emitinline void xOpWrite0F( u8 prefix, u16 opcode, int instId, const xIndirectVoid& sib )
|
|
||||||
{
|
|
||||||
SimdPrefix( prefix, opcode );
|
|
||||||
EmitSibMagic( instId, sib );
|
|
||||||
}
|
|
||||||
|
|
||||||
__emitinline void xOpWrite0F( u8 prefix, u16 opcode, int instId, const void* data )
|
|
||||||
{
|
|
||||||
SimdPrefix( prefix, opcode );
|
|
||||||
EmitSibMagic( instId, data );
|
|
||||||
}
|
|
||||||
|
|
||||||
__emitinline void xOpWrite0F( u16 opcode, int instId, const xIndirectVoid& sib )
|
|
||||||
{
|
|
||||||
xOpWrite0F( 0, opcode, instId, sib );
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
//////////////////////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////////////////////
|
||||||
// returns TRUE if this instruction requires SIB to be encoded, or FALSE if the
|
// returns TRUE if this instruction requires SIB to be encoded, or FALSE if the
|
||||||
// instruction ca be encoded as ModRm alone.
|
// instruction ca be encoded as ModRm alone.
|
||||||
|
|
Loading…
Reference in New Issue