On Wed, 28 Oct 2020 at 20:23, Richard Henderson
wrote:
>
> On 10/27/20 8:26 PM, Richard Henderson wrote:
> > @@ -3871,24 +3923,26 @@ static bool trans_VTRN(DisasContext *s, arg_2misc
> > *a)
> > return true;
> > }
> >
> > -if (a->size == 2) {
> > +tmp = tcg_temp_new_i32();
>
On 10/27/20 8:26 PM, Richard Henderson wrote:
> @@ -3871,24 +3923,26 @@ static bool trans_VTRN(DisasContext *s, arg_2misc *a)
> return true;
> }
>
> -if (a->size == 2) {
> +tmp = tcg_temp_new_i32();
> +tmp2 = tcg_temp_new_i32();
> +if (a->size == MO_32) {
...
>
Model these off the aa64 read/write_vec_element functions.
Use it within translate-neon.c.inc. The new functions do
not allocate or free temps, so this rearranges the calling
code a bit.
Signed-off-by: Richard Henderson
---
target/arm/translate.c | 26
target/arm/translate-neon.c