Lines Matching refs:desc

34 static inline uint32_t vext_nf(uint32_t desc)  in vext_nf()  argument
36 return FIELD_EX32(simd_data(desc), VDATA, NF); in vext_nf()
71 static inline int32_t vext_lmul(uint32_t desc) in vext_lmul() argument
73 return sextract32(FIELD_EX32(simd_data(desc), VDATA, LMUL), 0, 3); in vext_lmul()
76 static inline uint32_t vext_vm(uint32_t desc) in vext_vm() argument
78 return FIELD_EX32(simd_data(desc), VDATA, VM); in vext_vm()
81 static inline uint32_t vext_vma(uint32_t desc) in vext_vma() argument
83 return FIELD_EX32(simd_data(desc), VDATA, VMA); in vext_vma()
86 static inline uint32_t vext_vta(uint32_t desc) in vext_vta() argument
88 return FIELD_EX32(simd_data(desc), VDATA, VTA); in vext_vta()
91 static inline uint32_t vext_vta_all_1s(uint32_t desc) in vext_vta_all_1s() argument
93 return FIELD_EX32(simd_data(desc), VDATA, VTA_ALL_1S); in vext_vta_all_1s()
113 static inline uint32_t vext_get_total_elems(CPURISCVState *env, uint32_t desc, in vext_get_total_elems() argument
116 uint32_t vlenb = simd_maxsz(desc); in vext_get_total_elems()
118 int8_t emul = ctzl(esz) - ctzl(sew) + vext_lmul(desc) < 0 ? 0 : in vext_get_total_elems()
119 ctzl(esz) - ctzl(sew) + vext_lmul(desc); in vext_get_total_elems()
151 CPURISCVState *env, uint32_t desc) \
153 uint32_t vm = vext_vm(desc); \
156 vext_get_total_elems(env, desc, ESZ); \
157 uint32_t vta = vext_vta(desc); \
158 uint32_t vma = vext_vma(desc); \
190 CPURISCVState *env, uint32_t desc,
197 uint32_t desc) \
199 do_vext_vv(vd, v0, vs1, vs2, env, desc, \
217 CPURISCVState *env, uint32_t desc,
224 uint32_t desc) \
226 do_vext_vx(vd, v0, s1, vs2, env, desc, \