Change minimum loop size limit to 0x10 (103792)

This commit is contained in:
Nick Clifton 2000-07-05 21:40:11 +00:00
parent 68dcecab73
commit 0dbdd75378
2 changed files with 5 additions and 1 deletions

View File

@ -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.

View File

@ -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);