Re: [RFC PATCH v1 03/43] accel/tcg: Add gvec size changing operations

2024-12-03 Thread Richard Henderson
On 12/3/24 14:15, Anton Johansson wrote: The point is that we have a lot of Hexagon instructions where size changes are probably unavoidable, another example is V6_vshuffh which takes in a <16 x i16> vector and shuffles the upper <8xi16> into the upper 16-bits of a <8 x i32> vector void emi

Re: [RFC PATCH v1 03/43] accel/tcg: Add gvec size changing operations

2024-12-03 Thread Anton Johansson via
On 03/12/24, Richard Henderson wrote: > On 12/3/24 12:08, Anton Johansson wrote: > > On 22/11/24, Richard Henderson wrote: > > > On 11/20/24 19:49, Anton Johansson wrote: > > > > Adds new functions to the gvec API for truncating, sign- or zero > > > > extending vector elements. Currently implement

Re: [RFC PATCH v1 03/43] accel/tcg: Add gvec size changing operations

2024-12-03 Thread Richard Henderson
On 12/3/24 12:08, Anton Johansson wrote: On 22/11/24, Richard Henderson wrote: On 11/20/24 19:49, Anton Johansson wrote: Adds new functions to the gvec API for truncating, sign- or zero extending vector elements. Currently implemented as helper functions, these may be mapped onto host vector i

Re: [RFC PATCH v1 03/43] accel/tcg: Add gvec size changing operations

2024-12-03 Thread Anton Johansson via
On 22/11/24, Richard Henderson wrote: > On 11/20/24 19:49, Anton Johansson wrote: > > Adds new functions to the gvec API for truncating, sign- or zero > > extending vector elements. Currently implemented as helper functions, > > these may be mapped onto host vector instructions in the future. > >

Re: [RFC PATCH v1 03/43] accel/tcg: Add gvec size changing operations

2024-11-22 Thread Richard Henderson
On 11/20/24 19:49, Anton Johansson wrote: Adds new functions to the gvec API for truncating, sign- or zero extending vector elements. Currently implemented as helper functions, these may be mapped onto host vector instructions in the future. For the time being, allows translation of more compli

[RFC PATCH v1 03/43] accel/tcg: Add gvec size changing operations

2024-11-20 Thread Anton Johansson via
Adds new functions to the gvec API for truncating, sign- or zero extending vector elements. Currently implemented as helper functions, these may be mapped onto host vector instructions in the future. For the time being, allows translation of more complicated vector instructions by helper-to-tcg.