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

Brian Cain posted 6 patches 1 week, 5 days ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20260805165225.3117924-1-brian.cain@oss.qualcomm.com
Maintainers: Brian Cain <brian.cain@oss.qualcomm.com>, Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>
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(-)
[PATCH 0/6] Fid host-utils sat; Add GVec overrides for HVX ops
Posted by Brian Cain 1 week, 5 days ago
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.

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(-)

-- 
2.34.1

Re: [PATCH 0/6] Fid host-utils sat; Add GVec overrides for HVX ops
Posted by Brian Cain 1 week, 5 days ago
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(-)
>