qemu-ppc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v3 2/4] target/ppc: Move VSX vector with length storage acces


From: Richard Henderson
Subject: Re: [PATCH v3 2/4] target/ppc: Move VSX vector with length storage access insns to decodetree.
Date: Tue, 18 Jun 2024 10:35:58 -0700
User-agent: Mozilla Thunderbird

On 6/18/24 01:58, Chinmay Rath wrote:
Moving the following instructions to decodetree specification :

         {l, st}xvl(l)           : X-form

The changes were verified by validating that the tcg-ops generated by those
instructions remain the same, which were captured using the '-d in_asm,op' flag.

Also added a new function do_ea_calc_ra to calculate the effective address :
EA <- (RA == 0) ? 0 : GPR[RA], which is now used by the above-said insns,
and shall be used later by (p){lx, stx}vp insns.

Signed-off-by: Chinmay Rath <rathc@linux.ibm.com>
---
  target/ppc/helper.h                 |  8 +--
  target/ppc/insn32.decode            |  6 ++
  target/ppc/mem_helper.c             |  8 +--
  target/ppc/translate.c              | 15 +++++
  target/ppc/translate/vsx-impl.c.inc | 94 ++++++++++++++++++++---------
  target/ppc/translate/vsx-ops.c.inc  |  8 ---
  6 files changed, 94 insertions(+), 45 deletions(-)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]