Add support for MSA instructions on a big endian host
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 2 lines
From: Mateja Marjanovic <[email protected]>
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.
Quoted 12 lines
From: Mateja Marjanovic <[email protected]>
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.cfile, 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...".
Quoted 12 lines
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 ofCOPY_U) helpers for each one.
The cover letter should contain the complete series history.
Thanks,
Aleksandar
Quoted 9 lines
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 towardCOPY_SMSA instr. and big
endian fix
target/mips: Different approach towardCOPY_UMSA instr. and big
endian fix
target/mips: Different approach toward INSERT MSA instr. and big
endian fix
Quoted 6 lines · Aleksandar Markovic
Quoted 2 lines
From: Mateja Marjanovic <[email protected]>
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.
Quoted 12 lines
Quoted 12 lines
From: Mateja Marjanovic <[email protected]>
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.cfile, which is called only a few times.
Quoted 5 lines
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.
Quoted 13 lines
Quoted 13 lines
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 ofCOPY_U) helpers for each one.
Quoted 1 line
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.
Quoted 13 lines
Thanks,
AleksandarQuoted 9 lines
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 towardCOPY_SMSA instr. and big
endian fix
target/mips: Different approach towardCOPY_UMSA instr. and big
endian fix
target/mips: Different approach toward INSERT MSA instr. and big
endian fix
Thanks,
Mateja
A message that is not in the archive (sent off-list or not yet received): [email protected]
Re: [Qemu-devel] [PATCH v3 1/5] target/mips: MSA instructions ld, big endian host fix
Quoted 3 lines
From: Mateja Marjanovic <[email protected]>
Subject: [PATCH v3 1/5] target/mips: MSA instructions ld, big endian host fix
Start the title with the imperative, such as "target/mips: Fix..."
Use full instruction names, as explained in previous reviews.
Quoted 6 lines
From: Mateja Marjanovic <[email protected]>
Fix the case when the host is running on a big endian machine, and change the approach toward ld instruction helpers.
Signed-off-by Mateja Marjanovic <[email protected]>
Re: [Qemu-devel] [PATCH v3 1/5] target/mips: MSA instructions ld, big endian host fix
Quoted 6 lines · Aleksandar Markovic
Quoted 3 lines
From: Mateja Marjanovic <[email protected]>
Subject: [PATCH v3 1/5] target/mips: MSA instructions ld, big endian host fixStart the title with the imperative, such as "target/mips: Fix..."
Use full instruction names, as explained in previous reviews.
I will do that from now on.
Quoted 7 lines
Quoted 7 lines
From: Mateja Marjanovic <[email protected]>
Fix the case when the host is running on a big endian machine, and change the approach toward ld instruction helpers.
Signed-off-by Mateja Marjanovic <[email protected]>
Thanks,
Mateja
A message that is not in the archive (sent off-list or not yet received): [email protected]
Re: [Qemu-devel] [PATCH v3 2/5] target/mips: MSA instructions st, big endian host fix
Quoted 10 lines
From: Mateja Marjanovic <[email protected]>
Subject: [PATCH v3 2/5] target/mips: MSA instructions st, big endian host fixFrom: Mateja Marjanovic <[email protected]>
Fix the case when the host is running on a big endian machine, and change the approach toward st instruction helpers.
Signed-off-by Mateja Marjanovic <[email protected]>---
The same comment as in the patch 1/5.
Also, please align both equation signs and argument indexes in the new bodies of the helpers.
Thanks,
Aleksandar
Re: [Qemu-devel] [PATCH v3 2/5] target/mips: MSA instructions st, big endian host fix
Quoted 8 lines · Aleksandar Markovic
Quoted 8 lines
From: Mateja Marjanovic <[email protected]>
Subject: [PATCH v3 2/5] target/mips: MSA instructions st, big endian host fixFrom: Mateja Marjanovic <[email protected]>
Fix the case when the host is running on a big endian machine, and change the approach toward st instruction helpers.
Quoted 6 lines
Quoted 2 lines
Signed-off-by Mateja Marjanovic <[email protected]>---
The same comment as in the patch 1/5.
Also, please align both equation signs and argument indexes in the new bodies of the helpers.
It will be done in v4.
Quoted 3 lines
Thanks,
Aleksandar
Thanks,
Mateja
A message that is not in the archive (sent off-list or not yet received): [email protected]
Re: [Qemu-devel] [PATCH v3 3/5] target/mips: Different approach toward COPY_S MSA instr. and big endian fix
Quoted 3 lines
From: Mateja Marjanovic <[email protected]>
Subject: [PATCH v3 3/5] target/mips: Different approach towardCOPY_SMSA instr. and big endian fix
"Different approach toward..." -> "Refactor and fix COPY_S.<B|H|W|D> instructions"
Quoted 8 lines
From: Mateja Marjanovic <[email protected]>
The old version of the helper for the COPY_S.<B|H|W|D> MSA instructions has been replaced with a four helpers that don't use switch, and change the endianness of the given index, when executed on a big endian host.
Signed-off-by Mateja Marjanovic <[email protected]>---
Re: [Qemu-devel] [PATCH v3 3/5] target/mips: Different approach toward COPY_S MSA instr. and big endian fix
Quoted 4 lines · Aleksandar Markovic
Quoted 3 lines
From: Mateja Marjanovic <[email protected]>
Subject: [PATCH v3 3/5] target/mips: Different approach towardCOPY_SMSA instr. and big endian fix"Different approach toward..." -> "Refactor and fix COPY_S.<B|H|W|D> instructions"
I will change that in v4.
Quoted 9 lines
Quoted 9 lines
From: Mateja Marjanovic <[email protected]>
The old version of the helper for the COPY_S.<B|H|W|D> MSA instructions has been replaced with a four helpers that don't use switch, and change the endianness of the given index, when executed on a big endian host.
Signed-off-by Mateja Marjanovic <[email protected]>---
Thanks,
Mateja
A message that is not in the archive (sent off-list or not yet received): [email protected]
Re: [Qemu-devel] [PATCH v3 4/5] target/mips: Different approach toward COPY_U MSA instr. and big endian fix
Quoted 4 lines
From: Mateja Marjanovic <[email protected]>
Subject: [PATCH v3 4/5] target/mips: Different approach towardCOPY_UMSA instr. and big endian fixFrom: Mateja Marjanovic <[email protected]>
"Different approach toward..." -> "Refactor and fix COPY_U.<B|H|W> instructions"
Re: [Qemu-devel] [PATCH v3 4/5] target/mips: Different approach toward COPY_U MSA instr. and big endian fix
Quoted 5 lines · Aleksandar Markovic
Quoted 4 lines
From: Mateja Marjanovic <[email protected]>
Subject: [PATCH v3 4/5] target/mips: Different approach towardCOPY_UMSA instr. and big endian fixFrom: Mateja Marjanovic <[email protected]>
"Different approach toward..." -> "Refactor and fix COPY_U.<B|H|W> instructions"
Same goes for this, change in v4.
Thanks,
Mateja
A message that is not in the archive (sent off-list or not yet received): [email protected]
Re: [Qemu-devel] [PATCH v3 5/5] target/mips: Different approach toward INSERT MSA instr. and big endian fix
Quoted 2 lines
From: Mateja Marjanovic <[email protected]>
Subject: [PATCH v3 5/5] target/mips: Different approach toward INSERT MSA instr. and big endian fix
"Different approach toward..." -> "Refactor and fix INSERT.<B|H|W|D> instructions"
Re: [Qemu-devel] [PATCH v3 5/5] target/mips: Different approach toward INSERT MSA instr. and big endian fix
Quoted 3 lines · Aleksandar Markovic
Quoted 2 lines
From: Mateja Marjanovic <[email protected]>
Subject: [PATCH v3 5/5] target/mips: Different approach toward INSERT MSA instr. and big endian fix"Different approach toward..." -> "Refactor and fix INSERT.<B|H|W|D> instructions"
Same goes for this, change in v4.
Thanks,
Mateja