From: Toni Wilen Date: Mon, 5 Jan 2015 11:35:52 +0000 (+0200) Subject: 68000 prefetch mode DBcc cycle usage fix. X-Git-Tag: 3100~145 X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=d5b04c3ed42510cac349e7d266635395943aa185;p=francis%2Fwinuae.git 68000 prefetch mode DBcc cycle usage fix. --- diff --git a/gencpu.cpp b/gencpu.cpp index 8c476c58..92e62edd 100644 --- a/gencpu.cpp +++ b/gencpu.cpp @@ -4099,6 +4099,7 @@ bccl_not68020: //genamode (curi, curi->smode, "srcreg", curi->size, "src", 1, 0, GF_AA | GF_NOREFILL); //genamode (curi, curi->dmode, "dstreg", curi->size, "offs", 1, 0, GF_AA | GF_NOREFILL); printf ("\tuaecptr oldpc = %s;\n", getpc); + addcycles000_nonce("\t\t", 2); addcycles000 (2); push_ins_cnt(); printf ("\tif (!cctrue (%d)) {\n", curi->cc); @@ -4120,7 +4121,7 @@ bccl_not68020: add_head_cycs (6); fill_prefetch_1 (2); fill_prefetch_full_020 (); - returncycles ("\t\t\t", 10); + returncycles ("\t\t\t", 8); printf ("\t\t}\n"); add_head_cycs (10); printf ("\t} else {\n");