Narr the Reg
d1f2f5f146
common: param_package: Demote DEBUG to TRACE for getters
3 years ago
Liam
feaf010fa2
common/assert: rework ASSERT handling to avoid std::function usage
3 years ago
Liam
a29ddcee40
common/assert: add unlikely
3 years ago
Liam
58fea44eb5
common: Don't test ASSERT conditions inline
3 years ago
Liam
084d7d6b01
common: Change semantics of UNREACHABLE to unconditionally crash
3 years ago
bunnei
5282efac1b
Merge pull request #8413 from behunin/bounded-queue
...
gpu_thread: Move to bounded queue
3 years ago
bunnei
ae83d5c6d3
Merge pull request #8393 from lat9nq/default-vulkan
...
general: Set renderer_backend's default to Vulkan
3 years ago
Liam
3c313a43fd
common: consolidate ELF structure definitions
3 years ago
Levi Behunin
4dd6bcd206
gpu_thread: Move to bounded queue
3 years ago
Liam
fb4b3c127f
core/debugger: Implement new GDB stub debugger
3 years ago
lat9nq
5799fa4d7d
settings: Set Vulkan to the default renderer backend
3 years ago
bunnei
d879741ec6
Merge pull request #8374 from german77/asnycvibrations
...
input_common: Make vibration request async
3 years ago
lat9nq
0e5a6676c3
path_util: Resolve `-Wpointer-bool-conversion` warning
...
Clang (rightfully) warns that we are checking for the existence of
pointer to something just allocated on the stack, which is always true.
Instead, check whether GetModuleFileNameW failed.
Co-authored-by: Mai M <mathew1800@gmail.com>
3 years ago
Narr the Reg
bf948b5790
input_common: Make vibration request async
3 years ago
lat9nq
ffd3afcf2f
string_util: Add U16StringFromBuffer
...
Qt's QString::toStdU16String doesn't work when compiling against the
latest libstdc++, at least when using Clang. This function effectively
does the same thing as the aforementioned one.
3 years ago
Fernando Sahmkow
5562ae9cc5
VideoCore: Add option to dump the macros.
...
Co-Authored-By: liamwhite <liamwhite@users.noreply.github.com>
3 years ago
Mai M
ca28b447ac
Merge pull request #8280 from Tachi107/spdx-fixup
...
chore: add missing SPDX tags
3 years ago
Liam
709d7fd92c
GCC 12 fixes
3 years ago
Andrea Pappacoda
01cf05bc75
chore: add missing SPDX tags
...
Follow-up to 99ceb03a1c
3 years ago
Morph
99ceb03a1c
general: Convert source file copyright comments over to SPDX
...
This formats all copyright comments according to SPDX formatting guidelines.
Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
3 years ago
german77
d2f9412cf1
yuzu: Add custom ringcon configuration
3 years ago
bunnei
8deaac8bd1
hle: kernel: Use std::mutex instead of spin locks for most kernel locking.
3 years ago
Merry
c589db6add
common: Replace lock_guard with scoped_lock
3 years ago
Fernando S
a02fd4cddd
Merge pull request #8143 from merryhime/rdtsc
...
native_clock: Use lfence with rdtsc
3 years ago
Liam
0cfcee95c7
service: jit: stub JIT service
3 years ago
bunnei
f114436120
Merge pull request #8089 from merryhime/paranoia
...
configuration: Add Paranoid CPU accuracy level
3 years ago
Merry
4052bfb4ad
native_clock: Internal linkage for FencedRDTSC
...
__forceinline required on MSVC for function to be inlined
3 years ago
merry
fdd4d019ef
native_clock: Use lfence with rdtsc
3 years ago
merry
979e53b87b
native_clock: Use writeback from CAS to avoid double-loading
3 years ago
merry
084bd225dc
atomic_ops: Implement AtomicCompareAndSwap with writeback
3 years ago
Merry
c562c1d6be
native_clock: Use AtomicLoad128
3 years ago
Merry
b4746529e1
atomic_ops: Implement AtomicLoad128
3 years ago
merry
3c8547160d
configuration: Add Paranoid CPU accuracy level
...
Disables most optimizations for the paranoid.
3 years ago
bunnei
4d9488033f
hle: nvflinger: Merge Rect with Common::Rectangle.
3 years ago
bunnei
0704b645df
common: logging: Add a logger for NVFlinger.
3 years ago
ameerj
866b7c20a8
general: Fix clang/gcc build errors
3 years ago
ameerj
923decae5a
common: Reduce unused includes
3 years ago
ameerj
8a8ea65fae
common: Reduce unused includes
3 years ago
bunnei
0fdf1d2a60
common: tree: Various updates.
3 years ago
bunnei
69c2faeb6a
common: intrusive_red_black_tree: Various updates.
3 years ago
Wunkolo
d248c1203e
cpu_detect: Add additional x86 flags and telemetry
...
Adds detection of additional CPU flags to cpu_detect and additions to telemetry output.
This is not exhaustive but guided by features that [dynarmic utilizes](bcfe377aaa/src/dynarmic/backend/x64/host_feature.h (L12-L33)
) as well as features that are currently utilized but not reported to telemetry(invariant_tsc). This is intended to guide future optimizations.
AVX512 in particular is broken up into its individual subsets and some other processor features such as [sha](https://en.wikipedia.org/wiki/Intel_SHA_extensions ) and [gfni](https://en.wikipedia.org/wiki/AVX-512#GFNI ) are added to have some forward-facing data-points.
What used to be a single `CPU_Extension_x64_AVX512` telemetry field
is also broken up into individual `CPU_Extension_x64_AVX512{F,VL,CD,...}` fields.
3 years ago
Wunkolo
29a7a61806
common/telemetry: Update `AddField` name type to `string_view`
...
Non-owning `string_view` is flexable and
avoids some of the many redundant copies made over `std::string`
3 years ago
Merry
22f50c6bc1
backend: Ensure backend_thread is destructed before message_queue
...
Ensures that stop_token signals that stop has been requested before destruction of conditional_variable
3 years ago
Wunkolo
d9b1199ffb
cpu_detect: Revert `__cpuid{ex}` array-type argument
...
Restores compatibility with MSVC's `__cpuid` intrinsic.
3 years ago
Wunkolo
873a9fa7e5
cpu_detect: Add missing `lzcnt` detection
3 years ago
Wunkolo
ec5f3351b6
cpu_detect: Refactor cpu/manufacturer identification
...
Set the zero-enum value to Unknown
Move the Manufacterer enum into the CPUCaps structure namespace
Add "ParseManufacturer" utility-function
Fix cpu/brand string buffer sizes(!)
3 years ago
Wunkolo
86e9e60f07
cpu_detect: Update array-types to `span` and `array`
...
Update some uses of `int` into some more explicitly sized types as well
3 years ago
Wunkolo
3c33ba7f18
cpu_detect: Utilize `Bit<N>` utility function
3 years ago
Wunkolo
d233de8194
cpu_detect: Compact capability fields
...
As this structure gets more explicit, bools can be bitfields and
small enums can use smaller types for their span of values.
3 years ago
Wunkolo
add2cfcb96
bit_util: Add `bit` utility function
...
Extracts a singular bit, as a bool, from the specified compile-time index.
3 years ago