From: Aleksandar Markovic <amarko...@wavecomp.com> Outline places for future MSA helpers to follow the same organization as in MSA tests.
Signed-off-by: Aleksandar Markovic <amarko...@wavecomp.com> Reviewed-by: Aleksandar Rikalo <arik...@wavecomp.com> Message-Id: <1559745316-1454-7-git-send-email-aleksandar.marko...@rt-rk.com> --- target/mips/msa_helper.c | 138 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 138 insertions(+) diff --git a/target/mips/msa_helper.c b/target/mips/msa_helper.c index 851450c..7b73e22 100644 --- a/target/mips/msa_helper.c +++ b/target/mips/msa_helper.c @@ -42,6 +42,144 @@ /* Element-by-element access macros */ #define DF_ELEMENTS(df) (MSA_WRLEN / DF_BITS(df)) + + +/* + * Bit Count + * --------- + */ + +/* TODO: insert appropriate helpers here */ + + +/* + * Bit move + * -------- + */ + +/* TODO: insert appropriate helpers here */ + + +/* + * Bit Set + * ------- + */ + +/* TODO: insert appropriate helpers here */ + + +/* + * Fixed Multiply + * -------------- + */ + +/* TODO: insert appropriate helpers here */ + + +/* + * Int Add + * ------- + */ + +/* TODO: insert appropriate helpers here */ + + +/* + * Int Average + * ----------- + */ + +/* TODO: insert appropriate helpers here */ + + +/* + * Int Compare + * ----------- + */ + +/* TODO: insert appropriate helpers here */ + + +/* + * Int Divide + * ---------- + */ + +/* TODO: insert appropriate helpers here */ + + +/* + * Int Dot Product + * --------------- + */ + +/* TODO: insert appropriate helpers here */ + + +/* + * Int Max Min + * ----------- + */ + +/* TODO: insert appropriate helpers here */ + + +/* + * Int Modulo + * ---------- + */ + +/* TODO: insert appropriate helpers here */ + + +/* + * Int Multiply + * ------------ + */ + +/* TODO: insert appropriate helpers here */ + + +/* + * Int Subtract + * ------------ + */ + +/* TODO: insert appropriate helpers here */ + + +/* + * Interleave + * ---------- + */ + +/* TODO: insert appropriate helpers here */ + + +/* + * Logic + * ----- + */ + +/* TODO: insert appropriate helpers here */ + + +/* + * Pack + * ---- + */ + +/* TODO: insert appropriate helpers here */ + + +/* + * Shift + * ----- + */ + +/* TODO: insert appropriate helpers here */ + + static inline void msa_move_v(wr_t *pwd, wr_t *pws) { uint32_t i; -- 2.7.4