qemu-e2k/target
Lucas Mateus Castro (alqotel) d57fbd8fd9 target/ppc: Move VPRTYB[WDQ] to decodetree and use gvec
Moved VPRTYBW and VPRTYBD to use gvec and both of them and VPRTYBQ to
decodetree. VPRTYBW and VPRTYBD now also use .fni4 and .fni8,
respectively.

vprtybw:
rept    loop    master             patch
8       12500   0,01198900         0,00703100 (-41.4%)
25      4000    0,01070100         0,00571400 (-46.6%)
100     1000    0,01123300         0,00678200 (-39.6%)
500     200     0,01601500         0,01535600 (-4.1%)
2500    40      0,03872900         0,05562100 (43.6%)
8000    12      0,10047000         0,16643000 (65.7%)

vprtybd:
rept    loop    master             patch
8       12500   0,00757700         0,00788100 (4.0%)
25      4000    0,00652500         0,00669600 (2.6%)
100     1000    0,00714400         0,00825400 (15.5%)
500     200     0,01211000         0,01903700 (57.2%)
2500    40      0,03483800         0,07021200 (101.5%)
8000    12      0,09591800         0,21036200 (119.3%)

vprtybq:
rept    loop    master             patch
8       12500   0,00675600         0,00667200 (-1.2%)
25      4000    0,00619400         0,00643200 (3.8%)
100     1000    0,00707100         0,00751100 (6.2%)
500     200     0,01199300         0,01342000 (11.9%)
2500    40      0,03490900         0,04092900 (17.2%)
8000    12      0,09588200         0,11465100 (19.6%)

I wasn't expecting such a performance lost in both VPRTYBD and VPRTYBQ,
I'm not sure if it's worth to move those instructions. Comparing the
assembly of the helper with the TCGop they are pretty similar, so
I'm not sure why vprtybd took so much more time.

Signed-off-by: Lucas Mateus Castro (alqotel) <lucas.araujo@eldorado.org.br>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20221019125040.48028-6-lucas.araujo@eldorado.org.br>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
2022-10-28 13:15:22 -03:00
..
alpha target/alpha: Convert to tcg_ops restore_state_to_opc 2022-10-26 11:11:28 +10:00
arm target/arm: Convert to tcg_ops restore_state_to_opc 2022-10-26 11:11:28 +10:00
avr target/avr: Convert to tcg_ops restore_state_to_opc 2022-10-26 11:11:28 +10:00
cris target/cris: Convert to tcg_ops restore_state_to_opc 2022-10-26 11:11:28 +10:00
hexagon target/hexagon: Convert to tcg_ops restore_state_to_opc 2022-10-26 11:11:28 +10:00
hppa target/hppa: Convert to tcg_ops restore_state_to_opc 2022-10-26 11:11:28 +10:00
i386 Revert incorrect cflags initialization. 2022-10-26 10:53:41 -04:00
loongarch target/loongarch: Convert to tcg_ops restore_state_to_opc 2022-10-26 11:11:28 +10:00
m68k target/m68k: Convert to tcg_ops restore_state_to_opc 2022-10-26 11:11:28 +10:00
microblaze target/microblaze: Convert to tcg_ops restore_state_to_opc 2022-10-26 11:11:28 +10:00
mips target/mips: Convert to tcg_ops restore_state_to_opc 2022-10-26 11:11:28 +10:00
nios2 target/nios2: Convert to tcg_ops restore_state_to_opc 2022-10-26 11:11:28 +10:00
openrisc target/openrisc: Convert to tcg_ops restore_state_to_opc 2022-10-26 11:11:28 +10:00
ppc target/ppc: Move VPRTYB[WDQ] to decodetree and use gvec 2022-10-28 13:15:22 -03:00
riscv Revert incorrect cflags initialization. 2022-10-26 10:53:41 -04:00
rx Revert incorrect cflags initialization. 2022-10-26 10:53:41 -04:00
s390x dump queue 2022-10-26 10:53:49 -04:00
sh4 target/sh4: Convert to tcg_ops restore_state_to_opc 2022-10-26 11:11:28 +10:00
sparc target/sparc: Convert to tcg_ops restore_state_to_opc 2022-10-26 11:11:28 +10:00
tricore target/tricore: Convert to tcg_ops restore_state_to_opc 2022-10-26 11:11:28 +10:00
xtensa target/xtensa: Convert to tcg_ops restore_state_to_opc 2022-10-26 11:11:28 +10:00
Kconfig hw/loongarch: Add support loongson3 virt machine type. 2022-06-06 18:09:03 +00:00
meson.build target/loongarch: Add target build suport 2022-06-06 18:09:03 +00:00