OSDN Git Service

target/arm: Remove dead code relating to SABA and UABA
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 19 Jun 2020 17:15:47 +0000 (18:15 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 23 Jun 2020 10:39:47 +0000 (11:39 +0100)
commitced7e8edb282765685d2ba0206a11f8692d8ec1c
treed6888b0ab2600616215c18b41876ae374f25fec0
parent55c812b74289863c348449135812027d188f040a
target/arm: Remove dead code relating to SABA and UABA

In commit cfdb2c0c95ae9205b0 ("target/arm: Vectorize SABA/UABA") we
replaced the old handling of SABA/UABA with a vectorized implementation
which returns early rather than falling into the loop-ever-elements
code. We forgot to delete the part of the old looping code that
did the accumulate step, and Coverity correctly warns (CID 1428955)
that this code is now dead. Delete it.

Fixes: cfdb2c0c95ae9205b0
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20200619171547.29780-1-peter.maydell@linaro.org
target/arm/translate-a64.c