target-arm: A64: Add saturating accumulate ops (USQADD/SUQADD)
commit09e037354b6f940c18f417f23355cffd23f4fde5
authorAlex Bennée <alex.bennee@linaro.org>
Tue, 18 Mar 2014 23:10:06 +0000 (18 23:10 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 18 Mar 2014 23:10:06 +0000 (18 23:10 +0000)
treef309487ca630fb850083a15d58cea59ca0d9b9d9
parent0a79bc87c3acf8364abf2d47b261fa898db15885
target-arm: A64: Add saturating accumulate ops (USQADD/SUQADD)

Add the saturating accumulate operations USQADD and SUQADD
to the A64 instruction set. This completes coverage of A64 Neon.
These operations (which are unsigned + signed -> signed and
signed + unsigned -> unsigned) don't exist in the A32/T32
instruction set, so require a complete new set of helper functions.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <rth@twiddle.net>
target-arm/helper.h
target-arm/neon_helper.c
target-arm/translate-a64.c