[Qemu-devel] [PATCH v5 0/2] target/mips: Optimize MSA <ILVEV|ILVOD>.<B|H|W|D> instructions

Mateja Marjanovic posted 2 patches 4 years, 12 months ago
Test docker-mingw@fedora passed
Test docker-clang@ubuntu passed
Test checkpatch passed
Test asan passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/1554218121-26766-1-git-send-email-mateja.marjanovic@rt-rk.com
Maintainers: Aurelien Jarno <aurelien@aurel32.net>, Aleksandar Markovic <amarkovic@wavecomp.com>, Aleksandar Rikalo <arikalo@wavecomp.com>
target/mips/helper.h     |   2 -
target/mips/msa_helper.c |  16 ----
target/mips/translate.c  | 212 ++++++++++++++++++++++++++++++++++++++++++++++-
3 files changed, 210 insertions(+), 20 deletions(-)
[Qemu-devel] [PATCH v5 0/2] target/mips: Optimize MSA <ILVEV|ILVOD>.<B|H|W|D> instructions
Posted by Mateja Marjanovic 4 years, 12 months ago
From: Mateja Marjanovic <Mateja.Marjanovic@rt-rk.com>

Optimize MSA instructions ILVEV.<B|H|W|D> and ILVOD.<B|H|W|D>,
using directly tcg registers and performing logic on
them insted of using helpers.

v5:
 - Use tcg_gen_deposit function.
 - Added performance number for no-deposit and
   with-deposit cases of ILVEV.W.
 - Minor changes in commit messages and cover letter.

v4:
 - Clean up typing errors.
 - Change the commit message and the cover letter.
 - Fix bug for ILVEV.D, in case where the destination
   and one of the sources are the same register.

v3:
 - Reduce the number of logic operations to a
   minimum.
 - Add comments.

v2:
 - Minor changes in commit messages and cover letter.

Mateja Marjanovic (2):
  target/mips: Optimize ILVOD.<B|H|W|D> MSA instructions
  target/mips: Optimize ILVEV.<B|H|W|D> MSA instructions

 target/mips/helper.h     |   2 -
 target/mips/msa_helper.c |  16 ----
 target/mips/translate.c  | 212 ++++++++++++++++++++++++++++++++++++++++++++++-
 3 files changed, 210 insertions(+), 20 deletions(-)

-- 
2.7.4