target-mips: optimizations
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest11 patches 0 repliesNew
- v111 patches 2 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/11 | target-mips: optimize gen_save_pc()target-mips/ | +1 | 0 replies | |
| 2/11 | target-mips: optimize gen_op_addr_add() (1/2)target-mips/ | +7 | 0 replies | |
| 3/11 | target-mips: optimize gen_op_addr_add() (2/2)target-mips/ target-mips/ target-mips/ | +13 | 0 replies | |
| 4/11 | target-mips: convert bitfield ops to TCGtarget-mips/ target-mips/ target-mips/ | +41 | 0 replies | |
| 5/11 | target-mips: convert bit shuffle ops to TCGtarget-mips/ target-mips/ target-mips/ | +56 | 0 replies | |
| 6/11 | target-mips: optimize gen_arith()/gen_arith_imm()target-mips/ | +32 | 0 replies | |
| 7/11 | target-mips: optimize gen_muldiv()target-mips/ | +47 | 0 replies | |
| 8/11 | target-mips: optimize gen_farith()target-mips/ | +12 | 0 replies | |
| 9/11 | target-mips: optimize movc*()target-mips/ | +33 | 0 replies | |
| 10/11 | target-mips: gen_compute_branch1()target-mips/ | +41 | 0 replies | |
| 11/11 | target-mips: fix temporary variable freeing in op_ldst_##insn()target-mips/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [Qemu-devel] [PATCH v2 0/11] target-mips: optimizations
Hi,
This is version 2 of the series which includes:
- Changes suggested by Laurent Desnogues.
- Correctly free tmp variables
Aurelien
----
This series optimize the MIPS emulation, and more precisely the 64-bit emulation as shown the table below. All the tests have been done on an x86-64 host. The 32-bit task corresponds to compilation of C++ code using a 32-bit userland. The times are given is seconds.
+---------------------+---------------------+
| Boot time | 32-bit task |
+----------+----------+----------+----------+
| Original | Patched | Original | Patched |
+--------------------+----------+----------+----------+----------+
| qemu-system-mips32 | 33 | 33 | 131 | 131 |
| | | | | |
+--------------------+----------+----------+----------+----------+
| qemu-system-mips64 | 53 | 33 | 303 | 138 |
| + 32-bit kernel | | | | |
+--------------------+----------+----------+----------+----------+
| qemu-system-mips64 | 47 | 31 | 231 | 107 |
| + 64-bit kernel | | | | |
+--------------------+----------+----------+----------+----------+With this series, there is now very few overheads running a 32-bit system in qemu-system-mips64, and a gain when switching to a 64-bit kernel. This is probably not true on a 32-bit host.
Signature · 4 lines
.''`. Aurelien Jarno | GPG: 1024D/F1BCDB73 : :' : Debian developer | Electrical Engineer `. `' [email protected] | [email protected] `- people.debian.org/~aurel32 | www.aurel32.net