qemu-e2k/target/ppc
Stefan Brankovic 1872588ede target/ppc: Optimize emulation of vclzw instruction
Optimize Altivec instruction vclzw (Vector Count Leading Zeros Word).
This instruction counts the number of leading zeros of each word element
in source register and places result in the appropriate word element of
destination register.

Counting is to be performed in four iterations of for loop(one for each
word elemnt of source register vB). Every iteration consists of loading
appropriate word element from source register, counting leading zeros
with tcg_gen_clzi_i32, and saving the result in appropriate word element
of destination register.

Signed-off-by: Stefan Brankovic <stefan.brankovic@rt-rk.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <1563200574-11098-7-git-send-email-stefan.brankovic@rt-rk.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2019-08-21 17:17:11 +10:00
..
translate target/ppc: Optimize emulation of vclzw instruction 2019-08-21 17:17:11 +10:00
arch_dump.c
compat.c
cpu-models.c Include qemu/module.h where needed, drop it from qemu-common.h 2019-06-12 13:18:33 +02:00
cpu-models.h
cpu-param.h tcg: Split out target/arch/cpu-param.h 2019-06-10 07:03:34 -07:00
cpu-qom.h migration: Do not re-read the clock on pre_save in case of paused guest 2019-08-21 17:17:11 +10:00
cpu.c
cpu.h target/ppc: move opcode decode tables to PowerPCCPU 2019-08-21 17:17:11 +10:00
dfp_helper.c
excp_helper.c target/ppc: Use env_cpu, env_archcpu 2019-06-10 07:03:42 -07:00
fpu_helper.c target/ppc: improve VSX_FMADD with new GEN_VSX_HELPER_VSX_MADD macro 2019-07-02 09:43:58 +10:00
gdbstub.c Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
helper_regs.h target/ppc: Use env_cpu, env_archcpu 2019-06-10 07:03:42 -07:00
helper.h target/ppc: Optimize emulation of vclzw instruction 2019-08-21 17:17:11 +10:00
int_helper.c target/ppc: Optimize emulation of vclzw instruction 2019-08-21 17:17:11 +10:00
internal.h target/ppc: remove getVSR()/putVSR() from int_helper.c 2019-07-02 09:43:58 +10:00
kvm_ppc.h target/ppc/machine: Add kvmppc_pvr_workaround_required() stub 2019-07-02 09:43:58 +10:00
kvm-stub.c Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
kvm.c Clean up inclusion of sysemu/sysemu.h 2019-08-16 13:31:53 +02:00
machine.c Include hw/boards.h a bit less 2019-08-16 13:31:53 +02:00
Makefile.objs
mem_helper.c Include qemu/main-loop.h less 2019-08-16 13:31:52 +02:00
mfrom_table_gen.c
mfrom_table.inc.c
misc_helper.c Include qemu/main-loop.h less 2019-08-16 13:31:52 +02:00
mmu_helper.c Include qemu/main-loop.h less 2019-08-16 13:31:52 +02:00
mmu-book3s-v3.c
mmu-book3s-v3.h
mmu-hash32.c
mmu-hash32.h
mmu-hash64.c target/ppc: Use env_cpu, env_archcpu 2019-06-10 07:03:42 -07:00
mmu-hash64.h
mmu-radix64.c
mmu-radix64.h
monitor.c hmp: Move hmp.h to include/monitor/ 2019-07-02 07:19:45 +02:00
timebase_helper.c
trace-events target/ppc/kvm: Fix trace typo 2019-05-29 11:39:44 +10:00
translate_init.inc.c target/ppc: move opcode decode tables to PowerPCCPU 2019-08-21 17:17:11 +10:00
translate.c target/ppc: move opcode decode tables to PowerPCCPU 2019-08-21 17:17:11 +10:00
user_only_helper.c