target-arm: A64: Add saturating int ops (SQNEG/SQABS)
authorAlex Bennée <alex.bennee@linaro.org>
Tue, 18 Mar 2014 23:10:06 +0000 (23:10 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 18 Mar 2014 23:10:06 +0000 (23:10 +0000)
commit0a79bc87c3acf8364abf2d47b261fa898db15885
treed1fe2dcdc4f6a6de568e933afb1ac38448540d3a
parentf72dbf3d2629be75d50b4c98816c360d82e8a848
target-arm: A64: Add saturating int ops (SQNEG/SQABS)

This mostly re-uses the existing NEON helpers with an additional two for
the 64 bit case. I also took the opportunity to add TCG_CALL_NO_RWG
options to the helpers as they don't modify globals (saturation flags
are in the CPU Environment).

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