OpCode32SimdRegWide.cs 727 B

12345678910111213141516171819
  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);
  6. public OpCode32SimdRegWide(InstDescriptor inst, ulong address, int opCode) : base(inst, address, opCode)
  7. {
  8. Q = false;
  9. RegisterSize = RegisterSize.Simd64;
  10. // Subclasses have their own handling of Vx to account for before checking.
  11. if (GetType() == typeof(OpCode32SimdRegWide) && DecoderHelper.VectorArgumentsInvalid(true, Vd, Vn))
  12. {
  13. Instruction = InstDescriptor.Undefined;
  14. }
  15. }
  16. }
  17. }