Home
last modified time | relevance | path

Searched refs:fp_argv (Results 1 – 5 of 5) sorted by relevance

/frameworks/libs/binary_translation/code_gen_lib/
Dcode_gen_lib_riscv64_test.cc334 ASSERT_EQ(kNanBoxFloat32, buf->fp_argv[0] & kNanBoxFloat32); in Run18Fp()
335 ASSERT_FLOAT_EQ(0.0f, bit_cast<float>(static_cast<uint32_t>(buf->fp_argv[0]))); in Run18Fp()
336 ASSERT_EQ(kNanBoxFloat32, buf->fp_argv[1] & kNanBoxFloat32); in Run18Fp()
337 ASSERT_FLOAT_EQ(1.1f, bit_cast<float>(static_cast<uint32_t>(buf->fp_argv[1]))); in Run18Fp()
338 ASSERT_EQ(kNanBoxFloat32, buf->fp_argv[2] & kNanBoxFloat32); in Run18Fp()
339 ASSERT_FLOAT_EQ(2.2f, bit_cast<float>(static_cast<uint32_t>(buf->fp_argv[2]))); in Run18Fp()
340 ASSERT_EQ(kNanBoxFloat32, buf->fp_argv[3] & kNanBoxFloat32); in Run18Fp()
341 ASSERT_FLOAT_EQ(3.3f, bit_cast<float>(static_cast<uint32_t>(buf->fp_argv[3]))); in Run18Fp()
342 ASSERT_EQ(kNanBoxFloat32, buf->fp_argv[4] & kNanBoxFloat32); in Run18Fp()
343 ASSERT_FLOAT_EQ(4.4f, bit_cast<float>(static_cast<uint32_t>(buf->fp_argv[4]))); in Run18Fp()
[all …]
Dgen_wrapper_riscv64_to_x86_64.cc96 constexpr int kFpArgvOffset = offsetof(GuestArgumentBuffer, fp_argv); in GenWrapGuestFunction()
/frameworks/libs/binary_translation/runtime/
Drun_guest_call_riscv64.cc76 memcpy(&(state->cpu.f[FA0]), buf->fp_argv, buf->fp_argc * sizeof(buf->fp_argv[0])); in RunGuestCall()
99 memcpy(buf->fp_argv, &(state->cpu.f[FA0]), buf->fp_resc * sizeof(buf->fp_argv[0])); in RunGuestCall()
/frameworks/libs/binary_translation/guest_abi/riscv64/
Dguest_arguments_test.cc92 .fp_argv = {0x3ff0000000000000, in TEST()
219 GuestArgumentBuffer buffer{.argv = {100}, .fp_argv = {0x3fe0000000000000}}; in TEST()
237 GuestArgumentBuffer buffer{.argv = {100}, .fp_argv = {0x3fe0000000000000}}; in TEST()
245 GuestArgumentBuffer buffer{.argv = {100}, .fp_argv = {0x3fe0000000000000}}; in TEST()
252 GuestArgumentBuffer buffer{.argv = {100}, .fp_argv = {0x3fe0000000000000}}; in TEST()
/frameworks/libs/binary_translation/guest_abi/riscv64/include/berberis/guest_abi/
Dguest_arguments_arch.h37 uint64_t fp_argv[8]; member
160 return buffer_->fp_argv + loc.offset; in ArgLocationAddress()