aboutsummaryrefslogtreecommitdiff
path: root/ARMeilleure/Decoders/OpCode32SimdMemPair.cs
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2020-10-21 09:13:44 -0300
committerGitHub <noreply@github.com>2020-10-21 09:13:44 -0300
commit2f164917126ecef3a44c989e9442d2c663e58535 (patch)
treeb3a37b665bcebfe5c93108992a97fe90512f88dc /ARMeilleure/Decoders/OpCode32SimdMemPair.cs
parentefa77a241555efa3ddfa3425919211ce6c8134a7 (diff)
Get rid of Reflection.Emit dependency on CPU and Shader projects (#1626)
* Get rid of Reflection.Emit dependency on CPU and Shader projects * Remove useless private sets * Missed those due to the alignment
Diffstat (limited to 'ARMeilleure/Decoders/OpCode32SimdMemPair.cs')
-rw-r--r--ARMeilleure/Decoders/OpCode32SimdMemPair.cs22
1 files changed, 12 insertions, 10 deletions
diff --git a/ARMeilleure/Decoders/OpCode32SimdMemPair.cs b/ARMeilleure/Decoders/OpCode32SimdMemPair.cs
index 93320e7f..4cee05e8 100644
--- a/ARMeilleure/Decoders/OpCode32SimdMemPair.cs
+++ b/ARMeilleure/Decoders/OpCode32SimdMemPair.cs
@@ -10,19 +10,21 @@ namespace ARMeilleure.Decoders
1, 1, 4, 2,
1, 1, 3, 1,
1, 1, 2, 1,
- 1, 1, 1, 1
+ 1, 1, 1, 1
};
- public int Vd { get; private set; }
- public int Rn { get; private set; }
- public int Rm { get; private set; }
- public int Align { get; private set; }
- public bool WBack { get; private set; }
- public bool RegisterIndex { get; private set; }
- public int Size { get; private set; }
+ public int Vd { get; }
+ public int Rn { get; }
+ public int Rm { get; }
+ public int Align { get; }
+ public bool WBack { get; }
+ public bool RegisterIndex { get; }
+ public int Size { get; }
public int Elems => 8 >> Size;
- public int Regs { get; private set; }
- public int Increment { get; private set; }
+ public int Regs { get; }
+ public int Increment { get; }
+
+ public new static OpCode Create(InstDescriptor inst, ulong address, int opCode) => new OpCode32SimdMemPair(inst, address, opCode);
public OpCode32SimdMemPair(InstDescriptor inst, ulong address, int opCode) : base(inst, address, opCode)
{