target/arm: Remove helper_double_saturate
commit640581a06d14e2d0d3c3ba79b916de6bc43578b0
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 15 Aug 2019 08:46:45 +0000 (15 09:46 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 16 Aug 2019 13:02:50 +0000 (16 14:02 +0100)
tree268746ddaf56e090b7e27d119cb0b9ef6887669e
parent3cb36637157088892e9e33ddb1034bffd1251d3b
target/arm: Remove helper_double_saturate

Replace x = double_saturate(y) with x = add_saturate(y, y).
There is no need for a separate more specialized helper.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20190807045335.1361-12-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/helper.h
target/arm/op_helper.c
target/arm/translate.c