mirror of
https://github.com/holub/mame
synced 2025-10-06 17:08:28 +03:00
m68040: Stop CINV DATA instruction from causing F-line exception
This commit is contained in:
parent
478df8998e
commit
32a51e28e2
@ -8064,6 +8064,9 @@ f400 ff20 cinv l . 4:16
|
|||||||
// u8 scope = (ir >> 3) & 3;
|
// u8 scope = (ir >> 3) & 3;
|
||||||
// logerror("68040 %s: pc=%08x ir=%04x cache=%d scope=%d register=%d\n", ir & 0x0020 ? "cpush" : "cinv", m_ppc, ir, cache, scope, ir & 7);
|
// logerror("68040 %s: pc=%08x ir=%04x cache=%d scope=%d register=%d\n", ir & 0x0020 ? "cpush" : "cinv", m_ppc, ir, cache, scope, ir & 7);
|
||||||
switch (cache) {
|
switch (cache) {
|
||||||
|
case 1:
|
||||||
|
// TODO: data cache
|
||||||
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
case 3:
|
case 3:
|
||||||
// we invalidate/push the whole instruction cache
|
// we invalidate/push the whole instruction cache
|
||||||
|
@ -31245,6 +31245,9 @@ void m68000_base_device::xf400_cinv_l_4()
|
|||||||
// u8 scope = (ir >> 3) & 3;
|
// u8 scope = (ir >> 3) & 3;
|
||||||
// logerror("68040 %s: pc=%08x ir=%04x cache=%d scope=%d register=%d\n", ir & 0x0020 ? "cpush" : "cinv", m_ppc, ir, cache, scope, ir & 7);
|
// logerror("68040 %s: pc=%08x ir=%04x cache=%d scope=%d register=%d\n", ir & 0x0020 ? "cpush" : "cinv", m_ppc, ir, cache, scope, ir & 7);
|
||||||
switch (cache) {
|
switch (cache) {
|
||||||
|
case 1:
|
||||||
|
// TODO: data cache
|
||||||
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
case 3:
|
case 3:
|
||||||
// we invalidate/push the whole instruction cache
|
// we invalidate/push the whole instruction cache
|
||||||
|
Loading…
Reference in New Issue
Block a user