From de7669bfa507d78f7abfe3d219b5aee9f346235e Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 24 Apr 2015 15:43:21 +0100 Subject: Fix typos in sim sources exposed by static analysis. bfin PR 18273 * bfin-sim.c (decode_dsp32alu_0): Remove spurious check for s == 1. erc32 PR 18273 * exec.c (add32): Fix typo in check for overflow. igen PR 18273 * misc.c (a2i): Fix typos checking for uppercase letters. --- sim/bfin/ChangeLog | 7 +++++++ sim/bfin/bfin-sim.c | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) (limited to 'sim/bfin') diff --git a/sim/bfin/ChangeLog b/sim/bfin/ChangeLog index 64d20c3..1940edf 100644 --- a/sim/bfin/ChangeLog +++ b/sim/bfin/ChangeLog @@ -1,3 +1,10 @@ +2015-04-24 David Binderman + Nick Clifton + + PR 18273 + * bfin-sim.c (decode_dsp32alu_0): Remove spurious check for + s == 1. + 2015-04-18 Mike Frysinger * sim-main.h (SIM_CPU): Add note to clean this up. diff --git a/sim/bfin/bfin-sim.c b/sim/bfin/bfin-sim.c index 364ee29..24b29e7 100644 --- a/sim/bfin/bfin-sim.c +++ b/sim/bfin/bfin-sim.c @@ -4318,7 +4318,7 @@ decode_dsp32alu_0 (SIM_CPU *cpu, bu16 iw0, bu16 iw1) SET_AREG (1, 0); } else if ((aop == 0 || aop == 1 || aop == 2) && s == 1 && aopcde == 8 - && x == 0 && s == 1 && HL == 0) + && x == 0 && HL == 0) { bs40 acc0 = get_extended_acc (cpu, 0); bs40 acc1 = get_extended_acc (cpu, 1); -- cgit v1.1