OpCode32SimdRegElemLong.cs 870 B

12345678910111213141516171819202122
  1. namespace ARMeilleure.Decoders
  2. {
  3. class OpCode32SimdRegElemLong : OpCode32SimdRegElem
  4. {
  5. public new static OpCode Create(InstDescriptor inst, ulong address, int opCode) => new OpCode32SimdRegElemLong(inst, address, opCode, false);
  6. public new static OpCode CreateT32(InstDescriptor inst, ulong address, int opCode) => new OpCode32SimdRegElemLong(inst, address, opCode, true);
  7. public OpCode32SimdRegElemLong(InstDescriptor inst, ulong address, int opCode, bool isThumb) : base(inst, address, opCode, isThumb)
  8. {
  9. Q = false;
  10. F = false;
  11. RegisterSize = RegisterSize.Simd64;
  12. // (Vd & 1) != 0 || Size == 3 are also invalid, but they are checked on encoding.
  13. if (Size == 0)
  14. {
  15. Instruction = InstDescriptor.Undefined;
  16. }
  17. }
  18. }
  19. }