OpCode32SimdRegElemLong.cs 688 B

123456789101112131415161718192021
  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);
  6. public OpCode32SimdRegElemLong(InstDescriptor inst, ulong address, int opCode) : base(inst, address, opCode)
  7. {
  8. Q = false;
  9. F = false;
  10. RegisterSize = RegisterSize.Simd64;
  11. // (Vd & 1) != 0 || Size == 3 are also invalid, but they are checked on encoding.
  12. if (Size == 0)
  13. {
  14. Instruction = InstDescriptor.Undefined;
  15. }
  16. }
  17. }
  18. }