* mloopx.in: Fix handling of branch in parallel with another insn.
authorDoug Evans <dje@google.com>
Fri, 27 Feb 1998 18:24:00 +0000 (18:24 +0000)
committerDoug Evans <dje@google.com>
Fri, 27 Feb 1998 18:24:00 +0000 (18:24 +0000)
* semx.c: Regenerate.

sim/m32r/ChangeLog
sim/m32r/semx.c

index ffb51c6..6958fc5 100644 (file)
@@ -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.
index 4642837..95d886d 100644 (file)
@@ -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