From c26f3774bdbf3982149a3ea4c0f7abb4de869db7 Mon Sep 17 00:00:00 2001 From: gdkchan Date: Tue, 10 Mar 2020 21:49:27 -0300 Subject: Implement VMULL, VMLSL, VRSHR, VQRSHRN, VQRSHRUN AArch32 instructions + other fixes (#977) * Implement VMULL, VMLSL, VQRSHRN, VQRSHRUN AArch32 instructions plus other fixes * Re-align opcode table * Re-enable undefined, use subclasses to fix checks * Add test and fix VRSHR instruction * PR feedback --- ARMeilleure/Decoders/OpCode32SimdRegLong.cs | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 ARMeilleure/Decoders/OpCode32SimdRegLong.cs (limited to 'ARMeilleure/Decoders/OpCode32SimdRegLong.cs') diff --git a/ARMeilleure/Decoders/OpCode32SimdRegLong.cs b/ARMeilleure/Decoders/OpCode32SimdRegLong.cs new file mode 100644 index 00000000..24ae42d8 --- /dev/null +++ b/ARMeilleure/Decoders/OpCode32SimdRegLong.cs @@ -0,0 +1,14 @@ +namespace ARMeilleure.Decoders +{ + class OpCode32SimdRegLong : OpCode32SimdReg + { + public bool Polynomial { get; private set; } + + public OpCode32SimdRegLong(InstDescriptor inst, ulong address, int opCode) : base(inst, address, opCode) + { + Q = false; + RegisterSize = RegisterSize.Simd64; + Polynomial = ((opCode >> 9) & 0x1) != 0; + } + } +} -- cgit v1.2.3