Home
last modified time | relevance | path

Searched full:fmod (Results 1 – 25 of 30) sorted by relevance

12

/arkcompiler/runtime_core/tests/regression/
Dfmod.pa14 # fmod(a0, a1) == a2
15 .function i32 fmod(f64 a0, f64 a1, f64 a2) {
26 call fmod, v0, v1, v2
32 call fmod, v0, v1, v2
38 call fmod, v0, v1, v2
44 call fmod, v0, v1, v2
50 call fmod, v0, v1, v2
/arkcompiler/runtime_core/compiler/optimizer/code_generator/target/aarch64/
Dlib_helpers.inl17 // defined in libm.so, fmod function from math.h
18 extern "C" double fmod(double a, double b); // NOLINT(misc-definitions-in-headers,readability-iden…
/arkcompiler/runtime_core/compiler/optimizer/code_generator/target/amd64/
Dlib_helpers.inl18 // defined in libm.so, fmod function from math.h
19 extern "C" double fmod(double a, double b); // NOLINT(misc-definitions-in-headers,readability-iden…
Dencode.cpp1167 MakeLibCall(dst, src0, src1, reinterpret_cast<void *>(static_cast<fp>(fmod))); in EncodeModFloat()
/arkcompiler/runtime_core/compiler/optimizer/code_generator/target/aarch32/
Dlib_helpers.inl140 // defined in libm.so, fmod function from math.h
141 extern "C" double fmod(double a, double b); // NOLINT(misc-definitions-in-headers,readability-iden…
/arkcompiler/runtime_core/compiler/optimizer/templates/intrinsics/
Dget_intrinsics.inl.erb63 return reinterpret_cast<uintptr_t>(static_cast<fp>(fmod));
/arkcompiler/runtime_core/compiler/optimizer/ir_builder/
Dinst_templates.yaml16 % regex_arithm = /(fdiv|fmod|add|sub|mul|and|or|xor|ashr|shr|shl|neg|not)[2i]?/
19 % opc = opc[1].capitalize.gsub('Ashr', 'AShr').gsub('Fdiv', 'Div').gsub('Fmod', 'Mod')
/arkcompiler/ets_runtime/ecmascript/ic/
Dic_binary_op.h216 return JSTaggedValue(std::fmod(dLeft, dRight)); in ModWithTSType()
235 return JSTaggedValue(std::fmod(dLeft, dRight)); in ModWithTSType()
/arkcompiler/ets_runtime/ecmascript/compiler/
Dgate_meta_data.h147 V(Fmod, FMOD, GateFlags::NONE_FLAG, 0, 0, 2) \
Dcircuit_optimizer.cpp302 case OpCode::FMOD: in RunFloatingPointArithmetic()
303 return fmod(valueA, valueB); in RunFloatingPointArithmetic()
510 {OpCode::FMOD, [&]() -> bool { return RunFMod(gate); }}, in Run()
1009 auto value = RunBasicArithmetic(operandA, operandB, OpCode::FMOD, machineType); in RunFMod()
Dgate.cpp127 case OpCode::FMOD: in CheckValueInput()
Dcircuit_ir_specification.md365 * **FMOD**: returns the remainder from the division of its two floating-point operands.
Dllvm_ir_builder.cpp182 {OpCode::FMOD, &LLVMIRBuilder::HandleMod}, in InitializeHandlers()
Dtype_lowering.cpp2100 return builder_.BinaryArithmetic(circuit_->Fmod(), MachineType::F64, left, right); in DoubleMod()
/arkcompiler/runtime_core/runtime/interpreter/
Dmath_helpers.h65 return std::fmod(x, y); in operator()
/arkcompiler/ets_runtime/ecmascript/interpreter/
Dfast_runtime_stub-inl.h82 return JSTaggedValue(std::fmod(dLeft, dRight)); in FastMod()
/arkcompiler/ets_runtime/ecmascript/compiler/tests/
Dcircuit_optimizer_tests.cpp260 acc.SetMetaData(newX, circuit.Fmod()); in HWTEST_F_L0()
269 fmod(x, y)); in HWTEST_F_L0()
/arkcompiler/ets_frontend/es2panda/ir/ts/
DtsEnumDeclaration.cpp191 return std::fmod(std::get<double>(left), std::get<double>(right)); in EvaluateBinaryExpression()
/arkcompiler/runtime_core/compiler/tests/
Dinst_generator_test.cpp547 return fmod(param_1, param_2); in DoLogic()
843 …// Disabled, because external fmod() call is currently x86_64 -- incompatible with aarch64 runtime… in RandomTestsPart1()
/arkcompiler/runtime_core/compiler/optimizer/templates/
Dinst_builder_gen.cpp.erb106 /(fdiv|fmod|add|sub|mul|and|or|xor|ashr|shr|shl|neg|not)[2i]?$/ => "binop",
/arkcompiler/ets_runtime/ecmascript/base/
Dnumber_helper.cpp271 uint8_t remainder = static_cast<uint8_t>(std::fmod(number, radix)); in IntegerToString()
/arkcompiler/runtime_core/tests/
DCMakeLists.txt878 add_test_file(FILE "${CMAKE_CURRENT_SOURCE_DIR}/regression/fmod.pa" COMPILER_OPTIONS --compiler-inl…
/arkcompiler/runtime_core/irtoc/scripts/
Dinterpreter.irt1096 v_ := call_runtime("fmod", acc_value.f64, vs).f64
/arkcompiler/ets_runtime/ecmascript/stubs/
Druntime_stubs.cpp1973 double result = std::fmod(x, y); in FloatMod()
Druntime_stubs-inl.h1599 return JSTaggedValue(std::fmod(dLeft, dRight)); in RuntimeMod2()

12