OpCode32SimdRegWide.cs 905 B

1234567891011121314151617181920
  1. namespace ARMeilleure.Decoders
  2. {
  3. class OpCode32SimdRegWide : OpCode32SimdReg
  4. {
  5. public new static OpCode Create(InstDescriptor inst, ulong address, int opCode) => new OpCode32SimdRegWide(inst, address, opCode, false);
  6. public new static OpCode CreateT32(InstDescriptor inst, ulong address, int opCode) => new OpCode32SimdRegWide(inst, address, opCode, true);
  7. public OpCode32SimdRegWide(InstDescriptor inst, ulong address, int opCode, bool isThumb) : base(inst, address, opCode, isThumb)
  8. {
  9. Q = false;
  10. RegisterSize = RegisterSize.Simd64;
  11. // Subclasses have their own handling of Vx to account for before checking.
  12. if (GetType() == typeof(OpCode32SimdRegWide) && DecoderHelper.VectorArgumentsInvalid(true, Vd, Vn))
  13. {
  14. Instruction = InstDescriptor.Undefined;
  15. }
  16. }
  17. }
  18. }