From b9c12e44a4f4d5cb014719db0104bb06a76b6e7b Mon Sep 17 00:00:00 2001 From: joevt Date: Thu, 28 Mar 2024 04:50:38 -0700 Subject: [PATCH] ppcopcodes: Cleanup 3. --- cpu/ppc/ppcopcodes.cpp | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/cpu/ppc/ppcopcodes.cpp b/cpu/ppc/ppcopcodes.cpp index b991dcb..c56d5e2 100644 --- a/cpu/ppc/ppcopcodes.cpp +++ b/cpu/ppc/ppcopcodes.cpp @@ -121,7 +121,7 @@ void dppc_interpreter::ppc_addic() { } template void dppc_interpreter::ppc_addic(); -template void dppc_interpreter::ppc_addic();; +template void dppc_interpreter::ppc_addic(); template void dppc_interpreter::ppc_add() { @@ -428,7 +428,7 @@ void dppc_interpreter::ppc_neg() { ppc_store_iresult_reg(reg_d, ppc_result_d); } -template void dppc_interpreter::ppc_neg();; +template void dppc_interpreter::ppc_neg(); template void dppc_interpreter::ppc_neg(); template void dppc_interpreter::ppc_neg(); template void dppc_interpreter::ppc_neg(); @@ -461,7 +461,7 @@ void dppc_interpreter::ppc_cntlzw() { } template void dppc_interpreter::ppc_cntlzw(); -template void dppc_interpreter::ppc_cntlzw();; +template void dppc_interpreter::ppc_cntlzw(); template void dppc_interpreter::ppc_mulhwu() { @@ -476,7 +476,7 @@ void dppc_interpreter::ppc_mulhwu() { } template void dppc_interpreter::ppc_mulhwu(); -template void dppc_interpreter::ppc_mulhwu();; +template void dppc_interpreter::ppc_mulhwu(); template void dppc_interpreter::ppc_mulhw() { @@ -491,7 +491,7 @@ void dppc_interpreter::ppc_mulhw() { } template void dppc_interpreter::ppc_mulhw(); -template void dppc_interpreter::ppc_mulhw();; +template void dppc_interpreter::ppc_mulhw(); template void dppc_interpreter::ppc_mullw() { @@ -557,7 +557,7 @@ void dppc_interpreter::ppc_divw() { ppc_store_iresult_reg(reg_d, ppc_result_d); } -template void dppc_interpreter::ppc_divw();; +template void dppc_interpreter::ppc_divw(); template void dppc_interpreter::ppc_divw(); template void dppc_interpreter::ppc_divw(); template void dppc_interpreter::ppc_divw(); @@ -588,7 +588,7 @@ void dppc_interpreter::ppc_divwu() { ppc_store_iresult_reg(reg_d, ppc_result_d); } -template void dppc_interpreter::ppc_divwu();; +template void dppc_interpreter::ppc_divwu(); template void dppc_interpreter::ppc_divwu(); template void dppc_interpreter::ppc_divwu(); template void dppc_interpreter::ppc_divwu(); @@ -643,7 +643,7 @@ void dppc_interpreter::ppc_sraw() { } template void dppc_interpreter::ppc_sraw(); -template void dppc_interpreter::ppc_sraw();; +template void dppc_interpreter::ppc_sraw(); template void dppc_interpreter::ppc_srawi() { @@ -665,7 +665,7 @@ void dppc_interpreter::ppc_srawi() { } template void dppc_interpreter::ppc_srawi(); -template void dppc_interpreter::ppc_srawi();; +template void dppc_interpreter::ppc_srawi(); /** mask generator for rotate and shift instructions (ยง 4.2.1.4 PowerpC PEM) */ static inline uint32_t rot_mask(unsigned rot_mb, unsigned rot_me) { @@ -1641,7 +1641,7 @@ void dppc_interpreter::ppc_lha() { ppc_grab_regsda(ppc_cur_instruction); ppc_effective_address = int32_t(int16_t(ppc_cur_instruction)); ppc_effective_address += (reg_a ? ppc_result_a : 0); - int16_t val = mmu_read_vmem(ppc_effective_address); + int16_t val = mmu_read_vmem(ppc_effective_address); ppc_store_iresult_reg(reg_d, int32_t(val)); } @@ -1653,7 +1653,7 @@ void dppc_interpreter::ppc_lhau() { if ((reg_a != reg_d) && reg_a != 0) { ppc_effective_address = int32_t(int16_t(ppc_cur_instruction)); ppc_effective_address += ppc_result_a; - int16_t val = mmu_read_vmem(ppc_effective_address); + int16_t val = mmu_read_vmem(ppc_effective_address); ppc_store_iresult_reg(reg_d, int32_t(val)); uint32_t ppc_result_a = ppc_effective_address; ppc_store_iresult_reg(reg_a, ppc_result_a); @@ -1669,7 +1669,7 @@ void dppc_interpreter::ppc_lhaux() { ppc_grab_regsdab(ppc_cur_instruction); if ((reg_a != reg_d) && reg_a != 0) { ppc_effective_address = ppc_result_a + ppc_result_b; - int16_t val = mmu_read_vmem(ppc_effective_address); + int16_t val = mmu_read_vmem(ppc_effective_address); ppc_store_iresult_reg(reg_d, int32_t(val)); uint32_t ppc_result_a = ppc_effective_address; ppc_store_iresult_reg(reg_a, ppc_result_a); @@ -1685,7 +1685,7 @@ void dppc_interpreter::ppc_lhax() { #endif ppc_grab_regsdab(ppc_cur_instruction); ppc_effective_address = ppc_result_b + (reg_a ? ppc_result_a : 0); - int16_t val = mmu_read_vmem(ppc_effective_address); + int16_t val = mmu_read_vmem(ppc_effective_address); ppc_store_iresult_reg(reg_d, int32_t(val)); }