From 1529e6cf0dbd42f034b2809485810eb1c88ef7ff Mon Sep 17 00:00:00 2001 From: merry <git@mary.rs> Date: Sun, 11 Sep 2022 03:03:14 +0100 Subject: T32: Add Vfp instructions (#3690) --- ARMeilleure/Instructions/InstEmitAluHelper.cs | 2 +- ARMeilleure/Instructions/InstEmitFlow32.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'ARMeilleure/Instructions') 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 -- cgit v1.2.3-70-g09d2