OpCode32SimdTbl.cs 557 B

123456789101112131415161718192021
  1. namespace ARMeilleure.Decoders
  2. {
  3. class OpCode32SimdTbl : OpCode32SimdReg
  4. {
  5. public int Length { get; private set; }
  6. public OpCode32SimdTbl(InstDescriptor inst, ulong address, int opCode) : base(inst, address, opCode)
  7. {
  8. Length = (opCode >> 8) & 3;
  9. Size = 0;
  10. Opc = Q ? 1 : 0;
  11. Q = false;
  12. RegisterSize = RegisterSize.Simd64;
  13. if (Vn + Length + 1 > 32)
  14. {
  15. Instruction = InstDescriptor.Undefined;
  16. }
  17. }
  18. }
  19. }