diff options
author | gdkchan <gab.dark.100@gmail.com> | 2022-09-10 22:51:00 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-10 22:51:00 -0300 |
commit | f468db76028086a6645856383fecdf8180b04dd1 (patch) | |
tree | cb296f05888eae9fa04d386391525d37e9031192 /ARMeilleure/Instructions/InstEmitAlu32.cs | |
parent | c5f1d1749aeb4a1fff8f7552b949f652eaefe52a (diff) |
Implement Thumb (32-bit) memory (ordered), multiply, extension and bitfield instructions (#3687)1.1.261
* Implement Thumb (32-bit) memory (ordered), multiply and bitfield instructions
* Remove public from interface
* Fix T32 BL immediate and implement signed and unsigned extend instructions
Diffstat (limited to 'ARMeilleure/Instructions/InstEmitAlu32.cs')
-rw-r--r-- | ARMeilleure/Instructions/InstEmitAlu32.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ARMeilleure/Instructions/InstEmitAlu32.cs b/ARMeilleure/Instructions/InstEmitAlu32.cs index a612bdf2..31d8a02c 100644 --- a/ARMeilleure/Instructions/InstEmitAlu32.cs +++ b/ARMeilleure/Instructions/InstEmitAlu32.cs @@ -74,7 +74,7 @@ namespace ARMeilleure.Instructions public static void Bfc(ArmEmitterContext context) { - OpCode32AluBf op = (OpCode32AluBf)context.CurrOp; + IOpCode32AluBf op = (IOpCode32AluBf)context.CurrOp; Operand d = GetIntA32(context, op.Rd); Operand res = context.BitwiseAnd(d, Const(~op.DestMask)); @@ -84,7 +84,7 @@ namespace ARMeilleure.Instructions public static void Bfi(ArmEmitterContext context) { - OpCode32AluBf op = (OpCode32AluBf)context.CurrOp; + IOpCode32AluBf op = (IOpCode32AluBf)context.CurrOp; Operand n = GetIntA32(context, op.Rn); Operand d = GetIntA32(context, op.Rd); @@ -185,7 +185,7 @@ namespace ARMeilleure.Instructions public static void Movt(ArmEmitterContext context) { - OpCode32AluImm16 op = (OpCode32AluImm16)context.CurrOp; + IOpCode32AluImm16 op = (IOpCode32AluImm16)context.CurrOp; Operand d = GetIntA32(context, op.Rd); Operand imm = Const(op.Immediate << 16); // Immeditate value as top halfword. @@ -389,7 +389,7 @@ namespace ARMeilleure.Instructions public static void Sbfx(ArmEmitterContext context) { - OpCode32AluBf op = (OpCode32AluBf)context.CurrOp; + IOpCode32AluBf op = (IOpCode32AluBf)context.CurrOp; var msb = op.Lsb + op.Msb; // For this instruction, the msb is actually a width. @@ -484,7 +484,7 @@ namespace ARMeilleure.Instructions public static void Ubfx(ArmEmitterContext context) { - OpCode32AluBf op = (OpCode32AluBf)context.CurrOp; + IOpCode32AluBf op = (IOpCode32AluBf)context.CurrOp; var msb = op.Lsb + op.Msb; // For this instruction, the msb is actually a width. |