• Home
  • Raw
  • Download

Lines Matching refs:simulator

702   Simulator* sim = isolate_data->simulator();  in current()
3884 void Unop(Simulator* simulator, int Vd, int Vm, std::function<T(T)> unop) { in Unop() argument
3887 simulator->get_neon_register(Vm, src); in Unop()
3891 simulator->set_neon_register(Vd, src); in Unop()
3895 void Binop(Simulator* simulator, int Vd, int Vm, int Vn, in Binop() argument
3899 simulator->get_neon_register(Vn, src1); in Binop()
3900 simulator->get_neon_register(Vm, src2); in Binop()
3904 simulator->set_neon_register(Vd, src1); in Binop()
3929 void Widen(Simulator* simulator, int Vd, int Vm) { in Widen() argument
3933 simulator->get_neon_register<T, kDoubleSize>(Vm, src); in Widen()
3937 simulator->set_neon_register(Vd, dst); in Widen()
3941 void Abs(Simulator* simulator, int Vd, int Vm) { in Abs() argument
3942 Unop<T>(simulator, Vd, Vm, [](T x) { return std::abs(x); }); in Abs()
3946 void Neg(Simulator* simulator, int Vd, int Vm) { in Neg() argument
3947 Unop<T>(simulator, Vd, Vm, [](T x) { in Neg()
3954 void SaturatingNarrow(Simulator* simulator, int Vd, int Vm) { in SaturatingNarrow() argument
3958 simulator->get_neon_register(Vm, src); in SaturatingNarrow()
3962 simulator->set_neon_register<U, kDoubleSize>(Vd, dst); in SaturatingNarrow()
3966 void SaturatingUnsignedNarrow(Simulator* simulator, int Vd, int Vm) { in SaturatingUnsignedNarrow() argument
3970 simulator->get_neon_register(Vm, src); in SaturatingUnsignedNarrow()
3974 simulator->set_neon_register<U, kDoubleSize>(Vd, dst); in SaturatingUnsignedNarrow()
3978 void AddSat(Simulator* simulator, int Vd, int Vm, int Vn) { in AddSat() argument
3979 Binop<T>(simulator, Vd, Vm, Vn, SaturateAdd<T>); in AddSat()
3983 void SubSat(Simulator* simulator, int Vd, int Vm, int Vn) { in SubSat() argument
3984 Binop<T>(simulator, Vd, Vm, Vn, SaturateSub<T>); in SubSat()
3988 void Zip(Simulator* simulator, int Vd, int Vm) { in Zip() argument
3992 simulator->get_neon_register<T, SIZE>(Vd, src1); in Zip()
3993 simulator->get_neon_register<T, SIZE>(Vm, src2); in Zip()
4000 simulator->set_neon_register<T, SIZE>(Vd, dst1); in Zip()
4001 simulator->set_neon_register<T, SIZE>(Vm, dst2); in Zip()
4005 void Unzip(Simulator* simulator, int Vd, int Vm) { in Unzip() argument
4009 simulator->get_neon_register<T, SIZE>(Vd, src1); in Unzip()
4010 simulator->get_neon_register<T, SIZE>(Vm, src2); in Unzip()
4017 simulator->set_neon_register<T, SIZE>(Vd, dst1); in Unzip()
4018 simulator->set_neon_register<T, SIZE>(Vm, dst2); in Unzip()
4022 void Transpose(Simulator* simulator, int Vd, int Vm) { in Transpose() argument
4026 simulator->get_neon_register<T, SIZE>(Vd, src1); in Transpose()
4027 simulator->get_neon_register<T, SIZE>(Vm, src2); in Transpose()
4031 simulator->set_neon_register<T, SIZE>(Vd, src1); in Transpose()
4032 simulator->set_neon_register<T, SIZE>(Vm, src2); in Transpose()
4036 void Test(Simulator* simulator, int Vd, int Vm, int Vn) { in Test() argument
4038 Binop<T>(simulator, Vd, Vm, Vn, test); in Test()
4042 void Add(Simulator* simulator, int Vd, int Vm, int Vn) { in Add() argument
4043 Binop<T>(simulator, Vd, Vm, Vn, std::plus<T>()); in Add()
4047 void Sub(Simulator* simulator, int Vd, int Vm, int Vn) { in Sub() argument
4048 Binop<T>(simulator, Vd, Vm, Vn, std::minus<T>()); in Sub()
4061 void VmovImmediate(Simulator* simulator, Instruction* instr) { in VmovImmediate() argument
4074 simulator->set_d_register(vd + r, &imm64); in VmovImmediate()
4085 simulator->set_d_register(vd + r, &imm64); in VmovImmediate()
4097 void Mul(Simulator* simulator, int Vd, int Vm, int Vn) { in Mul() argument
4100 simulator->get_neon_register<T, SIZE>(Vn, src1); in Mul()
4101 simulator->get_neon_register<T, SIZE>(Vm, src2); in Mul()
4105 simulator->set_neon_register<T, SIZE>(Vd, src1); in Mul()
4109 void ShiftLeft(Simulator* simulator, int Vd, int Vm, int shift) { in ShiftLeft() argument
4110 Unop<T>(simulator, Vd, Vm, [shift](T x) { return x << shift; }); in ShiftLeft()
4114 void ShiftRight(Simulator* simulator, int Vd, int Vm, int shift) { in ShiftRight() argument
4115 Unop<T>(simulator, Vd, Vm, [shift](T x) { return x >> shift; }); in ShiftRight()
4119 void ArithmeticShiftRight(Simulator* simulator, int Vd, int Vm, int shift) { in ArithmeticShiftRight() argument
4122 Unop<T>(simulator, Vd, Vm, shift_fn); in ArithmeticShiftRight()
4126 void ShiftLeftAndInsert(Simulator* simulator, int Vd, int Vm, int shift) { in ShiftLeftAndInsert() argument
4130 simulator->get_neon_register<T, SIZE>(Vm, src); in ShiftLeftAndInsert()
4131 simulator->get_neon_register<T, SIZE>(Vd, dst); in ShiftLeftAndInsert()
4136 simulator->set_neon_register<T, SIZE>(Vd, dst); in ShiftLeftAndInsert()
4140 void ShiftRightAndInsert(Simulator* simulator, int Vd, int Vm, int shift) { in ShiftRightAndInsert() argument
4144 simulator->get_neon_register<T, SIZE>(Vm, src); in ShiftRightAndInsert()
4145 simulator->get_neon_register<T, SIZE>(Vd, dst); in ShiftRightAndInsert()
4150 simulator->set_neon_register<T, SIZE>(Vd, dst); in ShiftRightAndInsert()
4154 void ShiftByRegister(Simulator* simulator, int Vd, int Vm, int Vn) { in ShiftByRegister() argument
4158 simulator->get_neon_register<T, SIZE>(Vm, src); in ShiftByRegister()
4159 simulator->get_neon_register<S_T, SIZE>(Vn, shift); in ShiftByRegister()
4184 simulator->set_neon_register<T, SIZE>(Vd, src); in ShiftByRegister()
4188 void CompareEqual(Simulator* simulator, int Vd, int Vm, int Vn) { in CompareEqual() argument
4189 Binop<T>(simulator, Vd, Vm, Vn, [](T x, T y) { return x == y ? -1 : 0; }); in CompareEqual()
4193 void CompareGreater(Simulator* simulator, int Vd, int Vm, int Vn, bool ge) { in CompareGreater() argument
4195 Binop<T>(simulator, Vd, Vm, Vn, [](T x, T y) { return x >= y ? -1 : 0; }); in CompareGreater()
4197 Binop<T>(simulator, Vd, Vm, Vn, [](T x, T y) { return x > y ? -1 : 0; }); in CompareGreater()
4210 void MinMax(Simulator* simulator, int Vd, int Vm, int Vn, bool min) { in MinMax() argument
4212 Binop<T>(simulator, Vd, Vm, Vn, in MinMax()
4215 Binop<T>(simulator, Vd, Vm, Vn, in MinMax()
4221 void PairwiseMinMax(Simulator* simulator, int Vd, int Vm, int Vn, bool min) { in PairwiseMinMax() argument
4225 simulator->get_neon_register<T, kDoubleSize>(Vn, src1); in PairwiseMinMax()
4226 simulator->get_neon_register<T, kDoubleSize>(Vm, src2); in PairwiseMinMax()
4231 simulator->set_neon_register<T, kDoubleSize>(Vd, dst); in PairwiseMinMax()
4235 void PairwiseAdd(Simulator* simulator, int Vd, int Vm, int Vn) { in PairwiseAdd() argument
4239 simulator->get_neon_register<T, kDoubleSize>(Vn, src1); in PairwiseAdd()
4240 simulator->get_neon_register<T, kDoubleSize>(Vm, src2); in PairwiseAdd()
4245 simulator->set_neon_register<T, kDoubleSize>(Vd, dst); in PairwiseAdd()
4249 void RoundingAverageUnsigned(Simulator* simulator, int Vd, int Vm, int Vn) { in RoundingAverageUnsigned() argument
4252 Binop<T>(simulator, Vd, Vm, Vn, base::RoundingAverageUnsigned<T>); in RoundingAverageUnsigned()
4256 void MultiplyLong(Simulator* simulator, int Vd, int Vn, int Vm) { in MultiplyLong() argument
4265 simulator->get_d_register(Vn, &tmp); in MultiplyLong()
4267 simulator->get_d_register(Vm, &tmp); in MultiplyLong()
4274 simulator->set_neon_register<WideType>(Vd, dst); in MultiplyLong()