[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 03/10] target/mips: Outline places for future MSA
From: |
Aleksandar Markovic |
Subject: |
[Qemu-devel] [PATCH v2 03/10] target/mips: Outline places for future MSA helpers |
Date: |
Thu, 6 Jun 2019 17:06:36 +0200 |
From: Aleksandar Markovic <address@hidden>
Outline places for future MSA helpers to follow the same organization
as in MSA tests.
Signed-off-by: Aleksandar Markovic <address@hidden>
Reviewed-by: Aleksandar Rikalo <address@hidden>
Message-Id: <address@hidden>
---
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
- [Qemu-devel] [PATCH v2 09/10] tests/tcg: target/mips: Add README for MSA tests, (continued)
- [Qemu-devel] [PATCH v2 09/10] tests/tcg: target/mips: Add README for MSA tests, Aleksandar Markovic, 2019/06/06
- [Qemu-devel] [PATCH v2 10/10] tests/tcg: target/mips: Add tests for MSA FP max/min instructions, Aleksandar Markovic, 2019/06/06
- [Qemu-devel] [PATCH v2 08/10] tests/tcg: target/mips: Add utility function reset_msa_registers(), Aleksandar Markovic, 2019/06/06
- [Qemu-devel] [PATCH v2 06/10] tests/tcg: target/mips: Add tests for MSA shift instructions, Aleksandar Markovic, 2019/06/06
- [Qemu-devel] [PATCH v2 00/10] Amend and clean up MSA support, Aleksandar Markovic, 2019/06/06
- [Qemu-devel] [PATCH v2 04/10] target/mips: Unroll loops in helpers for MSA logic instructions, Aleksandar Markovic, 2019/06/06
- [Qemu-devel] [PATCH v2 05/10] tests/tcg: target/mips: Amend and rearrange MSA wrappers, Aleksandar Markovic, 2019/06/06
- [Qemu-devel] [PATCH v2 07/10] tests/tcg: target/mips: Move four tests to a better location, Aleksandar Markovic, 2019/06/06
- [Qemu-devel] [PATCH v2 03/10] target/mips: Outline places for future MSA helpers,
Aleksandar Markovic <=
- [Qemu-devel] [PATCH v2 01/10] target/mips: Fix space-related format issues im msa_helper.c, Aleksandar Markovic, 2019/06/06
- [Qemu-devel] [PATCH v2 02/10] target/mips: Fix block-comment-related issues im msa_helper.c, Aleksandar Markovic, 2019/06/06
- [Qemu-devel] [PATCH v2 10/10] tests/tcg: target/mips: Add README for MSA tests, Aleksandar Markovic, 2019/06/06
- [Qemu-devel] [PATCH v2 09/10] tests/tcg: target/mips: Add tests for MSA FP max/min instructions, Aleksandar Markovic, 2019/06/06
- [Qemu-devel] [PATCH v2 06/10] tests/tcg: target/mips: Add tests for MSA shift instructions, Aleksandar Markovic, 2019/06/06
- [Qemu-devel] [PATCH v2 08/10] tests/tcg: target/mips: Add utility function reset_msa_registers(), Aleksandar Markovic, 2019/06/06