diff options
| author | merry <git@mary.rs> | 2022-09-11 03:03:14 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-10 23:03:14 -0300 |
| commit | 1529e6cf0dbd42f034b2809485810eb1c88ef7ff (patch) | |
| tree | c9f5235c2b6f9e97e76489b5ca7f7d2d7c00688a /ARMeilleure/Instructions | |
| parent | f468db76028086a6645856383fecdf8180b04dd1 (diff) | |
T32: Add Vfp instructions (#3690)
Diffstat (limited to 'ARMeilleure/Instructions')
| -rw-r--r-- | ARMeilleure/Instructions/InstEmitAluHelper.cs | 2 | ||||
| -rw-r--r-- | ARMeilleure/Instructions/InstEmitFlow32.cs | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/ARMeilleure/Instructions/InstEmitAluHelper.cs b/ARMeilleure/Instructions/InstEmitAluHelper.cs index 88991f7d..994878ad 100644 --- a/ARMeilleure/Instructions/InstEmitAluHelper.cs +++ b/ARMeilleure/Instructions/InstEmitAluHelper.cs @@ -128,7 +128,7 @@ namespace ARMeilleure.Instructions { Debug.Assert(value.Type == OperandType.I32); - if (((OpCode32)context.CurrOp).IsThumb()) + if (((OpCode32)context.CurrOp).IsThumb) { bool isReturn = IsA32Return(context); if (!isReturn) diff --git a/ARMeilleure/Instructions/InstEmitFlow32.cs b/ARMeilleure/Instructions/InstEmitFlow32.cs index 19524b42..3a7707ee 100644 --- a/ARMeilleure/Instructions/InstEmitFlow32.cs +++ b/ARMeilleure/Instructions/InstEmitFlow32.cs @@ -34,7 +34,7 @@ namespace ARMeilleure.Instructions uint pc = op.GetPc(); - bool isThumb = ((OpCode32)context.CurrOp).IsThumb(); + bool isThumb = ((OpCode32)context.CurrOp).IsThumb; uint currentPc = isThumb ? pc | 1 @@ -61,7 +61,7 @@ namespace ARMeilleure.Instructions Operand addr = context.Copy(GetIntA32(context, op.Rm)); Operand bitOne = context.BitwiseAnd(addr, Const(1)); - bool isThumb = ((OpCode32)context.CurrOp).IsThumb(); + bool isThumb = ((OpCode32)context.CurrOp).IsThumb; uint currentPc = isThumb ? (pc - 2) | 1 |
