OpCodeSimdMemImm64.cs 440 B

12345678910111213141516171819
  1. using ChocolArm64.Instructions;
  2. namespace ChocolArm64.Decoders
  3. {
  4. class OpCodeSimdMemImm64 : OpCodeMemImm64, IOpCodeSimd64
  5. {
  6. public OpCodeSimdMemImm64(Inst inst, long position, int opCode) : base(inst, position, opCode)
  7. {
  8. Size |= (opCode >> 21) & 4;
  9. if (!WBack && !Unscaled && Size >= 4)
  10. {
  11. Imm <<= 4;
  12. }
  13. Extend64 = false;
  14. }
  15. }
  16. }