[Qemu-devel] [PATCH 1/4] target/mips: Add basic description of MXU ASE

Aleksandar Markovic posted 4 patches 7 years ago
[Qemu-devel] [PATCH 1/4] target/mips: Add basic description of MXU ASE
Posted by Aleksandar Markovic 7 years ago
From: Aleksandar Markovic <amarkovic@wavecomp.com>

Add a comment that contains a basic description of MXU ASE.

Signed-off-by: Aleksandar Markovic <amarkovic@wavecomp.com>
---
 target/mips/translate.c | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/target/mips/translate.c b/target/mips/translate.c
index ab16cdb..23e21c5 100644
--- a/target/mips/translate.c
+++ b/target/mips/translate.c
@@ -1389,6 +1389,26 @@ enum {
     OPC_BINSRI_df   = (0x7 << 23) | OPC_MSA_BIT_09,
 };
 
+
+/*
+ *    AN OVERVIEW OF MXU EXTENSTION INSTRUCTION SET
+ *    =============================================
+ *
+ * MXU (full name: MIPS eXtension/enhanced Unit) is an SIMD extension of MIPS32
+ * instructions set. It is designed to fit the needs of signal, graphical and
+ * video processing applications. MXU instruction set is used in Xburst family
+ * of microprocessors by Ingenic.
+ *
+ * MXU unit contains 17 registers called X0-X16. X0 is always zero, and X16 is
+ * the control register.
+ *
+ *   Compiled after:
+ *
+ *   "XBurst® Instruction Set Architecture MIPS eXtension/enhanced Unit
+ *   Programming Manual", Ingenic Semiconductor Co, Ltd., 2017
+ */
+
+
 /* global register indices */
 static TCGv cpu_gpr[32], cpu_PC;
 static TCGv cpu_HI[MIPS_DSP_ACC], cpu_LO[MIPS_DSP_ACC];
-- 
2.7.4


Re: [Qemu-devel] [PATCH 1/4] target/mips: Add basic description of MXU ASE
Posted by Stefan Markovic 7 years ago
On 16.10.18. 14:14, Aleksandar Markovic wrote:
> From: Aleksandar Markovic <amarkovic@wavecomp.com>
>
> Add a comment that contains a basic description of MXU ASE.
>
> Signed-off-by: Aleksandar Markovic <amarkovic@wavecomp.com>
> ---
>   target/mips/translate.c | 20 ++++++++++++++++++++
>   1 file changed, 20 insertions(+)
>
> diff --git a/target/mips/translate.c b/target/mips/translate.c
> index ab16cdb..23e21c5 100644
> --- a/target/mips/translate.c
> +++ b/target/mips/translate.c
> @@ -1389,6 +1389,26 @@ enum {
>       OPC_BINSRI_df   = (0x7 << 23) | OPC_MSA_BIT_09,
>   };
>   
> +
> +/*
> + *    AN OVERVIEW OF MXU EXTENSTION INSTRUCTION SET
> + *    =============================================

Misspelled EXTENSION. Otherwise:

Reviewed-by: Stefan Markovic <smarkovic@wavecomp.com>


> + *
> + * MXU (full name: MIPS eXtension/enhanced Unit) is an SIMD extension of MIPS32
> + * instructions set. It is designed to fit the needs of signal, graphical and
> + * video processing applications. MXU instruction set is used in Xburst family
> + * of microprocessors by Ingenic.
> + *
> + * MXU unit contains 17 registers called X0-X16. X0 is always zero, and X16 is
> + * the control register.
> + *
> + *   Compiled after:
> + *
> + *   "XBurst® Instruction Set Architecture MIPS eXtension/enhanced Unit
> + *   Programming Manual", Ingenic Semiconductor Co, Ltd., 2017
> + */
> +
> +
>   /* global register indices */
>   static TCGv cpu_gpr[32], cpu_PC;
>   static TCGv cpu_HI[MIPS_DSP_ACC], cpu_LO[MIPS_DSP_ACC];