OpCode32SimdRegLong.cs 691 B

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