OpCode32SimdRegLong.cs 818 B

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