OpCode32SimdBinary.cs 670 B

1234567891011121314151617181920
  1. namespace ARMeilleure.Decoders
  2. {
  3. /// <summary>
  4. /// A special alias that always runs in 64 bit int, to speed up binary ops a little.
  5. /// </summary>
  6. class OpCode32SimdBinary : OpCode32SimdReg
  7. {
  8. public new static OpCode Create(InstDescriptor inst, ulong address, int opCode) => new OpCode32SimdBinary(inst, address, opCode);
  9. public OpCode32SimdBinary(InstDescriptor inst, ulong address, int opCode) : base(inst, address, opCode)
  10. {
  11. Size = 3;
  12. if (DecoderHelper.VectorArgumentsInvalid(Q, Vd, Vm, Vn))
  13. {
  14. Instruction = InstDescriptor.Undefined;
  15. }
  16. }
  17. }
  18. }