summaryrefslogtreecommitdiff
path: root/sim/bfin/bfin-sim.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2015-04-24 15:43:21 +0100
committerNick Clifton <nickc@redhat.com>2015-04-24 15:43:21 +0100
commitde7669bfa507d78f7abfe3d219b5aee9f346235e (patch)
tree52bf26d31dc3846dd1c2f41a03359be3afdc5c7a /sim/bfin/bfin-sim.c
parent63c72d1ae497cdf43db5347464a97164e720b83f (diff)
downloadbinutils-gdb-de7669bfa507d78f7abfe3d219b5aee9f346235e.tar.gz
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.
Diffstat (limited to 'sim/bfin/bfin-sim.c')
-rw-r--r--sim/bfin/bfin-sim.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/bfin/bfin-sim.c b/sim/bfin/bfin-sim.c
index 364ee299972..24b29e74d18 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);