Home
last modified time | relevance | path

Searched refs:vtype (Results 1 – 4 of 4) sorted by relevance

/openbmc/qemu/target/arm/tcg/
H A Dneon_helper.c72 #define NEON_UNPACK(vtype, dest, val) do { \ in NEON_TYPE4() argument
74 vtype v; \ in NEON_TYPE4()
82 #define NEON_PACK(vtype, dest, val) do { \ argument
84 vtype v; \
102 #define NEON_VOP_BODY(vtype, n) \ argument
105 vtype vsrc1; \
106 vtype vsrc2; \
107 vtype vdest; \
108 NEON_UNPACK(vtype, vsrc1, arg1); \
109 NEON_UNPACK(vtype, vsrc2, arg2); \
[all …]
/openbmc/qemu/target/riscv/
H A Dvector_internals.h118 uint32_t sew = 1 << FIELD_EX64(env->vtype, VTYPE, VSEW); in vext_get_total_elems()
H A Dvcrypto_helper.c462 uint32_t sew = FIELD_EX64(env->vtype, VTYPE, VSEW); in HELPER()
671 uint32_t esz = memop_size(FIELD_EX64(env->vtype, VTYPE, VSEW)); in HELPER()
772 uint32_t esz = memop_size(FIELD_EX64(env->vtype, VTYPE, VSEW)); in HELPER()
/openbmc/qemu/tcg/riscv/
H A Dtcg-target.c.inc537 /* Vector vtype */
546 TCGArg rs1, uint32_t vtype)
548 return opc | (rd & 0x1f) << 7 | (rs1 & 0x1f) << 15 | (vtype & 0x7ff) << 20;
552 uint32_t uimm, uint32_t vtype)
554 return opc | (rd & 0x1f) << 7 | (uimm & 0x1f) << 15 | (vtype & 0x3ff) << 20;
2986 static bool vtype_check(unsigned vtype)
2990 /* vsetvl tmp, zero, vtype */
2991 asm(".insn r 0x57, 7, 0x40, %0, zero, %1" : "=r"(tmp) : "r"(vtype));
3000 unsigned vtype = encode_vtype(true, true, vsew, lmul & 7);
3016 if (lmul < 0 && (lmul < -3 || !vtype_check(vtype))) {
[all …]