Home
last modified time | relevance | path

Searched refs:vxrm (Results 1 – 3 of 3) sorted by relevance

/frameworks/libs/binary_translation/intrinsics/include/berberis/intrinsics/
Dintrinsics_fixed_point_impl.h64 std::tuple<ElementType> Aadd(int8_t vxrm, ElementType unwrapped_x, ElementType unwrapped_y) { in Aadd() argument
72 switch (vxrm) { in Aadd()
89 std::tuple<ElementType> Asub(int8_t vxrm, ElementType unwrapped_x, ElementType unwrapped_y) { in Asub() argument
97 switch (vxrm) { in Asub()
124 std::tuple<ElementType> Roundoff(int8_t vxrm, ElementType unwrapped_v, ElementType premasked_d) { in Roundoff() argument
134 switch (vxrm) { in Roundoff()
/frameworks/libs/binary_translation/intrinsics/riscv64/
Dintrinsics_test.cc35 auto Verify = []<typename T>(int8_t vxrm) { in TEST()
38 ASSERT_EQ(Aadd<T>(vxrm, x, y), Roundoff(vxrm, x + y, 1)); in TEST()
53 auto Verify = []<typename T>(int8_t vxrm) { in TEST()
60 ASSERT_EQ(std::get<0>(Asub<T>(vxrm, x, y)), in TEST()
61 static_cast<T>(std::get<0>(Roundoff(vxrm, x - y, 1)))); in TEST()
/frameworks/libs/binary_translation/tests/inline_asm_tests/
Dmain_riscv64.cc4388 uint64_t vxrm; in TEST() local
4392 : "=r"(vxrm) in TEST()
5066 asm volatile("csrw vxrm, %0\n\t" ::"r"(vxrm)); in TEST()
5070 uint64_t vxrm; in TEST() local
5074 : "=r"(vxrm) in TEST()
5747 asm volatile("csrw vxrm, %0\n\t" ::"r"(vxrm)); in TEST()
5751 uint64_t vxrm; in TEST() local
5755 : "=r"(vxrm) in TEST()
6429 asm volatile("csrw vxrm, %0\n\t" ::"r"(vxrm)); in TEST()
6433 uint64_t vxrm; in TEST() local
[all …]