OpCode32SimdTbl.cs 680 B

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