summaryrefslogtreecommitdiffstats
path: root/src/common/x64 (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-08-15xbyak: Update include pathMerry2-2/+2
2021-02-15common: Merge uint128 to a single header file with inlines.bunnei1-58/+0
2021-01-02X86/NativeClock: Reimplement RTDSC access to be lock free.Fernando Sahmkow2-22/+41
2021-01-02X86/NativeClock: Improve performance of clock calculations on hot path.Fernando Sahmkow2-5/+71
2020-12-05xbyak_abi: Shorten std::size_t to size_tLioncash1-8/+8
Makes for less reading.
2020-12-05xbyak_abi: Avoid implicit sign conversionsLioncash1-2/+2
2020-12-03audio_core: Make shadowing and unused parameters errorsLioncash2-5/+6
Moves the audio code closer to enabling warnings as errors in general.
2020-11-02common: Enable warnings as errorsLioncash1-1/+1
Cleans up common so that we can enable warnings as errors.
2020-09-30common/wall_clock: Add virtual destructorsReinUsesLisp1-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-30externals: Update Xbyak to 5.96Lioncash1-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-28Core/Common: Address Feedback.Fernando Sahmkow1-2/+2
2020-06-27Common/NativeClockx86: Reduce native clock accuracy further.Fernando Sahmkow1-1/+1
2020-06-27X64 Clock: Reduce accuracy to be less or equal to guest accuracy.Fernando Sahmkow2-1/+7
2020-06-27HostTiming: Pause the hardware clock on pause.Fernando Sahmkow2-0/+9
2020-06-20common/cpu_detect: Add AVX512 detectionMorph2-0/+6
2020-06-18Common: Refactor & Document Wall clock.Fernando Sahmkow1-40/+7
2020-06-18Common: Implement WallClock Interface and implement a native clock for x64Fernando Sahmkow4-0/+214
2020-06-15xbyak_abi: Prefer returning a struct to using out parameters in ABI_CalculateFrameSizeMerryMage1-17/+19
2020-06-15xbyak_abi: Register indexes should be unsignedMerryMage1-11/+12
2020-06-15xbyak_abi: Remove *GPS variants of stack manipulation functionsMerryMage1-36/+0
2020-06-15xbyak_abi: Fix ABI_PushRegistersAndAdjustStackMerryMage1-6/+2
Pushing GPRs twice.
2020-05-30Add xbyak externalDavid Marcec2-0/+313
2020-01-18Remove unused CPU Vendor string and telemtry fieldJames Rowe2-99/+0
The information is duplicated in the brand string and the telemetry field is unused
2018-11-21common: Remove dependency on xbyakLioncash2-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-15Port #4182 from Citra: "Prefix all size_t with std::"fearlessTobi2-10/+13
2018-08-15common/xbyak_abi: Mark defined functions in header as inlineLioncash1-7/+7
Avoids potential One Definition Rule violations when these are used in the future.
2018-08-15common/xbyak: Use nested namespace specifiers where applicableLioncash2-8/+4
2018-08-08common: Convert type traits templates over to variable template versions where applicableLioncash1-1/+1
Uses the C++17 inline variable variants
2018-03-26cpu_detect.cpp: Change comment from citra to yuzuN00byKing1-1/+1
2018-01-21Format: Run the new clang format on everythingJames Rowe1-13/+56
2017-05-28Common: Fix some out-of-style includesYuri Kunde Schlesner1-1/+1
2017-03-13common/cpu_detect: Add missing include and fix namespace scopeYuri Kunde Schlesner1-5/+7
2017-01-31Common/x64: remove legacy emitter and abi (#2504)Weiyi Wang4-4197/+0
These are not used any more since we moved shader JIT to xbyak.
2016-12-15VideoCore: Convert x64 shader JIT to use Xbyak for assemblyYuri Kunde Schlesner2-0/+227
2016-10-28common: use system CPUID routine on DragonFly as wellJan Beich1-2/+2
2016-10-28common: some FreeBSD headers are incomplete to avoid namespace pollutionJan Beich1-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-21Use negative priorities to avoid special-casing the self-includeYuri Kunde Schlesner2-3/+3
2016-09-21Remove empty newlines in #include blocks.Emmanuel Gil Peyrot3-9/+4
This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation.
2016-09-19Manually tweak source formatting and then re-run clang-formatYuri Kunde Schlesner2-5/+3
2016-09-18Sources: Run clang-format on everything.Emmanuel Gil Peyrot5-1354/+2093
2016-04-30VideoCore: Run include-what-you-use and fix most includes.Emmanuel Gil Peyrot1-0/+2
2016-04-14emitter: Add CALL that can be fixed up.bunnei2-0/+13
2016-04-14emitter: Support arbitrary FixupBranch targets.bunnei2-0/+17
2016-03-09emitter: templatize ImmPtrLioncash1-2/+6
2016-03-09emitter: constexpr-ify helper functionsLioncash1-19/+17
2016-03-09emitter: Get rid of CanDoOpWithLioncash1-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-09emitter: constexpr-ify OpArgLioncash1-30/+30
2016-03-09emitter: friend class OpArg with XEmitterLioncash1-3/+4
2016-03-09emitter: Remove unimplemented prototypeLioncash1-1/+0
2016-02-27x64 Emitter: Fix L bit in VEX prefixMerryMage1-2/+2
2015-09-01x64: Proper stack alignment in shader JIT function callsaroulin3-424/+90
Import Dolphin stack handling and register saving routines Also removes the x86 parts from abi files
2015-08-23x64-emitter: add RCPSS SSE instructionaroulin2-0/+2
2015-08-21emitter: Remove pointer castsLioncash2-4/+27
This should also technically silence quite a few ubsan warnings.
2015-08-20emitter: Remove unnecessary definesLioncash1-5/+1
2015-08-20emitter: Remove unnecessary else keywordsLioncash1-7/+7
2015-08-20emitter: Remove unused codeLioncash2-44/+0
2015-08-20emitter: Remove unimplemented JMP prototypeLioncash1-1/+0
2015-08-20emitter: Pass OpArg by reference where possibleLioncash2-763/+763
2015-08-20emitter: Remove unnecessary inline specifiersLioncash1-33/+33
Functions implemented in a class definition are already implicitly inline.
2015-08-16Rename ARCHITECTURE_X64 definition to ARCHITECTURE_x86_64.bunnei4-7/+7
2015-08-16Common: Cleanup CPU capability detection code.bunnei4-198/+141
2015-08-16Common: Move cpu_detect to x64 directory.bunnei3-1/+311
2015-08-16x64: Refactor to remove fake interfaces and general cleanups.bunnei4-0/+3814