aboutsummaryrefslogtreecommitdiff
path: root/sim/m32r
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>1998-02-27 18:24:00 +0000
committerDoug Evans <dje@google.com>1998-02-27 18:24:00 +0000
commit2e7236783eccbd1d0bed7f49aac81e447be5e314 (patch)
tree7b300991b77ba26b9457fac7dfc70fb4b142917e /sim/m32r
parent1fb06680cf9c075e0d493f7ab57af948d52da74b (diff)
downloadgdb-2e7236783eccbd1d0bed7f49aac81e447be5e314.zip
gdb-2e7236783eccbd1d0bed7f49aac81e447be5e314.tar.gz
gdb-2e7236783eccbd1d0bed7f49aac81e447be5e314.tar.bz2
* mloopx.in: Fix handling of branch in parallel with another insn.
* semx.c: Regenerate.
Diffstat (limited to 'sim/m32r')
-rw-r--r--sim/m32r/ChangeLog7
-rw-r--r--sim/m32r/semx.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/sim/m32r/ChangeLog b/sim/m32r/ChangeLog
index ffb51c6..6958fc5 100644
--- a/sim/m32r/ChangeLog
+++ b/sim/m32r/ChangeLog
@@ -1,3 +1,10 @@
+start-sanitize-m32rx
+Fri Feb 27 10:14:29 1998 Doug Evans <devans@canuck.cygnus.com>
+
+ * mloopx.in: Fix handling of branch in parallel with another insn.
+ * semx.c: Regenerate.
+
+end-sanitize-m32rx
Mon Feb 23 13:30:46 1998 Doug Evans <devans@seba.cygnus.com>
* sim-main.h: #include symcat.h.
diff --git a/sim/m32r/semx.c b/sim/m32r/semx.c
index 4642837..95d886d 100644
--- a/sim/m32r/semx.c
+++ b/sim/m32r/semx.c
@@ -3031,7 +3031,7 @@ SEM_FN_NAME (m32rx,sat) (SIM_CPU *current_cpu, SEM_ARG sem_arg, PAREXEC *par_exe
EXTRACT_FMT_60_SAT_VARS /* f-op1 f-r1 f-op2 f-r2 f-uimm16 */
EXTRACT_FMT_60_SAT_CODE
- CPU (h_gr[f_r1]) = (OPRND (condbit)) ? ((LTSI (OPRND (sr), 0)) ? (2147483647) : (0x80000000)) : (OPRND (sr));
+ CPU (h_gr[f_r1]) = ((OPRND (condbit)) ? (((LTSI (OPRND (sr), 0)) ? (2147483647) : (0x80000000))) : (OPRND (sr)));
TRACE_RESULT (current_cpu, "dr", 'x', CPU (h_gr[f_r1]));
#if WITH_PROFILE_MODEL_P