[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 20/26] target/mips: Extract XBurst Media eXtension Unit trans
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH 20/26] target/mips: Extract XBurst Media eXtension Unit translation routines |
Date: |
Sun, 22 Nov 2020 18:58:24 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 |
On 11/21/20 9:13 PM, Richard Henderson wrote:
> On 11/20/20 1:08 PM, Philippe Mathieu-Daudé wrote:
>> Media eXtension Unit is a SIMD extension from Ingenic.
>>
>> Extract 2900 lines from the huge translate.c to a new file,
>> 'vendor-xburst_translate.c.inc'. As there are too many inter-
>> dependencies we don't compile it as another object, but
>> keep including it in the big translate.o. We gain in code
>> maintainability.
>>
>> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
>> ---
>> target/mips/translate.c | 2890 +-------------------
>> target/mips/vendor-xburst_translate.c.inc | 2893 +++++++++++++++++++++
>> 2 files changed, 2894 insertions(+), 2889 deletions(-)
>> create mode 100644 target/mips/vendor-xburst_translate.c.inc
>
> Where does the xburst name come from?
> It's a little confusing that all of the comments talk about MXU but the
> filename is xburst. Perhaps add a comment near the top identifying the
> rename,
> if you can?
This is in the first comment:
* "XBurst® Instruction Set Architecture MIPS eXtension/enhanced Unit
* Programming Manual", Ingenic Semiconductor Co, Ltd., revision June
2, 2017
But it appears at the end, and the comment is 340+ lines...
I'll move it to the top.
Phil.
>
>
> r~
>
- [PATCH 16/26] target/mips: Rename lmmi_helper.c as loong-simd_helper.c, (continued)
- [PATCH 16/26] target/mips: Rename lmmi_helper.c as loong-simd_helper.c, Philippe Mathieu-Daudé, 2020/11/20
- [PATCH 18/26] target/mips: Extract Loongson SIMD translation routines, Philippe Mathieu-Daudé, 2020/11/20
- [PATCH 19/26] target/mips: Extract Loongson EXTensions translation routines, Philippe Mathieu-Daudé, 2020/11/20
- [PATCH 20/26] target/mips: Extract XBurst Media eXtension Unit translation routines, Philippe Mathieu-Daudé, 2020/11/20
- [PATCH 21/26] target/mips: Make pipeline 1 multiply opcodes generic, Philippe Mathieu-Daudé, 2020/11/20
- [PATCH 22/26] target/mips: Extract Toshiba TXx9 translation routines, Philippe Mathieu-Daudé, 2020/11/20
- [PATCH 23/26] target/mips: Extract Toshiba TX79 multimedia translation routines, Philippe Mathieu-Daudé, 2020/11/20
- [PATCH 24/26] MAINTAINERS: Add entry for MIPS Loongson TCG, Philippe Mathieu-Daudé, 2020/11/20
- [PATCH 25/26] MAINTAINERS: Add entry for MIPS Ingenic Xburst TCG, Philippe Mathieu-Daudé, 2020/11/20
- [PATCH 26/26] MAINTAINERS: Add entry for MIPS Toshiba TCG, Philippe Mathieu-Daudé, 2020/11/20