suyu/src/common
Morph 27c33ab73f x64: Add MicroSleep
MicroSleep allows the processor to pause for a "short" amount of time (in the microsecond range). This is useful for spin-waiting that does not require nanosecond precision.
This uses the new TPAUSE instruction introduced on Intel's newest processors as part of the waitpkg instructions. For CPUs that do not support waitpkg instructions, this is equivalent to yield().

Co-Authored-By: liamwhite <liamwhite@users.noreply.github.com>
2023-03-27 17:45:22 -04:00
..
fs general: fix compile for Apple Clang 2022-11-22 22:22:28 -05:00
logging bounded_threadsafe_queue: Deduplicate and add PushModes 2023-03-21 19:20:21 -04:00
windows timer_resolution: Set current process to High QoS 2023-03-05 02:36:31 -05:00
x64 x64: Add MicroSleep 2023-03-27 17:45:22 -04:00
address_space.cpp general: Format licenses as per SPDX guidelines 2022-10-06 21:00:54 +02:00
address_space.h Move to Clang Format 15 2023-01-29 17:49:42 -07:00
address_space.inc general: rework usages of UNREACHABLE macro 2022-10-06 21:00:54 +02:00
algorithm.h General: Fix compilation for GCC 2022-10-06 21:00:53 +02:00
alignment.h Move to Clang Format 15 2023-01-29 17:49:42 -07:00
announce_multiplayer_room.h general: fix spelling mistakes 2023-03-12 11:33:01 -04:00
assert.cpp common/assert: rework ASSERT handling to avoid std::function usage 2022-06-13 20:09:32 -04:00
assert.h Enable compiler optimizations and enforce x86-64-v2 on GCC/Clang (#9442) 2022-12-17 17:16:52 -08:00
atomic_helpers.h Move to Clang Format 15 2023-01-29 17:49:42 -07:00
atomic_ops.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
bit_cast.h common: make BitCast constexpr 2023-03-07 20:26:56 -05:00
bit_field.h general: Enforce C4800 everywhere except in video_core 2022-10-22 15:02:04 -04:00
bit_set.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
bit_util.h Move to Clang Format 15 2023-01-29 17:49:42 -07:00
bounded_threadsafe_queue.h bounded_threadsafe_queue: Refactor Pop 2023-03-21 22:33:58 -04:00
cityhash.cpp chore: add missing SPDX tags 2022-04-28 18:24:11 +02:00
cityhash.h chore: add missing SPDX tags 2022-04-28 18:24:11 +02:00
CMakeLists.txt x64: Add MicroSleep 2023-03-27 17:45:22 -04:00
common_funcs.h Initial ARM64 support 2022-11-09 16:58:49 -05:00
common_precompiled_headers.h CMake: Consolidate common PCH headers 2022-11-30 18:30:30 -05:00
common_types.h chore: add missing SPDX tags 2022-04-28 18:24:11 +02:00
concepts.h Move to Clang Format 15 2023-01-29 17:49:42 -07:00
container_hash.h container_hash: use climits 2023-03-26 10:24:33 -04:00
demangle.cpp cmake: prefer system llvm library 2023-01-23 06:23:00 +01:00
demangle.h Move demangle impl to cpp 2023-01-14 05:12:41 +00:00
detached_tasks.cpp chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
detached_tasks.h chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
div_ceil.h Move to Clang Format 15 2023-01-29 17:49:42 -07:00
dynamic_library.cpp chore: add missing SPDX tags 2022-04-28 18:24:11 +02:00
dynamic_library.h chore: add missing SPDX tags 2022-04-28 18:24:11 +02:00
elf.h common: consolidate ELF structure definitions 2022-06-05 09:42:05 -04:00
error.cpp chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
error.h chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
expected.h Move to Clang Format 15 2023-01-29 17:49:42 -07:00
fiber.cpp general: fix spelling mistakes 2023-03-12 11:33:01 -04:00
fiber.h common/fiber: make fibers easier to use 2022-07-02 12:33:49 -04:00
fixed_point.h general: fix spelling mistakes 2023-03-12 11:33:01 -04:00
hash.h Refactor VideoCore to use AS sepparate from Channel. 2022-10-06 21:00:52 +02:00
hex_util.cpp chore: add missing SPDX tags 2022-04-28 18:24:11 +02:00
hex_util.h chore: add missing SPDX tags 2022-04-28 18:24:11 +02:00
host_memory.cpp general: fix spelling mistakes 2023-03-12 11:33:01 -04:00
host_memory.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
input.h general: fix spelling mistakes 2023-03-12 11:33:01 -04:00
intrusive_red_black_tree.h Move to Clang Format 15 2023-01-29 17:49:42 -07:00
literals.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
lru_cache.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
lz4_compression.cpp general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
lz4_compression.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
make_unique_for_overwrite.h Move to Clang Format 15 2023-01-29 17:49:42 -07:00
math_util.h chore: add missing SPDX tags 2022-04-28 18:24:11 +02:00
memory_detect.cpp general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
memory_detect.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
microprofile.cpp chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
microprofile.h code: dodge PAGE_SIZE #define 2022-08-19 16:08:40 -07:00
microprofileui.h chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
multi_level_page_table.cpp general: Format licenses as per SPDX guidelines 2022-10-06 21:00:54 +02:00
multi_level_page_table.h General: address feedback 2022-10-06 21:00:54 +02:00
multi_level_page_table.inc general: Format licenses as per SPDX guidelines 2022-10-06 21:00:54 +02:00
nvidia_flags.cpp general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
nvidia_flags.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
overflow.h kernel: avoid signed overflow UB on MSVC 2023-03-07 19:46:48 -05:00
page_table.cpp general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
page_table.h core/debugger: memory breakpoint support 2022-06-16 13:18:07 -04:00
param_package.cpp chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
param_package.h chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
parent_of_member.h Silence std::aligned_storage warnings as it's deprecated in C++23, 2022-09-01 16:50:41 +01:00
point.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
polyfill_ranges.h Move to Clang Format 15 2023-01-29 17:49:42 -07:00
polyfill_thread.h Move to Clang Format 15 2023-01-29 17:49:42 -07:00
precompiled_headers.h CMake: Consolidate common PCH headers 2022-11-30 18:30:30 -05:00
quaternion.h chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
range_map.h Video_core: Address feedback 2023-01-04 14:39:42 -05:00
reader_writer_queue.h chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
ring_buffer.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
scm_rev.cpp.in chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
scm_rev.h chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
scope_exit.h chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
scratch_buffer.h texture_cache: Add async texture decoding 2023-02-22 00:26:07 -05:00
settings.cpp Merge pull request #9849 from ameerj/async-astc 2023-02-26 09:20:12 -05:00
settings.h Merge pull request #9906 from german77/metroid2 2023-03-08 10:43:38 -08:00
settings_input.cpp general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
settings_input.h Configuration: Add per-game input profiles 2022-11-20 14:06:31 -05:00
socket_types.h Make copyright headers SPDX-compliant 2022-08-15 20:25:42 +02:00
spin_lock.cpp general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
spin_lock.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
steady_clock.cpp steady_clock: Introduce a real time clock 2023-03-07 21:17:46 -05:00
steady_clock.h steady_clock: Introduce a real time clock 2023-03-07 21:17:46 -05:00
stream.cpp general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
stream.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
string_util.cpp common: string_util: Use std::string_view for UTF16ToUTF8/UTF8ToUTF16W. 2023-03-18 22:42:25 -07:00
string_util.h common: string_util: Use std::string_view for UTF16ToUTF8/UTF8ToUTF16W. 2023-03-18 22:42:25 -07:00
swap.h general: fix spelling mistakes 2023-03-12 11:33:01 -04:00
telemetry.cpp chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
telemetry.h chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
thread.cpp Core: Fix tests. 2022-06-28 01:10:55 +02:00
thread.h general: improve handling of system startup failure 2022-12-06 16:13:42 -05:00
thread_queue_list.h chore: add missing SPDX tags 2022-04-28 18:24:11 +02:00
thread_worker.h general: fix compile for Apple Clang 2022-11-22 22:22:28 -05:00
threadsafe_queue.h general: fix compile for Apple Clang 2022-11-22 22:22:28 -05:00
time_zone.cpp general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
time_zone.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
tiny_mt.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
tree.h Move to Clang Format 15 2023-01-29 17:49:42 -07:00
typed_address.h kernel: use KTypedAddress for addresses 2023-03-22 09:35:16 -04:00
uint128.h common: remove unneeded x86-specific header 2022-08-16 15:19:57 -06:00
unique_function.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
uuid.cpp general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
uuid.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
vector_math.h Move to Clang Format 15 2023-01-29 17:49:42 -07:00
virtual_buffer.cpp general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
virtual_buffer.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
wall_clock.cpp core_timing: Use higher precision sleeps on Windows 2023-03-05 02:36:31 -05:00
wall_clock.h core_timing: Use higher precision sleeps on Windows 2023-03-05 02:36:31 -05:00
zstd_compression.cpp zstd: Use ZSTD_getFrameContentSize instead of ZSTD_getDecompressedSize 2023-03-23 22:16:20 -04:00
zstd_compression.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00