Another Linux build fix.
Also, some trivial changes I'm too lazy to separate out. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1249 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
eab369321c
commit
05058b9684
|
@ -927,7 +927,7 @@ namespace Gen
|
|||
void AND (int bits, const OpArg &a1, const OpArg &a2) {WriteNormalOp(bits, nrmAND, a1, a2);}
|
||||
void OR (int bits, const OpArg &a1, const OpArg &a2) {WriteNormalOp(bits, nrmOR , a1, a2);}
|
||||
void XOR (int bits, const OpArg &a1, const OpArg &a2) {WriteNormalOp(bits, nrmXOR, a1, a2);}
|
||||
inline void MOV (int bits, const OpArg &a1, const OpArg &a2)
|
||||
void MOV (int bits, const OpArg &a1, const OpArg &a2)
|
||||
{
|
||||
_assert_msg_(DYNA_REC, !a1.IsSimpleReg() || !a2.IsSimpleReg() || a1.GetSimpleReg() != a2.GetSimpleReg(), "Redundant MOV @ %p",
|
||||
code);
|
||||
|
@ -1315,6 +1315,7 @@ namespace Gen
|
|||
Write8(0x9B);
|
||||
}
|
||||
|
||||
void RTDSC() { Write8(0x0F); Write8(0x31); }
|
||||
|
||||
namespace Util
|
||||
{
|
||||
|
|
|
@ -160,7 +160,7 @@ namespace Gen
|
|||
return false;
|
||||
return GetSimpleReg() == reg;
|
||||
}
|
||||
bool CanDoOpWith(OpArg &other) const
|
||||
bool CanDoOpWith(const OpArg &other) const
|
||||
{
|
||||
if (IsSimpleReg()) return true;
|
||||
if (!IsSimpleReg() && !other.IsSimpleReg() && !other.IsImm()) return false;
|
||||
|
@ -520,6 +520,8 @@ namespace Gen
|
|||
void PMOVMSKB(X64Reg dest, OpArg arg);
|
||||
void PSHUFB(X64Reg dest, OpArg arg);
|
||||
|
||||
void RTDSC();
|
||||
|
||||
namespace Util
|
||||
{
|
||||
// Sets up a __cdecl function.
|
||||
|
|
Loading…
Reference in New Issue