/dports/emulators/dolphin-emu/dolphin-3152428/Source/Core/Core/PowerPC/Interpreter/ |
H A D | Interpreter_LoadStore.cpp | 44 const u32 temp = PowerPC::Read_U8(Helper_Get_EA(PowerPC::ppcState, inst)); in lbz() 234 const u32 temp = PowerPC::Read_U16(Helper_Get_EA(PowerPC::ppcState, inst)); in lhz() 330 PowerPC::Write_U8((u8)rGPR[inst.RS], Helper_Get_EA(PowerPC::ppcState, inst)); in stb() 406 PowerPC::Write_U16((u16)rGPR[inst.RS], Helper_Get_EA(PowerPC::ppcState, inst)); in sth() 422 PowerPC::Write_U32(rGPR[inst.RS], Helper_Get_EA(PowerPC::ppcState, inst)); in stw() 606 const u32 temp = PowerPC::Read_U8(Helper_Get_EA_X(PowerPC::ppcState, inst)); in lbzx() 660 const u32 temp = PowerPC::Read_U16(Helper_Get_EA_X(PowerPC::ppcState, inst)); in lhzx() 747 PowerPC::Write_U8((u8)rGPR[inst.RS], Helper_Get_EA_X(PowerPC::ppcState, inst)); in stbx() 842 PowerPC::Write_U16((u16)rGPR[inst.RS], Helper_Get_EA_X(PowerPC::ppcState, inst)); in sthx() 1020 PowerPC::ppcState.cr.SetField(0, 2 | PowerPC::GetXER_SO()); in stwcxd() [all …]
|
H A D | Interpreter_SystemRegisters.cpp | 117 PowerPC::ppcState.cr.SetField(inst.CRFD, PowerPC::GetXER().Hex >> 28); in mcrxr() 118 PowerPC::ppcState.xer_ca = 0; in mcrxr() 191 PowerPC::CheckExceptions(); in mtmsr() 356 PowerPC::IBATUpdated(); in mtspr() 410 PowerPC::SDRUpdated(); in mtspr() 498 PowerPC::ppcState.cr.SetBit(inst.CRBD, PowerPC::ppcState.cr.GetBit(inst.CRBA) & in crand() 504 PowerPC::ppcState.cr.SetBit(inst.CRBD, PowerPC::ppcState.cr.GetBit(inst.CRBA) & in crandc() 510 PowerPC::ppcState.cr.SetBit(inst.CRBD, 1 ^ (PowerPC::ppcState.cr.GetBit(inst.CRBA) ^ in creqv() 516 PowerPC::ppcState.cr.SetBit(inst.CRBD, 1 ^ (PowerPC::ppcState.cr.GetBit(inst.CRBA) & in crnand() 522 PowerPC::ppcState.cr.SetBit(inst.CRBD, 1 ^ (PowerPC::ppcState.cr.GetBit(inst.CRBA) | in crnor() [all …]
|
H A D | Interpreter_FloatingPoint.cpp | 131 PowerPC::ppcState.UpdateCR1(); in ConvertToInteger() 303 PowerPC::UpdateFPRF(b); in frspx() 334 PowerPC::UpdateFPRF(result); in fmulx() 355 PowerPC::UpdateFPRF(result); in fmulsx() 373 PowerPC::UpdateFPRF(result); in fmaddx() 396 PowerPC::UpdateFPRF(result); in fmaddsx() 414 PowerPC::UpdateFPRF(result); in faddx() 431 PowerPC::UpdateFPRF(result); in faddsx() 451 PowerPC::UpdateFPRF(result); in fdivx() 471 PowerPC::UpdateFPRF(result); in fdivsx() [all …]
|
H A D | Interpreter.cpp | 130 const auto& ps = PowerPC::ppcState.ps[i]; in Trace() 169 m_prev_inst.hex = PowerPC::Read_Opcode(PC); in SingleStepInner() 234 PowerPC::ppcState.downcount = 0; in SingleStep() 236 if (PowerPC::ppcState.Exceptions) in SingleStep() 238 PowerPC::CheckExceptions(); in SingleStep() 272 while (PowerPC::ppcState.downcount > 0) in Run() 309 PowerPC::breakpoints.Remove(PC); in Run() 316 PowerPC::ppcState.downcount -= i; in Run() 322 while (PowerPC::ppcState.downcount > 0) in Run() 331 PowerPC::ppcState.downcount -= cycles; in Run() [all …]
|
H A D | Interpreter_Paired.cpp | 120 PowerPC::UpdateFPRF(ps0); in ps_div() 148 PowerPC::UpdateFPRF(ps0); in ps_res() 196 PowerPC::UpdateFPRF(ps0); in ps_sub() 211 PowerPC::UpdateFPRF(ps0); in ps_add() 229 PowerPC::UpdateFPRF(ps0); in ps_mul() 250 PowerPC::UpdateFPRF(ps0); in ps_msub() 271 PowerPC::UpdateFPRF(ps0); in ps_madd() 295 PowerPC::UpdateFPRF(ps0); in ps_nmsub() 319 PowerPC::UpdateFPRF(ps0); in ps_nmadd() 335 PowerPC::UpdateFPRF(ps0); in ps_sum0() [all …]
|
H A D | Interpreter_Integer.cpp | 18 PowerPC::ppcState.cr.fields[0] = cr_val; in Helper_UpdateCR0() 82 if (PowerPC::GetXER_SO()) in cmpi() 101 if (PowerPC::GetXER_SO()) in cmpli() 141 PowerPC::CheckExceptions(); in twi() 212 if (PowerPC::GetXER_SO()) in cmp() 231 if (PowerPC::GetXER_SO()) in cmpl() 329 PowerPC::SetCarry(1); in srawx() 334 PowerPC::SetCarry(0); in srawx() 384 PowerPC::CheckExceptions(); in tw() 504 PowerPC::SetXER_OV(overflow); in divwx() [all …]
|
/dports/emulators/dolphin-emu/dolphin-3152428/Source/Core/Common/Debug/ |
H A D | OSThread.cpp | 22 cr = PowerPC::HostRead_U32(addr + 0x80); in Read() 23 lr = PowerPC::HostRead_U32(addr + 0x84); in Read() 24 ctr = PowerPC::HostRead_U32(addr + 0x88); in Read() 25 xer = PowerPC::HostRead_U32(addr + 0x8C); in Read() 28 fpscr = PowerPC::HostRead_U64(addr + 0x190); in Read() 29 srr0 = PowerPC::HostRead_U32(addr + 0x198); in Read() 30 srr1 = PowerPC::HostRead_U32(addr + 0x19c); in Read() 31 dummy = PowerPC::HostRead_U16(addr + 0x1a0); in Read() 69 state = PowerPC::HostRead_U16(addr + 0x2c8); in Read() 99 return PowerPC::HostIsRAMAddress(stack_end) && PowerPC::HostRead_U32(stack_end) == STACK_MAGIC; in IsValid() [all …]
|
/dports/emulators/dolphin-emu/dolphin-3152428/Source/Core/Core/PowerPC/ |
H A D | PowerPC.h | 24 namespace PowerPC 226 #define PC PowerPC::ppcState.pc 227 #define NPC PowerPC::ppcState.npc 228 #define FPSCR PowerPC::ppcState.fpscr 229 #define MSR PowerPC::ppcState.msr 230 #define GPR(n) PowerPC::ppcState.gpr[n] 232 #define rGPR PowerPC::ppcState.gpr 233 #define rSPR(i) PowerPC::ppcState.spr[i] 251 PowerPC::ppcState.xer_ca = ca; in SetCarry() 256 return PowerPC::ppcState.xer_ca; in GetCarry() [all …]
|
/dports/emulators/dolphin-emu/dolphin-3152428/Source/Core/Core/Boot/ |
H A D | Boot_BS2Emu.cpp | 57 PowerPC::SingleStep(); in RunFunction() 86 PowerPC::DBATUpdated(); in SetupBAT() 87 PowerPC::IBATUpdated(); in SetupBAT() 123 PowerPC::ppcState.gpr[3] = 0x81300000; in RunApploader() 131 PowerPC::ppcState.gpr[3] = 0x81300004; in RunApploader() 132 PowerPC::ppcState.gpr[4] = 0x81300008; in RunApploader() 133 PowerPC::ppcState.gpr[5] = 0x8130000c; in RunApploader() 141 while (PowerPC::ppcState.gpr[3] != 0x00) in RunApploader() 151 PowerPC::ppcState.gpr[3] = 0x81300004; in RunApploader() 152 PowerPC::ppcState.gpr[4] = 0x81300008; in RunApploader() [all …]
|
/dports/lang/gnatdroid-binutils-x86/binutils-2.27/gas/doc/ |
H A D | c-ppc.texi | 15 @cindex PowerPC support 18 * PowerPC-Pseudo:: PowerPC Assembler Directives 19 * PowerPC-Syntax:: PowerPC Syntax 22 @node PowerPC-Opts 25 @cindex options for PowerPC 26 @cindex PowerPC options 28 @cindex PowerPC architectures 191 @node PowerPC-Pseudo 208 @node PowerPC-Syntax 209 @section PowerPC Syntax [all …]
|
/dports/devel/arm-elf-binutils/binutils-2.37/gas/doc/ |
H A D | c-ppc.texi | 15 @cindex PowerPC support 18 * PowerPC-Pseudo:: PowerPC Assembler Directives 19 * PowerPC-Syntax:: PowerPC Syntax 22 @node PowerPC-Opts 25 @cindex options for PowerPC 26 @cindex PowerPC options 28 @cindex PowerPC architectures 197 @node PowerPC-Pseudo 214 @node PowerPC-Syntax 215 @section PowerPC Syntax [all …]
|
/dports/devel/gnulibiberty/binutils-2.37/gas/doc/ |
H A D | c-ppc.texi | 15 @cindex PowerPC support 18 * PowerPC-Pseudo:: PowerPC Assembler Directives 19 * PowerPC-Syntax:: PowerPC Syntax 22 @node PowerPC-Opts 25 @cindex options for PowerPC 26 @cindex PowerPC options 28 @cindex PowerPC architectures 197 @node PowerPC-Pseudo 214 @node PowerPC-Syntax 215 @section PowerPC Syntax [all …]
|
/dports/lang/gnatdroid-binutils/binutils-2.27/gas/doc/ |
H A D | c-ppc.texi | 15 @cindex PowerPC support 18 * PowerPC-Pseudo:: PowerPC Assembler Directives 19 * PowerPC-Syntax:: PowerPC Syntax 22 @node PowerPC-Opts 25 @cindex options for PowerPC 26 @cindex PowerPC options 28 @cindex PowerPC architectures 191 @node PowerPC-Pseudo 208 @node PowerPC-Syntax 209 @section PowerPC Syntax [all …]
|
/dports/devel/binutils/binutils-2.37/gas/doc/ |
H A D | c-ppc.texi | 15 @cindex PowerPC support 18 * PowerPC-Pseudo:: PowerPC Assembler Directives 19 * PowerPC-Syntax:: PowerPC Syntax 22 @node PowerPC-Opts 25 @cindex options for PowerPC 26 @cindex PowerPC options 28 @cindex PowerPC architectures 197 @node PowerPC-Pseudo 214 @node PowerPC-Syntax 215 @section PowerPC Syntax [all …]
|
/dports/emulators/dolphin-emu/dolphin-3152428/Source/Core/DolphinQt/Debugger/ |
H A D | RegisterWidget.cpp | 252 PowerPC::ppcState.spr[SPR_IBAT0L + i * 2]; in PopulateTable() 260 PowerPC::ppcState.spr[SPR_DBAT0L + i * 2]; in PopulateTable() 288 [i](u64 value) { PowerPC::ppcState.sr[i] = value; }); in PopulateTable() 298 [](u64 value) { PowerPC::ppcState.pc = value; }); in PopulateTable() 303 [](u64 value) { PowerPC::ppcState.spr[SPR_LR] = value; }); in PopulateTable() 308 [](u64 value) { PowerPC::ppcState.spr[SPR_CTR] = value; }); in PopulateTable() 313 [](u64 value) { PowerPC::ppcState.cr.Set(value); }); in PopulateTable() 318 [](u64 value) { PowerPC::SetXER(UReg_XER(value)); }); in PopulateTable() 328 [](u64 value) { PowerPC::ppcState.msr.Hex = value; }); in PopulateTable() 341 [](u64 value) { PowerPC::ppcState.Exceptions = value; }); in PopulateTable() [all …]
|
/dports/devel/zpu-gcc/zpu-toolchain-1.0/toolchain/binutils/gas/doc/ |
H A D | c-ppc.texi | 8 @chapter PowerPC Dependent Features 15 @cindex PowerPC support 18 * PowerPC-Pseudo:: PowerPC Assembler Directives 21 @node PowerPC-Opts 24 @cindex options for PowerPC 25 @cindex PowerPC options 26 @cindex architectures, PowerPC 27 @cindex PowerPC architectures 44 Generate code for PowerPC 601. 111 @node PowerPC-Pseudo [all …]
|
/dports/devel/tigcc/tigcc-0.96.b8_10/gnu/binutils-2.16.1/gas/doc/ |
H A D | c-ppc.texi | 8 @chapter PowerPC Dependent Features 15 @cindex PowerPC support 18 * PowerPC-Pseudo:: PowerPC Assembler Directives 21 @node PowerPC-Opts 24 @cindex options for PowerPC 25 @cindex PowerPC options 26 @cindex architectures, PowerPC 27 @cindex PowerPC architectures 44 Generate code for PowerPC 601. 111 @node PowerPC-Pseudo [all …]
|
/dports/devel/zpu-binutils/zpu-toolchain-1.0/toolchain/binutils/gas/doc/ |
H A D | c-ppc.texi | 8 @chapter PowerPC Dependent Features 15 @cindex PowerPC support 18 * PowerPC-Pseudo:: PowerPC Assembler Directives 21 @node PowerPC-Opts 24 @cindex options for PowerPC 25 @cindex PowerPC options 26 @cindex architectures, PowerPC 27 @cindex PowerPC architectures 44 Generate code for PowerPC 601. 111 @node PowerPC-Pseudo [all …]
|
/dports/devel/djgpp-binutils/binutils-2.17/gas/doc/ |
H A D | c-ppc.texi | 8 @chapter PowerPC Dependent Features 15 @cindex PowerPC support 18 * PowerPC-Pseudo:: PowerPC Assembler Directives 21 @node PowerPC-Opts 24 @cindex options for PowerPC 25 @cindex PowerPC options 26 @cindex architectures, PowerPC 27 @cindex PowerPC architectures 44 Generate code for PowerPC 601. 117 @node PowerPC-Pseudo [all …]
|
/dports/emulators/dolphin-emu/dolphin-3152428/Source/Core/Core/Debugger/ |
H A D | PPCDebugInterface.cpp | 31 if (!PowerPC::HostIsRAMAddress(address)) in Patch() 252 return PowerPC::HostRead_U32(address); in ReadMemory() 286 PowerPC::breakpoints.Add(address); in SetBreakpoint() 291 PowerPC::breakpoints.Remove(address); in ClearBreakpoint() 296 PowerPC::breakpoints.Clear(); in ClearAllBreakpoints() 304 PowerPC::breakpoints.Add(address); in ToggleBreakpoint() 309 PowerPC::memchecks.Clear(); in ClearAllMemChecks() 331 PowerPC::memchecks.Add(MemCheck); in ToggleMemCheck() 335 PowerPC::memchecks.Remove(address); in ToggleMemCheck() 374 return PowerPC::ppcState.pc; in GetPC() [all …]
|
H A D | RSO.cpp | 21 m_header.entry.next_entry = PowerPC::HostRead_U32(address); in Load() 27 m_header.entry.version = PowerPC::HostRead_U32(address + 0x18); in Load() 180 section.offset = PowerPC::HostRead_U32(address); in Load() 181 section.size = PowerPC::HostRead_U32(address + 4); in Load() 240 rso_export.hash = PowerPC::HostRead_U32(address + 12); in Load() 267 entry.r_offset = PowerPC::HostRead_U32(address); in Load() 268 entry.r_info = PowerPC::HostRead_U32(address + 4); in Load() 269 entry.r_addend = PowerPC::HostRead_U32(address + 8); in Load() 296 entry.r_offset = PowerPC::HostRead_U32(address); in Load() 297 entry.r_info = PowerPC::HostRead_U32(address + 4); in Load() [all …]
|
/dports/emulators/dolphin-emu/dolphin-3152428/Source/Core/Core/HLE/ |
H A D | HLE_Misc.cpp | 39 u32 gch_gameid = PowerPC::HostRead_U32(Gecko::INSTALLER_BASE_ADDRESS); in GeckoCodeHandlerICacheFlush() 48 PowerPC::HostWrite_U32(gch_gameid + 1, Gecko::INSTALLER_BASE_ADDRESS); in GeckoCodeHandlerICacheFlush() 50 PowerPC::ppcState.iCache.Reset(); in GeckoCodeHandlerICacheFlush() 61 GPR(1) = PowerPC::HostRead_U32(SP + 8); in GeckoReturnTrampoline() 62 NPC = PowerPC::HostRead_U32(SP + 12); in GeckoReturnTrampoline() 63 LR = PowerPC::HostRead_U32(SP + 16); in GeckoReturnTrampoline() 64 PowerPC::ppcState.cr.Set(PowerPC::HostRead_U32(SP + 20)); in GeckoReturnTrampoline() 67 rPS(i).SetBoth(PowerPC::HostRead_U64(SP + 24 + 2 * i * sizeof(u64)), in GeckoReturnTrampoline() 68 PowerPC::HostRead_U64(SP + 24 + (2 * i + 1) * sizeof(u64))); in GeckoReturnTrampoline()
|
H A D | HLE_OS.cpp | 52 if (PowerPC::HostIsRAMAddress(GPR(3)) && in HLE_GeneralDebugPrint() 53 (PowerPC::HostIsRAMAddress(PowerPC::HostRead_U32(GPR(3))) || in HLE_GeneralDebugPrint() 54 PowerPC::HostRead_U32(GPR(3)) == 0)) in HLE_GeneralDebugPrint() 56 if (PowerPC::HostIsRAMAddress(GPR(4))) in HLE_GeneralDebugPrint() 69 if (PowerPC::HostIsRAMAddress(GPR(3))) in HLE_GeneralDebugPrint() 104 if (PowerPC::HostIsRAMAddress(GPR(5))) in HLE_write_console() 106 u32 size = PowerPC::Read_U32(GPR(5)); in HLE_write_console() 161 if (PowerPC::HostIsRAMAddress(GPR(3)) && PowerPC::HostIsRAMAddress(GPR(3) + 0xF)) in HLE_LogFPrint() 164 fd = static_cast<short>(PowerPC::HostRead_U16(GPR(3) + 0xE)); in HLE_LogFPrint() 169 fd = static_cast<short>(PowerPC::HostRead_U16(GPR(3) + 0x2)); in HLE_LogFPrint() [all …]
|
/dports/emulators/dolphin-emu/dolphin-3152428/Source/Core/Core/ |
H A D | GeckoCode.cpp | 164 PowerPC::HostWrite_U32(0x00d0c0de, codelist_base_address); in InstallCodeHandlerLocked() 188 PowerPC::HostWrite_U32(code.address, next_address); in InstallCodeHandlerLocked() 189 PowerPC::HostWrite_U32(code.data, next_address + 4); in InstallCodeHandlerLocked() 198 PowerPC::HostWrite_U32(0xF0000000, next_address); in InstallCodeHandlerLocked() 199 PowerPC::HostWrite_U32(0x00000000, next_address + 4); in InstallCodeHandlerLocked() 200 PowerPC::HostWrite_U32(0, HLE_TRAMPOLINE_ADDRESS); in InstallCodeHandlerLocked() 203 PowerPC::HostWrite_U8(1, INSTALLER_BASE_ADDRESS + 7); in InstallCodeHandlerLocked() 266 PowerPC::HostWrite_U32(SP + 8, SP); in RunCodeHandler() 269 PowerPC::HostWrite_U32(PC, SP + 12); in RunCodeHandler() 270 PowerPC::HostWrite_U32(LR, SP + 16); in RunCodeHandler() [all …]
|
/dports/emulators/dolphin-emu/dolphin-3152428/Source/UnitTests/Core/ |
H A D | CoreTimingTest.cpp | 46 PowerPC::Init(PowerPC::CPUCore::Interpreter); in ScopeInit() 52 PowerPC::Shutdown(); in ~ScopeInit() 92 EXPECT_EQ(1000, PowerPC::ppcState.downcount); in TEST() 94 EXPECT_EQ(500, PowerPC::ppcState.downcount); in TEST() 96 EXPECT_EQ(500, PowerPC::ppcState.downcount); in TEST() 98 EXPECT_EQ(100, PowerPC::ppcState.downcount); in TEST() 100 EXPECT_EQ(100, PowerPC::ppcState.downcount); in TEST() 150 PowerPC::ppcState.downcount = 0; in TEST() 214 PowerPC::ppcState.downcount = 0; in TEST() 221 PowerPC::ppcState.downcount = 0; in TEST() [all …]
|