public static void Fmov_Itof(AILEmitterCtx Context) { AOpCodeSimdCvt Op = (AOpCodeSimdCvt)Context.CurrOp; Context.EmitLdintzr(Op.Rn); Context.EmitStvecsi(Op.Rd); }
public static void Sub_S(AILEmitterCtx Context) { AOpCodeSimdReg Op = (AOpCodeSimdReg)Context.CurrOp; Context.EmitLdvecsi(Op.Rn); Context.EmitLdvecsi(Op.Rm); Context.Emit(OpCodes.Sub); Context.EmitStvecsi(Op.Rd); }
public static void Sshr_S(AILEmitterCtx Context) { AOpCodeSimdShImm Op = (AOpCodeSimdShImm)Context.CurrOp; Context.EmitLdvecsi(Op.Rn); Context.EmitLdc_I4((8 << (Op.Size + 1)) - Op.Imm); Context.Emit(OpCodes.Shr); Context.EmitStvecsi(Op.Rd); }
public static void Shl_S(AILEmitterCtx Context) { AOpCodeSimdShImm Op = (AOpCodeSimdShImm)Context.CurrOp; Context.EmitLdvecsi(Op.Rn); Context.EmitLdc_I4(Op.Imm - (8 << Op.Size)); Context.Emit(OpCodes.Shl); Context.EmitStvecsi(Op.Rd); }