Skip to content

Tiny Refactoring - #6143

Merged
2 commits merged into
RPCS3:masterfrom
elad335:ref
Jun 28, 2019
Merged

Tiny Refactoring#6143
2 commits merged into
RPCS3:masterfrom
elad335:ref

Conversation

@elad335

@elad335 elad335 commented Jun 28, 2019

Copy link
Copy Markdown
Contributor
  • Prefer vm::ptr<>::ptr over vm::get_addr.
  • Prefer vm::_ptr/base over vm::g_base_addr with offset.
  • Added methods atomic_t<>::bts and atomic_t<>::btr .
  • Removed obsolute rsx::thread::Read/WriteIO32 methods.
  • Removed wrong check in semaphore_release.
  • Added handling for PUTRx commands for RawSPU MFC proxy.
  • Prefer overloaded methods of v128 instead of _mm_... in VPKSHUS ppu interpreter precise.
  • Fixed more potential overflows that may result in wrong behaviour.
  • Added io/size alignment check for sys_rsx_context_iounmap.
  • Added rsx::constants::local_mem_base which represents RSX local memory base address.
  • Removed obsolute rsx::thread::main_mem_addr/ioSize/ioAddress members.

@elad335
elad335 force-pushed the ref branch 3 times, most recently from f554ca2 to 381aa93 Compare June 28, 2019 16:55
@AniLeo
AniLeo requested a review from kd-11 June 28, 2019 17:08
@AniLeo
AniLeo requested a review from a user June 28, 2019 17:09
@AniLeo AniLeo added the Bugfix label Jun 28, 2019
@elad335
elad335 force-pushed the ref branch 5 times, most recently from f7cb6d4 to b5740c8 Compare June 28, 2019 19:28
@ghost
ghost merged commit 1ee7b91 into RPCS3:master Jun 28, 2019
elad335 added a commit to elad335/rpcs3 that referenced this pull request Jun 29, 2019
elad335 added a commit to elad335/rpcs3 that referenced this pull request Jun 29, 2019
elad335 added a commit to elad335/rpcs3 that referenced this pull request Jun 29, 2019
elad335 added a commit to elad335/rpcs3 that referenced this pull request Jun 29, 2019
elad335 added a commit to elad335/rpcs3 that referenced this pull request Jun 29, 2019
elad335 added a commit to elad335/rpcs3 that referenced this pull request Jun 29, 2019
elad335 added a commit to elad335/rpcs3 that referenced this pull request Jun 29, 2019
elad335 added a commit to elad335/rpcs3 that referenced this pull request Jun 29, 2019
elad335 added a commit to elad335/rpcs3 that referenced this pull request Jun 29, 2019
elad335 added a commit to elad335/rpcs3 that referenced this pull request Jun 29, 2019
elad335 added a commit to elad335/rpcs3 that referenced this pull request Jun 29, 2019
elad335 added a commit to elad335/rpcs3 that referenced this pull request Jun 29, 2019
elad335 added a commit to elad335/rpcs3 that referenced this pull request Jun 29, 2019
elad335 added a commit to elad335/rpcs3 that referenced this pull request Jun 29, 2019
elad335 added a commit to elad335/rpcs3 that referenced this pull request Jun 29, 2019
elad335 added a commit to elad335/rpcs3 that referenced this pull request Jun 29, 2019
ghost pushed a commit that referenced this pull request Jun 29, 2019
    vm::spu max address was overflowing resulting in issues, so cast to u64 where needed. Fixes #6145.
    Use vm::get_addr instead of manually substructing vm::base(0) from pointer in texture cache code.
    Prefer std::atomic_thread_fence over _mm_?fence(), adjust usage to be more correct.
    Used sequantially consistent ordering in semaphore_release for TSX path as well.
    Improved memory ordering for sys_rsx_context_iounmap/map.
    Fixed sync bugs in HLE gcm because of not using atomic instructions.
    Use release memory barrier in lwsync for PPU LLVM, according to this xbox360 programming guide lwsync is a hw release memory barrier.
    Also use release barrier where lwsync was originally used in liblv2 sys_lwmutex and cellSync.
    Use acquire barrier for isync instruction, see https://devblogs.microsoft.com/oldnewthing/20180814-00/?p=99485
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants