Skip to content

tcg/mips: host detection

Aurelien Jarno qemu-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 1 replyIn review
  2. v22 patches 1 replySuperseded
  3. v12 patches 3 repliesSuperseded

Changes in v3 from the cover letter

- Only try to detect for MIPS32R2 instructions if MIPS32 instructions have been detected
- Inline bswap16/bswap32/ext8s/ext16s ops to avoid checking again if MIPS32R2 instructions are available.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3tcg/mips: detect available host instructions at runtimetcg/mips/tcg-target.c tcg/mips/tcg-target.h+171 -920 replies
2/3tcg/mips: inline bswap16/bswap32 opstcg/mips/tcg-target.c+3 -40 replies
3/3tcg/mips: only enable ext8s/ext16s ops on MIPS32R2tcg/mips/tcg-target.c tcg/mips/tcg-target.h+4 -40 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchRichard Henderson
SeriesR-b
1/3
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [Qemu-devel] [PATCH v3 0/3] tcg/mips: host detection

This patch series improve the MIPS TCG backend by detecting the available instructions at runtime, and by enabling the corresponding ops.

v1 -> v2:
- Detect MIPS32 detection by using MUL instead of MULT

v2 -> v3
- Only try to detect for MIPS32R2 instructions if MIPS32 instructions have been detected
- Inline bswap16/bswap32/ext8s/ext16s ops to avoid checking again if MIPS32R2 instructions are available.

Aurelien Jarno (3):
tcg/mips: detect available host instructions at runtime tcg/mips: inline bswap16/bswap32 ops
tcg/mips: only enable ext8s/ext16s ops on MIPS32R2

 tcg/mips/tcg-target.c |  224 ++++++++++++++++++++++++++++++++-----------------
 tcg/mips/tcg-target.h |   54 +++++++-----
 2 files changed, 178 insertions(+), 100 deletions(-)
Signature · 1 line
1.7.10.4