mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-22 01:08:43 +00:00
bugfix, more...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@116 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
523ca5a682
commit
0c21d95606
4 changed files with 37 additions and 6 deletions
|
@ -132,7 +132,11 @@ namespace Gen
|
|||
void WriteNormalOp(bool toRM, NormalOp op, const OpArg &operand, int bits) const;
|
||||
bool IsImm() const {return scale == SCALE_IMM8 || scale == SCALE_IMM16 || scale == SCALE_IMM32 || scale == SCALE_IMM64;}
|
||||
bool IsSimpleReg() const {return scale == SCALE_NONE;}
|
||||
|
||||
bool IsSimpleReg(X64Reg reg) const {
|
||||
if (!IsSimpleReg())
|
||||
return false;
|
||||
return GetSimpleReg() == reg;
|
||||
}
|
||||
bool CanDoOpWith(OpArg &other) const
|
||||
{
|
||||
if (IsSimpleReg()) return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue