diff options
| author | gdkchan <gab.dark.100@gmail.com> | 2020-10-21 09:13:44 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-21 09:13:44 -0300 |
| commit | 2f164917126ecef3a44c989e9442d2c663e58535 (patch) | |
| tree | b3a37b665bcebfe5c93108992a97fe90512f88dc /ARMeilleure/Decoders/OpCode32SimdImm.cs | |
| parent | efa77a241555efa3ddfa3425919211ce6c8134a7 (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/OpCode32SimdImm.cs')
| -rw-r--r-- | ARMeilleure/Decoders/OpCode32SimdImm.cs | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/ARMeilleure/Decoders/OpCode32SimdImm.cs b/ARMeilleure/Decoders/OpCode32SimdImm.cs index c6ae7ec5..678f3064 100644 --- a/ARMeilleure/Decoders/OpCode32SimdImm.cs +++ b/ARMeilleure/Decoders/OpCode32SimdImm.cs @@ -2,15 +2,17 @@ { class OpCode32SimdImm : OpCode32SimdBase, IOpCode32SimdImm { - public bool Q { get; private set; } - public long Immediate { get; private set; } + public bool Q { get; } + public long Immediate { get; } public int Elems => GetBytesCount() >> Size; + public new static OpCode Create(InstDescriptor inst, ulong address, int opCode) => new OpCode32SimdImm(inst, address, opCode); + public OpCode32SimdImm(InstDescriptor inst, ulong address, int opCode) : base(inst, address, opCode) { Vd = (opCode >> 12) & 0xf; Vd |= (opCode >> 18) & 0x10; - + Q = ((opCode >> 6) & 0x1) > 0; int cMode = (opCode >> 8) & 0xf; |
