aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
Diffstat (limited to 'sim')
-rw-r--r--sim/d30v/ChangeLog4
-rw-r--r--sim/d30v/d30v-insns2
2 files changed, 5 insertions, 1 deletions
diff --git a/sim/d30v/ChangeLog b/sim/d30v/ChangeLog
index 1845a45..6f65b24 100644
--- a/sim/d30v/ChangeLog
+++ b/sim/d30v/ChangeLog
@@ -1,3 +1,7 @@
+2000-07-05 Nick Clifton <nickc@cygnus.com>
+
+ * d30v-insns: Change minimum loop size limit to 0x10.
+
Tue May 23 21:39:23 2000 Andrew Cagney <cagney@b1.cygnus.com>
* configure: Regenerated to track ../common/aclocal.m4 changes.
diff --git a/sim/d30v/d30v-insns b/sim/d30v/d30v-insns
index 47f837c..7b7c3c8 100644
--- a/sim/d30v/d30v-insns
+++ b/sim/d30v/d30v-insns
@@ -1621,7 +1621,7 @@ void::function::do_repeat:unsigned32 count, address_word pcaddr
sim_engine_abort (SD, CPU, cia, "REPEAT with ra=0 and REPEATI with imm = 0 is forbidden.");
if (count > 1)
PSW_SET_QUEUE (PSW_RP, 1);
- if (rpt_e < rpt_s + 0x18)
+ if (rpt_e < rpt_s + 0x10)
sim_io_eprintf (sd, "warning: 0x%lx: REPEAT or REPEATI loop is too small\n", (long) cia);
WRITE32_QUEUE (&RPT_C, count - 1);
WRITE32_QUEUE (&RPT_S, rpt_s);