aboutsummaryrefslogtreecommitdiff
path: root/ARMeilleure/Decoders/OpCode32SimdBinary.cs
diff options
context:
space:
mode:
Diffstat (limited to 'ARMeilleure/Decoders/OpCode32SimdBinary.cs')
-rw-r--r--ARMeilleure/Decoders/OpCode32SimdBinary.cs18
1 files changed, 18 insertions, 0 deletions
diff --git a/ARMeilleure/Decoders/OpCode32SimdBinary.cs b/ARMeilleure/Decoders/OpCode32SimdBinary.cs
new file mode 100644
index 00000000..66f63dc5
--- /dev/null
+++ b/ARMeilleure/Decoders/OpCode32SimdBinary.cs
@@ -0,0 +1,18 @@
+namespace ARMeilleure.Decoders
+{
+ /// <summary>
+ /// A special alias that always runs in 64 bit int, to speed up binary ops a little.
+ /// </summary>
+ class OpCode32SimdBinary : OpCode32SimdReg
+ {
+ public OpCode32SimdBinary(InstDescriptor inst, ulong address, int opCode) : base(inst, address, opCode)
+ {
+ Size = 3;
+
+ if (DecoderHelper.VectorArgumentsInvalid(Q, Vd, Vm, Vn))
+ {
+ Instruction = InstDescriptor.Undefined;
+ }
+ }
+ }
+}