2020-03-10 20:49:27 -04:00
|
|
|
|
namespace ARMeilleure.Decoders
|
|
|
|
|
{
|
|
|
|
|
class OpCode32SimdRegLong : OpCode32SimdReg
|
|
|
|
|
{
|
2020-10-21 08:13:44 -04:00
|
|
|
|
public bool Polynomial { get; }
|
|
|
|
|
|
2022-09-13 17:25:37 -04:00
|
|
|
|
public new static OpCode Create(InstDescriptor inst, ulong address, int opCode) => new OpCode32SimdRegLong(inst, address, opCode, false);
|
|
|
|
|
public new static OpCode CreateT32(InstDescriptor inst, ulong address, int opCode) => new OpCode32SimdRegLong(inst, address, opCode, true);
|
2020-03-10 20:49:27 -04:00
|
|
|
|
|
2022-09-13 17:25:37 -04:00
|
|
|
|
public OpCode32SimdRegLong(InstDescriptor inst, ulong address, int opCode, bool isThumb) : base(inst, address, opCode, isThumb)
|
2020-03-10 20:49:27 -04:00
|
|
|
|
{
|
|
|
|
|
Q = false;
|
|
|
|
|
RegisterSize = RegisterSize.Simd64;
|
Add Umaal & Vabd_I, Vabdl_I, Vaddl_I, Vhadd, Vqshrn, Vshll inst.s (slow paths). (#1577)
* Add Umaal & Vabd_I, Vabdl_I, Vaddl_I, Vhadd, Vqshrn, Vshll inst.s (slow paths).
No test provided (i.e. draft).
* Ptc InternalVersion = 1577
2020-10-13 16:41:33 -04:00
|
|
|
|
|
2020-03-10 20:49:27 -04:00
|
|
|
|
Polynomial = ((opCode >> 9) & 0x1) != 0;
|
Add Umaal & Vabd_I, Vabdl_I, Vaddl_I, Vhadd, Vqshrn, Vshll inst.s (slow paths). (#1577)
* Add Umaal & Vabd_I, Vabdl_I, Vaddl_I, Vhadd, Vqshrn, Vshll inst.s (slow paths).
No test provided (i.e. draft).
* Ptc InternalVersion = 1577
2020-10-13 16:41:33 -04:00
|
|
|
|
|
|
|
|
|
// Subclasses have their own handling of Vx to account for before checking.
|
|
|
|
|
if (GetType() == typeof(OpCode32SimdRegLong) && DecoderHelper.VectorArgumentsInvalid(true, Vd))
|
|
|
|
|
{
|
|
|
|
|
Instruction = InstDescriptor.Undefined;
|
|
|
|
|
}
|
2020-03-10 20:49:27 -04:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|