Home
last modified time | relevance | path

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

/openbmc/qemu/target/loongarch/
H A Dvec.h73 #define SHF_POS(i, imm) (((i) & 0xfc) + (((imm) >> (2 * ((i) & 0x03))) & 0x03)) macro
/openbmc/qemu/target/mips/tcg/
H A Dmsa_helper.c5310 #define SHF_POS(i, imm) (((i) & 0xfc) + (((imm) >> (2 * ((i) & 0x03))) & 0x03)) macro
5323 pwx->b[i] = pws->b[SHF_POS(i, imm)]; in helper_msa_shf_df()
5328 pwx->h[i] = pws->h[SHF_POS(i, imm)]; in helper_msa_shf_df()
5333 pwx->w[i] = pws->w[SHF_POS(i, imm)]; in helper_msa_shf_df()
/openbmc/qemu/target/loongarch/tcg/
H A Dvec_helper.c3392 temp.E(i) = Vj->E(SHF_POS(i - ((j -1)* max), imm) + (j - 1) * max); \