/frameworks/libs/binary_translation/intrinsics/include/berberis/intrinsics/ |
D | intrinsics_floating_point_impl.h | 34 std::tuple<FloatType> FAdd(int8_t rm, int8_t frm, FloatType arg1, FloatType arg2) { in FAdd() argument 37 frm, in FAdd() 75 std::tuple<TargetOperandType> FCvtFloatToFloat(int8_t rm, int8_t frm, SourceOperandType arg) { in FCvtFloatToFloat() argument 86 rm, frm, [](auto x) { return typename TypeTraits<decltype(x)>::Narrow(x); }, arg); in FCvtFloatToFloat() 93 std::tuple<TargetOperandType> FCvtFloatToInteger(int8_t rm, int8_t frm, SourceOperandType arg) { in FCvtFloatToInteger() argument 97 int8_t actual_rm = rm == FPFlags::DYN ? frm : rm; in FCvtFloatToInteger() 150 std::tuple<FloatType> FDiv(int8_t rm, int8_t frm, FloatType arg1, FloatType arg2) { in FDiv() argument 153 frm, in FDiv() 168 std::tuple<FloatType> FMAdd(int8_t rm, int8_t frm, FloatType arg1, FloatType arg2, FloatType arg3) { in FMAdd() argument 171 frm, in FMAdd() [all …]
|
/frameworks/libs/binary_translation/decoder/include/berberis/decoder/riscv64/ |
D | semantics_player.h | 181 Register frm = listener_->template GetCsr<CsrName::kFrm>(); in Fcvt() local 182 FpRegister result = listener_->template FCvtFloatToFloat<Float32, Float64>(args.rm, frm, arg); in Fcvt() 187 Register frm = listener_->template GetCsr<CsrName::kFrm>(); in Fcvt() local 188 FpRegister result = listener_->template FCvtFloatToFloat<Float64, Float32>(args.rm, frm, arg); in Fcvt() 213 Register frm = listener_->template GetCsr<CsrName::kFrm>(); in FcvtloatToInteger() local 217 result = listener_->template FCvtFloatToInteger<int32_t, FLoatType>(rm, frm, arg); in FcvtloatToInteger() 220 result = listener_->template FCvtFloatToInteger<uint32_t, FLoatType>(rm, frm, arg); in FcvtloatToInteger() 223 result = listener_->template FCvtFloatToInteger<int64_t, FLoatType>(rm, frm, arg); in FcvtloatToInteger() 226 result = listener_->template FCvtFloatToInteger<uint64_t, FLoatType>(rm, frm, arg); in FcvtloatToInteger() 251 Register frm = listener_->template GetCsr<CsrName::kFrm>(); in FcvtIntegerToFloat() local [all …]
|
/frameworks/libs/binary_translation/lite_translator/riscv64_to_x86_64/ |
D | inline_intrinsic.h | 58 auto [rm, frm, src1, src2] = args_tuple; in TryInlineWithHostRounding() 65 auto [rm, frm, src1, src2] = args_tuple; in TryInlineWithHostRounding() 72 auto [rm, frm, src1, src2] = args_tuple; in TryInlineWithHostRounding() 79 auto [rm, frm, src1, src2] = args_tuple; in TryInlineWithHostRounding() 86 auto [rm, frm, src1, src2] = args_tuple; in TryInlineWithHostRounding() 93 auto [rm, frm, src1, src2] = args_tuple; in TryInlineWithHostRounding() 100 auto [rm, frm, src1, src2] = args_tuple; in TryInlineWithHostRounding() 107 auto [rm, frm, src1, src2] = args_tuple; in TryInlineWithHostRounding() 114 auto [rm, frm, src] = args_tuple; in TryInlineWithHostRounding() 122 auto [rm, frm, src] = args_tuple; in TryInlineWithHostRounding() [all …]
|
/frameworks/libs/binary_translation/heavy_optimizer/riscv64/ |
D | inline_intrinsic.h | 62 auto [rm, frm, src1, src2] = args_tuple; in TryInlineWithHostRounding() 70 auto [rm, frm, src1, src2] = args_tuple; in TryInlineWithHostRounding() 78 auto [rm, frm, src1, src2] = args_tuple; in TryInlineWithHostRounding() 86 auto [rm, frm, src1, src2] = args_tuple; in TryInlineWithHostRounding() 94 auto [rm, frm, src1, src2] = args_tuple; in TryInlineWithHostRounding() 102 auto [rm, frm, src1, src2] = args_tuple; in TryInlineWithHostRounding() 110 auto [rm, frm, src1, src2] = args_tuple; in TryInlineWithHostRounding() 118 auto [rm, frm, src1, src2] = args_tuple; in TryInlineWithHostRounding() 126 auto [rm, frm, src] = args_tuple; in TryInlineWithHostRounding() 134 auto [rm, frm, src] = args_tuple; in TryInlineWithHostRounding() [all …]
|
/frameworks/libs/native_bridge_support/guest_state/include/native_bridge_support/riscv64/guest_state/ |
D | guest_state_cpu_state.h | 64 uint8_t frm; member
|
/frameworks/libs/binary_translation/guest_state/riscv64/include/berberis/guest_state/ |
D | guest_state_arch.h | 55 BERBERIS_RISV64_PROCESS_CSR(Frm, frm, 0b111) \
|
/frameworks/libs/binary_translation/interpreter/riscv64/ |
D | interpreter.h | 1488 return OpVectorWidenv<[](int8_t frm, SIMD128Register src) { in OpVector() 1489 return intrinsics::Vfcvtv<WideElementType, UnsignedType>(FPFlags::DYN, frm, src); in OpVector() 1497 return OpVectorWidenv<[](int8_t frm, SIMD128Register src) { in OpVector() 1498 return intrinsics::Vfcvtv<WideElementType, SignedType>(FPFlags::DYN, frm, src); in OpVector() 1506 return OpVectorNarroww<[](int8_t frm, SIMD128Register src) { in OpVector() 1507 return intrinsics::Vfcvtv<UnsignedType, WideElementType>(FPFlags::DYN, frm, src); in OpVector() 1515 return OpVectorNarroww<[](int8_t frm, SIMD128Register src) { in OpVector() 1516 return intrinsics::Vfcvtv<SignedType, WideElementType>(FPFlags::DYN, frm, src); in OpVector() 1524 return OpVectorNarroww<[](int8_t frm, SIMD128Register src) { in OpVector() 1525 return intrinsics::Vfcvtv<UnsignedType, WideElementType>(FPFlags::RTZ, frm, src); in OpVector() [all …]
|
D | interpreter_test.cc | 96 .cpu = {.vtype = uint64_t{1} << 63, .frm = intrinsics::GuestModeFromHostRounding()}} {} in Riscv64InterpreterTest()
|
/frameworks/libs/binary_translation/intrinsics/riscv64/include/berberis/intrinsics/riscv64/ |
D | vector_intrinsics.h | 701 inline std::tuple<SIMD128Register> Vfcvtv(int8_t rm, int8_t frm, SIMD128Register src) { in Vfcvtv() argument 711 rm, frm, src.Get<SourceElementType>(index))), in Vfcvtv() 718 rm, frm, src.Get<typename SourceElementType::BaseType>(index))), in Vfcvtv() 722 rm, frm, src.Get<SourceElementType>(index))), in Vfcvtv()
|