projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gdb: Convert language la_value_print field to a method
[deliverable/binutils-gdb.git]
/
sim
/
arm
/
armemu.c
diff --git
a/sim/arm/armemu.c
b/sim/arm/armemu.c
index 5fde3fd259578eb6a2060fc5a7668ceb85ae0d8a..3a72277683e62b40f367e50e29815e98cd9d4891 100644
(file)
--- a/
sim/arm/armemu.c
+++ b/
sim/arm/armemu.c
@@
-1140,10
+1140,6
@@
handle_VFP_move (ARMul_State * state, ARMword instr)
/* EMULATION of ARM6. */
/* EMULATION of ARM6. */
-/* The PC pipeline value depends on whether ARM
- or Thumb instructions are being executed. */
-ARMword isize;
-
ARMword
#ifdef MODE32
ARMul_Emulate32 (ARMul_State * state)
ARMword
#ifdef MODE32
ARMul_Emulate32 (ARMul_State * state)
@@
-5950,10
+5946,10
@@
Multiply64 (ARMul_State * state, ARMword instr, int msigned, int scc)
;
else
#endif
;
else
#endif
- if (nRdHi == nRm || nRdLo == nRm)
+ /* BAD code can trigger this result. So only complain if debugging. */
+ if (state->Debug && (nRdHi == nRm || nRdLo == nRm))
fprintf (stderr, "sim: MULTIPLY64 - INVALID ARGUMENTS: %d %d %d\n",
nRdHi, nRdLo, nRm);
fprintf (stderr, "sim: MULTIPLY64 - INVALID ARGUMENTS: %d %d %d\n",
nRdHi, nRdLo, nRm);
-
if (msigned)
{
/* Compute sign of result and adjust operands if necessary. */
if (msigned)
{
/* Compute sign of result and adjust operands if necessary. */
@@
-5998,7
+5994,7
@@
Multiply64 (ARMul_State * state, ARMword instr, int msigned, int scc)
state->Reg[nRdLo] = RdLo;
state->Reg[nRdHi] = RdHi;
}
state->Reg[nRdLo] = RdLo;
state->Reg[nRdHi] = RdHi;
}
- else
+ else
if (state->Debug)
fprintf (stderr, "sim: MULTIPLY64 - INVALID ARGUMENTS\n");
if (scc)
fprintf (stderr, "sim: MULTIPLY64 - INVALID ARGUMENTS\n");
if (scc)
This page took
0.023505 seconds
and
4
git commands to generate.