Re: [PATCH 4/4] target/ppc: Move VSX fp compare insns to decodetree.

2024-06-09 Thread Chinmay Rath
On 6/7/24 21:25, Richard Henderson wrote: On 6/7/24 07:49, Chinmay Rath wrote: +static bool do_cmp(DisasContext *ctx, arg_XX3_rc *a, +    void (*helper)(TCGv_i32, TCGv_ptr, TCGv_ptr, TCGv_ptr, TCGv_ptr)) +{ +    TCGv_i32 ignored; +    TCGv_ptr xt, xa, xb; +    REQUIRE_VSX(ctx); +   

Re: [PATCH 4/4] target/ppc: Move VSX fp compare insns to decodetree.

2024-06-07 Thread Richard Henderson
On 6/7/24 07:49, Chinmay Rath wrote: +static bool do_cmp(DisasContext *ctx, arg_XX3_rc *a, +void (*helper)(TCGv_i32, TCGv_ptr, TCGv_ptr, TCGv_ptr, TCGv_ptr)) +{ +TCGv_i32 ignored; +TCGv_ptr xt, xa, xb; +REQUIRE_VSX(ctx); +xt = gen_vsr_ptr(a->xt); +xa = gen_vsr_ptr(

[PATCH 4/4] target/ppc: Move VSX fp compare insns to decodetree.

2024-06-07 Thread Chinmay Rath
Moving the following instructions to decodetree specification: xvcmp{eq, gt, ge, ne}{s, d}p: XX3-form The changes were verified by validating that the tcg-ops generated for those instructions remain the same which were captured using the '-d in_asm,op' flag. Signed-off-by: Chinmay Ra