tcg/ppc: Add support for vector saturated add/subtract
commite9d1a53ae6d3a276f0d50090f80d923b9ee74631
authorRichard Henderson <richard.henderson@linaro.org>
Sun, 23 Jun 2019 17:04:41 +0000 (23 19:04 +0200)
committerRichard Henderson <richard.henderson@linaro.org>
Mon, 14 Oct 2019 14:10:02 +0000 (14 07:10 -0700)
tree52570d967f95a15c42a57fdf046c88622ac7ec43
parentd67508117db474971dfd3fe29714ec4d15cf2393
tcg/ppc: Add support for vector saturated add/subtract

Add support for vector saturated add/subtract using Altivec
instructions:
VADDSBS, VADDSHS, VADDSWS, VADDUBS, VADDUHS, VADDUWS, and
VSUBSBS, VSUBSHS, VSUBSWS, VSUBUBS, VSUBUHS, VSUBUWS.

Tested-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Aleksandar Markovic <amarkovic@wavecomp.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Aleksandar Markovic <amarkovic@wavecomp.com>
tcg/ppc/tcg-target.h
tcg/ppc/tcg-target.inc.c