Re: [PATCH 0/6] Fid host-utils sat; Add GVec overrides for HVX ops

Brian Cain <[email protected]> Wed, 5 Aug 2026 12:25:51 -0500
Newsgroups gmane.comp.emulators.qemu
Message-ID <[email protected]>
On 8/5/2026 11:52 AM, Brian Cain wrote:

> I was going to just send the host-utils change on its own but figured
> it might be useful to have the motivating commits that encountered the
> issue, so I've included those here too.


Ugh - careless review - don't "Fid" host-utils sat -- Fix... :/


> Brian Cain (6):
>    host-utils: fix ssub32/64_saturate return type and clamp direction
>    target/hexagon: add GVec overrides for HVX saturating add/sub
>    target/hexagon: add GVec override for HVX vmpyih multiply
>    target/hexagon: add GVec overrides for HVX absolute difference
>    target/hexagon: add GVec overrides for HVX vector average
>    tests/tcg/hexagon: add HVX test for V6_vsubwsat saturation
>
>   include/qemu/host-utils.h    |  20 ++--
>   target/hexagon/gen_tcg_hvx.h | 183 +++++++++++++++++++++++++++++++++++
>   tests/tcg/hexagon/hvx_misc.c |  44 +++++++++
>   3 files changed, 237 insertions(+), 10 deletions(-)
>