OpCodeSimdShImm.cs 389 B

12345678910111213141516
  1. using ARMeilleure.Common;
  2. namespace ARMeilleure.Decoders
  3. {
  4. class OpCodeSimdShImm : OpCodeSimd
  5. {
  6. public int Imm { get; private set; }
  7. public OpCodeSimdShImm(InstDescriptor inst, ulong address, int opCode) : base(inst, address, opCode)
  8. {
  9. Imm = (opCode >> 16) & 0x7f;
  10. Size = BitUtils.HighestBitSetNibble(Imm >> 3);
  11. }
  12. }
  13. }