From 2e7236783eccbd1d0bed7f49aac81e447be5e314 Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Fri, 27 Feb 1998 18:24:00 +0000 Subject: * mloopx.in: Fix handling of branch in parallel with another insn. * semx.c: Regenerate. --- sim/m32r/ChangeLog | 7 +++++++ sim/m32r/semx.c | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) 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 + + * 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 * 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 -- cgit v1.1