Home
last modified time | relevance | path

Searched refs:DivOrRem (Results 1 – 2 of 2) sorted by relevance

/external/v8/src/wasm/baseline/x64/
Dliftoff-assembler-x64.h443 enum class DivOrRem : uint8_t { kDiv, kRem }; enum
444 template <typename type, DivOrRem div_or_rem>
449 std::is_signed<type>::value && div_or_rem == DivOrRem::kDiv; in EmitIntDivOrRem()
451 std::is_signed<type>::value && div_or_rem == DivOrRem::kRem; in EmitIntDivOrRem()
520 constexpr Register kResultReg = div_or_rem == DivOrRem::kDiv ? rax : rdx; in EmitIntDivOrRem()
531 liftoff::EmitIntDivOrRem<int32_t, liftoff::DivOrRem::kDiv>( in emit_i32_divs()
537 liftoff::EmitIntDivOrRem<uint32_t, liftoff::DivOrRem::kDiv>( in emit_i32_divu()
543 liftoff::EmitIntDivOrRem<int32_t, liftoff::DivOrRem::kRem>( in emit_i32_rems()
549 liftoff::EmitIntDivOrRem<uint32_t, liftoff::DivOrRem::kRem>( in emit_i32_remu()
693 liftoff::EmitIntDivOrRem<int64_t, liftoff::DivOrRem::kDiv>( in emit_i64_divs()
[all …]
/external/v8/src/wasm/baseline/ia32/
Dliftoff-assembler-ia32.h506 enum class DivOrRem : uint8_t { kDiv, kRem }; enum
507 template <bool is_signed, DivOrRem div_or_rem>
512 is_signed && div_or_rem == DivOrRem::kDiv; in EmitInt32DivOrRem()
514 is_signed && div_or_rem == DivOrRem::kRem; in EmitInt32DivOrRem()
566 constexpr Register kResultReg = div_or_rem == DivOrRem::kDiv ? eax : edx; in EmitInt32DivOrRem()
575 liftoff::EmitInt32DivOrRem<true, liftoff::DivOrRem::kDiv>( in emit_i32_divs()
581 liftoff::EmitInt32DivOrRem<false, liftoff::DivOrRem::kDiv>( in emit_i32_divu()
587 liftoff::EmitInt32DivOrRem<true, liftoff::DivOrRem::kRem>( in emit_i32_rems()
593 liftoff::EmitInt32DivOrRem<false, liftoff::DivOrRem::kRem>( in emit_i32_remu()