Message ID | 20230808030250.50602-2-richard.henderson@linaro.org |
---|---|
State | Superseded |
Headers | show |
Series | tcg/ppc: Support power10 prefixed instructions | expand |
Acked-by: Nicholas Piggin <npiggin@gmail.com> On Tue Aug 8, 2023 at 1:02 PM AEST, Richard Henderson wrote: > Signed-off-by: Richard Henderson <richard.henderson@linaro.org> > --- > tcg/ppc/tcg-target.c.inc | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/tcg/ppc/tcg-target.c.inc b/tcg/ppc/tcg-target.c.inc > index 511e14b180..642d0fd128 100644 > --- a/tcg/ppc/tcg-target.c.inc > +++ b/tcg/ppc/tcg-target.c.inc > @@ -221,7 +221,7 @@ static inline bool in_range_b(tcg_target_long target) > } > > static uint32_t reloc_pc24_val(const tcg_insn_unit *pc, > - const tcg_insn_unit *target) > + const tcg_insn_unit *target) > { > ptrdiff_t disp = tcg_ptr_byte_diff(target, pc); > tcg_debug_assert(in_range_b(disp)); > @@ -241,7 +241,7 @@ static bool reloc_pc24(tcg_insn_unit *src_rw, const tcg_insn_unit *target) > } > > static uint16_t reloc_pc14_val(const tcg_insn_unit *pc, > - const tcg_insn_unit *target) > + const tcg_insn_unit *target) > { > ptrdiff_t disp = tcg_ptr_byte_diff(target, pc); > tcg_debug_assert(disp == (int16_t) disp); > @@ -3587,7 +3587,7 @@ static void expand_vec_mul(TCGType type, unsigned vece, TCGv_vec v0, > tcgv_vec_arg(t1), tcgv_vec_arg(t2)); > vec_gen_3(INDEX_op_ppc_pkum_vec, type, vece, tcgv_vec_arg(v0), > tcgv_vec_arg(v0), tcgv_vec_arg(t1)); > - break; > + break; > > case MO_32: > tcg_debug_assert(!have_isa_2_07);
diff --git a/tcg/ppc/tcg-target.c.inc b/tcg/ppc/tcg-target.c.inc index 511e14b180..642d0fd128 100644 --- a/tcg/ppc/tcg-target.c.inc +++ b/tcg/ppc/tcg-target.c.inc @@ -221,7 +221,7 @@ static inline bool in_range_b(tcg_target_long target) } static uint32_t reloc_pc24_val(const tcg_insn_unit *pc, - const tcg_insn_unit *target) + const tcg_insn_unit *target) { ptrdiff_t disp = tcg_ptr_byte_diff(target, pc); tcg_debug_assert(in_range_b(disp)); @@ -241,7 +241,7 @@ static bool reloc_pc24(tcg_insn_unit *src_rw, const tcg_insn_unit *target) } static uint16_t reloc_pc14_val(const tcg_insn_unit *pc, - const tcg_insn_unit *target) + const tcg_insn_unit *target) { ptrdiff_t disp = tcg_ptr_byte_diff(target, pc); tcg_debug_assert(disp == (int16_t) disp); @@ -3587,7 +3587,7 @@ static void expand_vec_mul(TCGType type, unsigned vece, TCGv_vec v0, tcgv_vec_arg(t1), tcgv_vec_arg(t2)); vec_gen_3(INDEX_op_ppc_pkum_vec, type, vece, tcgv_vec_arg(v0), tcgv_vec_arg(v0), tcgv_vec_arg(t1)); - break; + break; case MO_32: tcg_debug_assert(!have_isa_2_07);
Signed-off-by: Richard Henderson <richard.henderson@linaro.org> --- tcg/ppc/tcg-target.c.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)