mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-08 07:51:28 +12:00
PPU: fix some typos in asm code
This commit is contained in:
parent
9feb92df1b
commit
cf6606065d
1 changed files with 3 additions and 3 deletions
|
@ -1407,7 +1407,7 @@ const auto ppu_stcx_accurate_tx = build_function_asm<u64(*)(u32 raddr, u64 rtime
|
||||||
c.cmp(stamp1, x86::qword_ptr(reinterpret_cast<u64>(&g_rtm_tx_limit1)));
|
c.cmp(stamp1, x86::qword_ptr(reinterpret_cast<u64>(&g_rtm_tx_limit1)));
|
||||||
c.jae(fall);
|
c.jae(fall);
|
||||||
});
|
});
|
||||||
c.bt(x86::dword_ptr(args[2], ::offset32(&spu_thread::state) - ::offset32(&ppu_thread::rdata)), static_cast<u32>(cpu_flag::pause));
|
c.bt(x86::dword_ptr(args[2], ::offset32(&ppu_thread::state) - ::offset32(&ppu_thread::rdata)), static_cast<u32>(cpu_flag::pause));
|
||||||
c.jc(fall);
|
c.jc(fall);
|
||||||
c.xbegin(tx0);
|
c.xbegin(tx0);
|
||||||
c.mov(x86::rax, x86::qword_ptr(x86::rbx));
|
c.mov(x86::rax, x86::qword_ptr(x86::rbx));
|
||||||
|
@ -1637,7 +1637,7 @@ const auto ppu_stcx_accurate_tx = build_function_asm<u64(*)(u32 raddr, u64 rtime
|
||||||
}
|
}
|
||||||
|
|
||||||
c.mov(x86::rax, -1);
|
c.mov(x86::rax, -1);
|
||||||
c.mov(x86::qword_ptr(args[2], ::offset32(&spu_thread::last_ftime) - ::offset32(&spu_thread::rdata)), x86::rax);
|
c.mov(x86::qword_ptr(args[2], ::offset32(&ppu_thread::last_ftime) - ::offset32(&ppu_thread::rdata)), x86::rax);
|
||||||
c.xor_(x86::eax, x86::eax);
|
c.xor_(x86::eax, x86::eax);
|
||||||
//c.jmp(_ret);
|
//c.jmp(_ret);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue