[PATCH v3 0/7] Fix host-utils sat; Add GVec overrides for HVX ops
Brian Cain <[email protected]>
| Newsgroups | gmane.comp.emulators.qemu |
|---|---|
| Message-ID | <[email protected]> |
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. In v3: * Created custom expanders for absdiff * New commit with tests for absdiff (only commit w/o R-b) * Switched addsub to use a single 2x tcg_gen_gvec op for the pair v2: https://lore.kernel.org/qemu-devel/[email protected]/ Brian Cain (7): 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 tests/tcg/hexagon: add HVX tests for vabsdiff include/qemu/host-utils.h | 24 ++--- target/hexagon/gen_tcg_hvx.h | 170 +++++++++++++++++++++++++++++++++++ target/hexagon/genptr.h | 4 + target/hexagon/helper.h | 5 ++ target/hexagon/genptr.c | 70 +++++++++++++++ target/hexagon/op_helper.c | 21 +++++ tests/tcg/hexagon/hvx_misc.c | 77 ++++++++++++++++ 7 files changed, 359 insertions(+), 12 deletions(-) -- 2.34.1