Patchwork [4/5] ARM: remove pointless else clause in VQSHL of u64

login
register
mail settings
Submitter Peter Maydell
Date Dec. 7, 2010, 2:13 p.m.
Message ID <1291731225-3155-5-git-send-email-peter.maydell@linaro.org>
Download mbox | patch
Permalink /patch/74551/
State New
Headers show

Comments

Peter Maydell - Dec. 7, 2010, 2:13 p.m.
From: Juha Riihimäki <juha.riihimaki@nokia.com>

Remove a pointless else clause in the neon_qshl_u64 helper.

Signed-off-by: Juha Riihimäki <juha.riihimaki@nokia.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
---
 target-arm/neon_helper.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

Patch

diff --git a/target-arm/neon_helper.c b/target-arm/neon_helper.c
index 2dc3d96..48b9f5b 100644
--- a/target-arm/neon_helper.c
+++ b/target-arm/neon_helper.c
@@ -560,8 +560,6 @@  uint64_t HELPER(neon_qshl_u64)(CPUState *env, uint64_t val, uint64_t shiftop)
         if (val) {
             val = ~(uint64_t)0;
             SET_QC();
-        } else {
-            val = 0;
         }
     } else if (shift <= -64) {
         val = 0;