Home
last modified time | relevance | path

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

/frameworks/libs/binary_translation/intrinsics/riscv64/
Dvector_intrinsics.cc45 inline uint64_t AvlToVl(uint64_t avl, uint64_t vlmax) { in AvlToVl() argument
46 if (avl <= vlmax) { in AvlToVl()
47 return avl; in AvlToVl()
48 } else if (avl >= 2 * vlmax) { in AvlToVl()
51 return (avl + 1) / 2; in AvlToVl()
57 std::tuple<uint64_t, uint64_t> Vsetivli(uint8_t avl, uint16_t vtype) { in Vsetivli() argument
58 return Vsetvli(avl, vtype); in Vsetivli()
61 std::tuple<uint64_t, uint64_t> Vsetvl(uint64_t avl, uint64_t vtype) { in Vsetvl() argument
68 return {AvlToVl(avl, vlmax), vtype & kVtypeNoVill}; in Vsetvl()
71 std::tuple<uint64_t, uint64_t> Vsetvli(uint64_t avl, uint16_t vtype) { in Vsetvli() argument
[all …]
/frameworks/libs/binary_translation/decoder/include/berberis/decoder/riscv64/
Dsemantics_player.h891 if (args.avl == 0) { in Vsetivli()
902 auto [vl, vtype] = listener_->Vsetivli(args.avl, args.vtype); in Vsetivli()
921 Register avl = listener_->GetReg(args.src1); in Vsetvl() local
922 auto [vl, vtype] = listener_->Vsetvl(avl, vtype_new); in Vsetvl()
940 Register avl = listener_->GetReg(args.src); in Vsetvli() local
941 auto [vl, vtype] = listener_->Vsetvli(avl, args.vtype); in Vsetvli()
Ddecoder.h932 uint8_t avl; member
2191 .avl = GetBits<15, 5>(), in DecodeOpV()