diff options
Diffstat (limited to 'src/devices/cpu/mips/mips3fe.cpp')
-rw-r--r-- | src/devices/cpu/mips/mips3fe.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/devices/cpu/mips/mips3fe.cpp b/src/devices/cpu/mips/mips3fe.cpp index 77b72c9b48b..49b86be681b 100644 --- a/src/devices/cpu/mips/mips3fe.cpp +++ b/src/devices/cpu/mips/mips3fe.cpp @@ -40,7 +40,8 @@ bool mips3_frontend::describe(opcode_desc &desc, const opcode_desc *prev) // compute the physical PC assert((desc.physpc & 3) == 0); - if (!m_mips3->memory_translate(AS_PROGRAM, TRANSLATE_FETCH, desc.physpc)) + address_space *tspace; + if (!m_mips3->memory_translate(AS_PROGRAM, device_memory_interface::TR_FETCH, desc.physpc, tspace)) { // uh-oh: a page fault; leave the description empty and just if this is the first instruction, leave it empty and // mark as needing to validate; otherwise, just end the sequence here @@ -155,6 +156,7 @@ bool mips3_frontend::describe(opcode_desc &desc, const opcode_desc *prev) case 0x22: // LWL case 0x26: // LWR desc.regin[0] |= REGFLAG_R(RTREG); + [[fallthrough]]; case 0x20: // LB case 0x21: // LH case 0x23: // LW @@ -217,6 +219,7 @@ bool mips3_frontend::describe(opcode_desc &desc, const opcode_desc *prev) case 0x33: // PREF if (m_mips3->m_flavor < mips3_device::MIPS3_TYPE_MIPS_IV) return false; + [[fallthrough]]; case 0x2f: // CACHE // effective no-op return true; @@ -253,6 +256,7 @@ bool mips3_frontend::describe_special(uint32_t op, opcode_desc &desc) if (m_mips3->m_flavor < mips3_device::MIPS3_TYPE_MIPS_IV) return false; desc.regin[0] |= REGFLAG_R(RDREG); + [[fallthrough]]; case 0x04: // SLLV case 0x06: // SRLV case 0x07: // SRAV @@ -596,6 +600,7 @@ bool mips3_frontend::describe_cop1(uint32_t op, opcode_desc &desc) case 0x13: // MOVN - MIPS IV if (m_mips3->m_flavor < mips3_device::MIPS3_TYPE_MIPS_IV) return false; + [[fallthrough]]; case 0x00: // ADD case 0x01: // SUB case 0x02: // MUL @@ -608,6 +613,7 @@ bool mips3_frontend::describe_cop1(uint32_t op, opcode_desc &desc) case 0x16: // RSQRT - MIPS IV if (m_mips3->m_flavor < mips3_device::MIPS3_TYPE_MIPS_IV) return false; + [[fallthrough]]; case 0x04: // SQRT case 0x05: // ABS case 0x06: // MOV |