From: Mateja Marjanovic <mateja.marjanovic@rt-rk.com>
To: qemu-devel@nongnu.org
Cc: aurelien@aurel32.net, philmd@redhat.com,
richard.henderson@linaro.org, amarkovic@wavecomp.com,
arikalo@wavecomp.com
Subject: [Qemu-devel] [PATCH v6 0/4] target/mips: Optimize MSA interleave instructions
Date: Thu, 4 Apr 2019 15:14:46 +0200 [thread overview]
Message-ID: <1554383690-28338-1-git-send-email-mateja.marjanovic@rt-rk.com> (raw)
From: Mateja Marjanovic <Mateja.Marjanovic@rt-rk.com>
Optimize MSA instructions ILVEV.<B|H|W|D>, ILVOD.<B|H|W|D>,
ILVL.<B|H|W|D> and ILVR.<B|H|W|D> using the hybrid approach,
MSA helpers in some cases and directly tcg registers in other
cases, so the performance would be better.
v6:
- Add ILVL.<B|H|W|D> and ILVR.<B|H|W|D> MSA instructions
with mixed approaches (with helpers and with tcg
registers).
- Test the performance for ILVL.<B|H|W|D> and
ILVR.<B|H|W|D> MSA instructions, with helpers,
with tcg and with the mixed approach.
- Use a tcg register instead of an int variable for
storing a constant value of the mask (for logic
operations).
- Eliminate some unnecessary tcg_gen calls.
- Changes in commit messages and the cover letter.
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 the 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 the cover letter.
Mateja Marjanovic (4):
target/mips: Optimize ILVOD.<B|H|W|D> MSA instructions
target/mips: Optimize ILVEV.<B|H|W|D> MSA instructions
target/mips: Optimize ILVL.<B|H|W|D> MSA instructions
target/mips: Optimize ILVR.<B|H|W|D> MSA instructions
target/mips/helper.h | 7 +-
target/mips/msa_helper.c | 82 +++++---
target/mips/translate.c | 498 ++++++++++++++++++++++++++++++++++++++++++++++-
3 files changed, 547 insertions(+), 40 deletions(-)
--
2.7.4
next reply other threads:[~2019-04-04 13:16 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-04 13:14 Mateja Marjanovic [this message]
2019-04-04 13:14 ` [Qemu-devel] [PATCH v6 1/4] target/mips: Optimize ILVOD.<B|H|W|D> MSA instructions Mateja Marjanovic
2019-04-04 13:47 ` Philippe Mathieu-Daudé
2019-04-13 16:09 ` Aleksandar Markovic
2019-04-13 16:09 ` Aleksandar Markovic
2019-04-04 13:14 ` [Qemu-devel] [PATCH v6 2/4] target/mips: Optimize ILVEV.<B|H|W|D> " Mateja Marjanovic
2019-04-04 13:42 ` Philippe Mathieu-Daudé
2019-04-04 18:19 ` Aleksandar Markovic
2019-04-04 19:17 ` Philippe Mathieu-Daudé
2019-04-05 0:26 ` Aleksandar Markovic
2019-04-05 0:26 ` Aleksandar Markovic
2019-04-17 12:45 ` Mateja Marjanovic
2019-04-17 12:45 ` Mateja Marjanovic
2019-04-13 16:05 ` Aleksandar Markovic
2019-04-13 16:05 ` Aleksandar Markovic
2019-04-15 13:48 ` Mateja Marjanovic
2019-04-15 13:48 ` Mateja Marjanovic
2019-04-04 13:14 ` [Qemu-devel] [PATCH v6 3/4] target/mips: Optimize ILVL.<B|H|W|D> " Mateja Marjanovic
2019-04-13 16:15 ` Aleksandar Markovic
2019-04-13 16:15 ` Aleksandar Markovic
2019-04-04 13:14 ` [Qemu-devel] [PATCH v6 4/4] target/mips: Optimize ILVR.<B|H|W|D> " Mateja Marjanovic
2019-04-13 16:05 ` Aleksandar Markovic
2019-04-13 16:05 ` Aleksandar Markovic
2019-04-15 11:24 ` Mateja Marjanovic
2019-04-15 11:24 ` Mateja Marjanovic
2019-04-16 21:20 ` Aleksandar Markovic
2019-04-16 21:20 ` Aleksandar Markovic
2019-04-17 8:16 ` Mateja Marjanovic
2019-04-17 8:16 ` 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=1554383690-28338-1-git-send-email-mateja.marjanovic@rt-rk.com \
--to=mateja.marjanovic@rt-rk.com \
--cc=amarkovic@wavecomp.com \
--cc=arikalo@wavecomp.com \
--cc=aurelien@aurel32.net \
--cc=philmd@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=richard.henderson@linaro.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.