Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2022-04-23 | general: Convert source file copyright comments over to SPDX | Morph | 4 | -10/+10 | |
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. | |||||
2022-04-03 | native_clock: Internal linkage for FencedRDTSC | Merry | 1 | -2/+4 | |
__forceinline required on MSVC for function to be inlined | |||||
2022-04-03 | native_clock: Use lfence with rdtsc | merry | 1 | -14/+33 | |
2022-04-02 | native_clock: Use writeback from CAS to avoid double-loading | merry | 1 | -4/+6 | |
2022-04-02 | native_clock: Use AtomicLoad128 | Merry | 1 | -2/+2 | |
2022-03-19 | common: Reduce unused includes | ameerj | 3 | -5/+0 | |
2022-03-11 | cpu_detect: Add additional x86 flags and telemetry | Wunkolo | 2 | -11/+40 | |
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](https://github.com/merryhime/dynarmic/blob/bcfe377aaa5138af740e90af5be7a7dff7b62a52/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. | |||||
2022-03-10 | cpu_detect: Revert `__cpuid{ex}` array-type argument | Wunkolo | 1 | -6/+6 | |
Restores compatibility with MSVC's `__cpuid` intrinsic. | |||||
2022-03-09 | cpu_detect: Add missing `lzcnt` detection | Wunkolo | 1 | -0/+1 | |
2022-03-09 | cpu_detect: Refactor cpu/manufacturer identification | Wunkolo | 2 | -24/+38 | |
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(!) | |||||
2022-03-09 | cpu_detect: Update array-types to `span` and `array` | Wunkolo | 1 | -11/+13 | |
Update some uses of `int` into some more explicitly sized types as well | |||||
2022-03-09 | cpu_detect: Utilize `Bit<N>` utility function | Wunkolo | 1 | -32/+20 | |
2022-03-09 | cpu_detect: Compact capability fields | Wunkolo | 1 | -20/+21 | |
As this structure gets more explicit, bools can be bitfields and small enums can use smaller types for their span of values. | |||||
2022-01-30 | common: wall_clock: Utilize constants for ms, us, and ns ratios | Morph | 1 | -3/+3 | |
2022-01-26 | common/xbyak_api: Make BuildRegSet() constexpr | Lioncash | 1 | -8/+8 | |
This allows us to eliminate any static constructors that would have been emitted due to the function not being constexpr. | |||||
2021-12-14 | common/cpu_detect: Remove CPU family and model | Morph | 1 | -12/+0 | |
We currently do not make use of these fields, remove them for now. | |||||
2021-12-04 | native_clock: Wait for less time in EstimateRDTSCFrequency | Morph | 1 | -18/+18 | |
In my testing, waiting for 200ms provided the same level of precision as the previous implementation when estimating the RDTSC frequency. This significantly improves the yuzu executable launch times since we reduced the wait time from 3 seconds to 200 milliseconds. | |||||
2021-12-02 | general: Replace high_resolution_clock with steady_clock | Morph | 1 | -3/+3 | |
On some OSes, high_resolution_clock is an alias to system_clock and is not monotonic in nature. Replace this with steady_clock. | |||||
2021-08-15 | xbyak: Update include path | Merry | 2 | -2/+2 | |
2021-02-15 | common: Merge uint128 to a single header file with inlines. | bunnei | 1 | -58/+0 | |
2021-01-02 | X86/NativeClock: Reimplement RTDSC access to be lock free. | Fernando Sahmkow | 2 | -22/+41 | |
2021-01-02 | X86/NativeClock: Improve performance of clock calculations on hot path. | Fernando Sahmkow | 2 | -5/+71 | |
2020-12-05 | xbyak_abi: Shorten std::size_t to size_t | Lioncash | 1 | -8/+8 | |
Makes for less reading. | |||||
2020-12-05 | xbyak_abi: Avoid implicit sign conversions | Lioncash | 1 | -2/+2 | |
2020-12-03 | audio_core: Make shadowing and unused parameters errors | Lioncash | 2 | -5/+6 | |
Moves the audio code closer to enabling warnings as errors in general. | |||||
2020-11-02 | common: Enable warnings as errors | Lioncash | 1 | -1/+1 | |
Cleans up common so that we can enable warnings as errors. | |||||
2020-09-30 | common/wall_clock: Add virtual destructors | ReinUsesLisp | 1 | -1/+1 | |
From -fsanitize=address, this code wasn't calling the proper destructor. Adding virtual destructors for each inherited class and the base class fixes this bug. While we are at it, mark the functions as final. | |||||
2020-08-30 | externals: Update Xbyak to 5.96 | Lioncash | 1 | -16/+16 | |
I made a request on the Xbyak issue tracker to allow some constructors to be constexpr in order to avoid static constructors from needing to execute for some of our register constants. This request was implemented, so this updates Xbyak so that we can make use of it. | |||||
2020-06-28 | Core/Common: Address Feedback. | Fernando Sahmkow | 1 | -2/+2 | |
2020-06-27 | Common/NativeClockx86: Reduce native clock accuracy further. | Fernando Sahmkow | 1 | -1/+1 | |
2020-06-27 | X64 Clock: Reduce accuracy to be less or equal to guest accuracy. | Fernando Sahmkow | 2 | -1/+7 | |
2020-06-27 | HostTiming: Pause the hardware clock on pause. | Fernando Sahmkow | 2 | -0/+9 | |
2020-06-20 | common/cpu_detect: Add AVX512 detection | Morph | 2 | -0/+6 | |
2020-06-18 | Common: Refactor & Document Wall clock. | Fernando Sahmkow | 1 | -40/+7 | |
2020-06-18 | Common: Implement WallClock Interface and implement a native clock for x64 | Fernando Sahmkow | 4 | -0/+214 | |
2020-06-15 | xbyak_abi: Prefer returning a struct to using out parameters in ABI_CalculateFrameSize | MerryMage | 1 | -17/+19 | |
2020-06-15 | xbyak_abi: Register indexes should be unsigned | MerryMage | 1 | -11/+12 | |
2020-06-15 | xbyak_abi: Remove *GPS variants of stack manipulation functions | MerryMage | 1 | -36/+0 | |
2020-06-15 | xbyak_abi: Fix ABI_PushRegistersAndAdjustStack | MerryMage | 1 | -6/+2 | |
Pushing GPRs twice. | |||||
2020-05-30 | Add xbyak external | David Marcec | 2 | -0/+313 | |
2020-01-18 | Remove unused CPU Vendor string and telemtry field | James Rowe | 2 | -99/+0 | |
The information is duplicated in the brand string and the telemetry field is unused | |||||
2018-11-21 | common: Remove dependency on xbyak | Lioncash | 2 | -269/+0 | |
Xbyak is currently entirely unused. Rather than carting it along, remove it and get rid of a dependency. If it's ever needed in the future, then it can be re-added (and likely be more up to date at that point in time). | |||||
2018-09-15 | Port #4182 from Citra: "Prefix all size_t with std::" | fearlessTobi | 2 | -10/+13 | |
2018-08-15 | common/xbyak_abi: Mark defined functions in header as inline | Lioncash | 1 | -7/+7 | |
Avoids potential One Definition Rule violations when these are used in the future. | |||||
2018-08-15 | common/xbyak: Use nested namespace specifiers where applicable | Lioncash | 2 | -8/+4 | |
2018-08-08 | common: Convert type traits templates over to variable template versions where applicable | Lioncash | 1 | -1/+1 | |
Uses the C++17 inline variable variants | |||||
2018-03-26 | cpu_detect.cpp: Change comment from citra to yuzu | N00byKing | 1 | -1/+1 | |
2018-01-21 | Format: Run the new clang format on everything | James Rowe | 1 | -13/+56 | |
2017-05-28 | Common: Fix some out-of-style includes | Yuri Kunde Schlesner | 1 | -1/+1 | |
2017-03-13 | common/cpu_detect: Add missing include and fix namespace scope | Yuri Kunde Schlesner | 1 | -5/+7 | |
2017-01-31 | Common/x64: remove legacy emitter and abi (#2504) | Weiyi Wang | 4 | -4197/+0 | |
These are not used any more since we moved shader JIT to xbyak. | |||||
2016-12-15 | VideoCore: Convert x64 shader JIT to use Xbyak for assembly | Yuri Kunde Schlesner | 2 | -0/+227 | |
2016-10-28 | common: use system CPUID routine on DragonFly as well | Jan Beich | 1 | -2/+2 | |
2016-10-28 | common: some FreeBSD headers are incomplete to avoid namespace pollution | Jan Beich | 1 | -1/+3 | |
In file included from src/common/x64/cpu_detect.cpp:16: /usr/include/machine/cpufunc.h:66:17: error: unknown type name 'u_int' static __inline u_int ^ /usr/include/machine/cpufunc.h:67:6: error: unknown type name 'u_int' bsfl(u_int mask) ^ /usr/include/machine/cpufunc.h:69:2: error: unknown type name 'u_int' u_int result; ^ /usr/include/machine/cpufunc.h:75:17: error: unknown type name 'u_long'; did you mean 'long'? static __inline u_long ^ /usr/include/machine/cpufunc.h:76:6: error: unknown type name 'u_long'; did you mean 'long'? bsfq(u_long mask) ^ /usr/include/machine/cpufunc.h:78:2: error: use of undeclared identifier 'u_long'; did you mean 'long'? u_long result; ^ [...] | |||||
2016-09-21 | Use negative priorities to avoid special-casing the self-include | Yuri Kunde Schlesner | 2 | -3/+3 | |
2016-09-21 | Remove empty newlines in #include blocks. | Emmanuel Gil Peyrot | 3 | -9/+4 | |
This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation. | |||||
2016-09-19 | Manually tweak source formatting and then re-run clang-format | Yuri Kunde Schlesner | 2 | -5/+3 | |
2016-09-18 | Sources: Run clang-format on everything. | Emmanuel Gil Peyrot | 5 | -1354/+2093 | |
2016-04-30 | VideoCore: Run include-what-you-use and fix most includes. | Emmanuel Gil Peyrot | 1 | -0/+2 | |
2016-04-14 | emitter: Add CALL that can be fixed up. | bunnei | 2 | -0/+13 | |
2016-04-14 | emitter: Support arbitrary FixupBranch targets. | bunnei | 2 | -0/+17 | |
2016-03-09 | emitter: templatize ImmPtr | Lioncash | 1 | -2/+6 | |
2016-03-09 | emitter: constexpr-ify helper functions | Lioncash | 1 | -19/+17 | |
2016-03-09 | emitter: Get rid of CanDoOpWith | Lioncash | 1 | -7/+0 | |
This was removed in Dolphin as there were no particular uses for it. I'm sure the same will apply to citra. | |||||
2016-03-09 | emitter: constexpr-ify OpArg | Lioncash | 1 | -30/+30 | |
2016-03-09 | emitter: friend class OpArg with XEmitter | Lioncash | 1 | -3/+4 | |
2016-03-09 | emitter: Remove unimplemented prototype | Lioncash | 1 | -1/+0 | |
2016-02-27 | x64 Emitter: Fix L bit in VEX prefix | MerryMage | 1 | -2/+2 | |
2015-09-01 | x64: Proper stack alignment in shader JIT function calls | aroulin | 3 | -424/+90 | |
Import Dolphin stack handling and register saving routines Also removes the x86 parts from abi files | |||||
2015-08-23 | x64-emitter: add RCPSS SSE instruction | aroulin | 2 | -0/+2 | |
2015-08-21 | emitter: Remove pointer casts | Lioncash | 2 | -4/+27 | |
This should also technically silence quite a few ubsan warnings. | |||||
2015-08-20 | emitter: Remove unnecessary defines | Lioncash | 1 | -5/+1 | |
2015-08-20 | emitter: Remove unnecessary else keywords | Lioncash | 1 | -7/+7 | |
2015-08-20 | emitter: Remove unused code | Lioncash | 2 | -44/+0 | |
2015-08-20 | emitter: Remove unimplemented JMP prototype | Lioncash | 1 | -1/+0 | |
2015-08-20 | emitter: Pass OpArg by reference where possible | Lioncash | 2 | -763/+763 | |
2015-08-20 | emitter: Remove unnecessary inline specifiers | Lioncash | 1 | -33/+33 | |
Functions implemented in a class definition are already implicitly inline. | |||||
2015-08-16 | Rename ARCHITECTURE_X64 definition to ARCHITECTURE_x86_64. | bunnei | 4 | -7/+7 | |
2015-08-16 | Common: Cleanup CPU capability detection code. | bunnei | 4 | -198/+141 | |
2015-08-16 | Common: Move cpu_detect to x64 directory. | bunnei | 3 | -1/+311 | |
2015-08-16 | x64: Refactor to remove fake interfaces and general cleanups. | bunnei | 4 | -0/+3814 | |