yuzu/src/core/hle
ReinUsesLisp b3587102d1 core/memory: Read and write page table atomically
Squash attributes into the pointer's integer, making them an uintptr_t
pair containing 2 bits at the bottom and then the pointer. These bits
are currently unused thanks to alignment requirements.

Configure Dynarmic to mask out these bits on pointer reads.

While we are at it, remove some unused attributes carried over from
Citra.

Read/Write and other hot functions use a two step unpacking process that
is less readable to stop MSVC from emitting an extra AND instruction in
the hot path:

 mov         rdi,rcx
 shr         rdx,0Ch
 mov         r8,qword ptr [rax+8]
 mov         rax,qword ptr [r8+rdx*8]
 mov         rdx,rax
-and         al,3
 and         rdx,0FFFFFFFFFFFFFFFCh
 je          Core::Memory::Memory::Impl::Read<unsigned char>
 mov         rax,qword ptr [vaddr]
 movzx       eax,byte ptr [rdx+rax]
2020-12-29 21:54:49 -03:00
..
kernel core/memory: Read and write page table atomically 2020-12-29 21:54:49 -03:00
service Merge pull request #5042 from Morph1984/project-aether 2020-12-21 23:47:10 -08:00
ipc.h
ipc_helpers.h hle: Type check ResponseBuilder::Push arguments, and fix use in vi.cpp 2020-12-06 18:59:22 -05:00
lock.cpp
lock.h
result.h audio_core: Make shadowing and unused parameters errors 2020-12-03 00:54:31 -05:00