From: Mateja Marjanovic <Mateja.Marjanovic@rt-rk.com>
To: Aleksandar Markovic <amarkovic@wavecomp.com>,
"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>
Cc: "aurelien@aurel32.net" <aurelien@aurel32.net>,
Aleksandar Rikalo <arikalo@wavecomp.com>
Subject: Re: [Qemu-devel] [PATCH v3 0/5] Add support for MSA instructions on a big endian host
Date: Tue, 2 Apr 2019 12:03:25 +0200 [thread overview]
Message-ID: <6848c456-2369-3f18-7fd8-cfd4a9a76b8d@rt-rk.com> (raw)
In-Reply-To: <CY4PR2201MB125406EDB6C28B4F84C6A5F7C6550@CY4PR2201MB1254.namprd22.prod.outlook.com>
On 1.4.19. 19:53, Aleksandar Markovic wrote:
>> From: Mateja Marjanovic <mateja.marjanovic@rt-rk.com>
>> Subject: [PATCH v3 0/5] Add support for MSA instructions on a big endian host
> "Add" -> "Fix"
>
> Big endian host support should have worked from the moment MSA
> support is added to QEMU.
I will change it in v4.
>
>> From: Mateja Marjanovic <Mateja.Marjanovic@rt-rk.com>
>>
>> Add support for MSA instructions while executing QEMU on a
>> machine that uses big endian MIPS CPU. Also change the
>> implementation of helpers for MSA instructions
>> ST.<B|H|W|D>, LD.<B|H|W|D>, INSERT.<B|H|W> (and D on MIPS64),
>> COPY_S.<B|H|W> (and D on MIPS64) and COPY_U.<B|H> (and W
>> on MIPS64). Instead of using a switch in a helper, which is
>> called many times, put a switch in translate.c file, which
>> is called only a few times.
>>
> This paragraph suggests that there are essentially two independent
> changes in this series (one for big endian host, another for refactoring
> helpers), while in reality they are closely related. You should have
> started the second sentence with "This is achieved by changing the
> implementation of helpers for...".
I will make it more clear in v4.
>
>> v3:
>> - Unroll loops in ST.<B|H|W|D> and LD.<B|H|W|D>
>> instructions.
>> - Eliminate macro that generates the helpers for
>> the ST.<B|H|W|D> and LD.<B|H|W|D> instructions,
>> and add four helpers for each (for byte,
>> halfword, word and doubleword).
>> - Eliminate the helpers for INSERT.<B|H|W|D>,
>> COPY_S.<B|H|W|D> and COPY_U.<B|H|W> and add
>> four (three in case of COPY_U) helpers for
>> each one.
>>
> The cover letter should contain the complete series history.
I thought only the last version was necessary, but from now
on I will write the complete series history.
>
> Thanks,
> Aleksandar
>
>> Mateja Marjanovic (5):
>> target/mips: MSA instructions ld, big endian host fix
>> target/mips: MSA instructions st, big endian host fix
>> target/mips: Different approach toward COPY_S MSA instr. and big
>> endian fix
>> target/mips: Different approach toward COPY_U MSA instr. and big
>> endian fix
>> target/mips: Different approach toward INSERT MSA instr. and big
>> endian fix
Thanks,
Mateja
next prev parent reply other threads:[~2019-04-02 10:05 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1553845000-6537-1-git-send-email-mateja.marjanovic@rt-rk.com>
2019-04-01 17:53 ` [Qemu-devel] [PATCH v3 0/5] Add support for MSA instructions on a big endian host Aleksandar Markovic
2019-04-02 10:03 ` Mateja Marjanovic [this message]
[not found] ` <1553845000-6537-2-git-send-email-mateja.marjanovic@rt-rk.com>
2019-04-01 17:56 ` [Qemu-devel] [PATCH v3 1/5] target/mips: MSA instructions ld, big endian host fix Aleksandar Markovic
2019-04-02 10:50 ` Mateja Marjanovic
[not found] ` <1553845000-6537-3-git-send-email-mateja.marjanovic@rt-rk.com>
2019-04-01 17:58 ` [Qemu-devel] [PATCH v3 2/5] target/mips: MSA instructions st, " Aleksandar Markovic
2019-04-02 10:53 ` Mateja Marjanovic
[not found] ` <1553845000-6537-4-git-send-email-mateja.marjanovic@rt-rk.com>
2019-04-01 18:01 ` [Qemu-devel] [PATCH v3 3/5] target/mips: Different approach toward COPY_S MSA instr. and big endian fix Aleksandar Markovic
2019-04-02 10:54 ` Mateja Marjanovic
[not found] ` <1553845000-6537-5-git-send-email-mateja.marjanovic@rt-rk.com>
2019-04-01 18:02 ` [Qemu-devel] [PATCH v3 4/5] target/mips: Different approach toward COPY_U " Aleksandar Markovic
2019-04-02 10:54 ` Mateja Marjanovic
[not found] ` <1553845000-6537-6-git-send-email-mateja.marjanovic@rt-rk.com>
2019-04-01 18:03 ` [Qemu-devel] [PATCH v3 5/5] target/mips: Different approach toward INSERT " Aleksandar Markovic
2019-04-02 10:55 ` Mateja Marjanovic
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6848c456-2369-3f18-7fd8-cfd4a9a76b8d@rt-rk.com \
--to=mateja.marjanovic@rt-rk.com \
--cc=amarkovic@wavecomp.com \
--cc=arikalo@wavecomp.com \
--cc=aurelien@aurel32.net \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).