summaryrefslogtreecommitdiff
path: root/src/common (follow)
Commit message (Collapse)AuthorAgeFilesLines
* alignment: Simplify AlignmentAllocator implementationGravatar Lioncash2020-07-171-43/+4
| | | | | With C++20, much of the allocator interface has been simplified, so we can make the same adjustments.
* common/swap: Make use of std::endianGravatar Lioncash2020-07-141-42/+4
| | | | Allows removing a bunch of defines in favor of a two liner.
* common/alignment: Fix compilation errors (#4303)Gravatar Tobias2020-07-121-1/+3
|
* Revert "Port citra-emu/citra#5441: "Common: remove a mod from AlignUp""Gravatar bunnei2020-07-111-3/+1
|
* Common: remove a mod from AlignUp (#5441)Gravatar Marshall Mohror2020-07-111-1/+3
| | | | In cases where the size is not a known constant when inlining, AlignUp<std::size_t> currently generates two 64-bit div instructions. This generates one div and a cmov which is significantly cheaper.
* cmake: Fix libfmt linking errorsGravatar David Marcec2020-07-101-5/+1
|
* cmake: fix fmt linking when foundGravatar John Galt2020-07-091-1/+5
| | | | | | | This is a new attempt at #4206 that shouldn't break windows builds. If someone else could test on windows, it would be much appreciated. Previously, the build bot passed but the actual builds failed.
* Revert "cmake: fix fmt linking"Gravatar bunnei2020-07-021-1/+1
|
* Merge pull request #4206 from RealJohnGalt/linkfixGravatar bunnei2020-07-021-1/+1
|\ | | | | cmake: fix fmt linking
| * cmake: fix fmt linkingGravatar John Galt2020-06-291-1/+1
| | | | | | | | | | | | | | | | | | On gcc/ld, and clang/lld, fmt::v6 symbols are excluded, so linking fails. This fixes the issue. Note: This was included in the FindBoost changes I shared with BlinkHawk, however only they were merged. I'm not sure if it was missed, or if there was an issue with this part of the change.
* | common: switch to nullptr for sysctl's empty new valueGravatar Jan Beich2020-06-301-4/+4
| |
* | common: add sysconf() fallbackGravatar Jan Beich2020-06-291-3/+16
|/ | | | | | src/common/memory_detect.cpp:15:10: fatal error: 'sys/sysinfo.h' file not found #include <sys/sysinfo.h> ^~~~~~~~~~~~~~~
* Core/Common: Address Feedback.Gravatar Fernando Sahmkow2020-06-274-12/+13
|
* Common/Kernel: Corrections and small bug fixing.Gravatar Fernando Sahmkow2020-06-271-6/+1
|
* Common/NativeClockx86: Reduce native clock accuracy further.Gravatar Fernando Sahmkow2020-06-271-1/+1
|
* Common/AtomicOps: Correct GCC Intrinsic argument ordering.Gravatar Fernando Sahmkow2020-06-271-5/+5
|
* Clang Format.Gravatar Fernando Sahmkow2020-06-273-23/+23
|
* General: Tune the priority of main emulation threads so they have higher ↵Gravatar Fernando Sahmkow2020-06-272-0/+55
| | | | priority than less important helper threads.
* X64 Clock: Reduce accuracy to be less or equal to guest accuracy.Gravatar Fernando Sahmkow2020-06-272-1/+7
|
* ARM/Memory: Correct Exclusive Monitor and Implement Exclusive Memory Writes.Gravatar Fernando Sahmkow2020-06-273-0/+89
|
* HostTiming: Pause the hardware clock on pause.Gravatar Fernando Sahmkow2020-06-274-0/+15
|
* General: Recover Prometheus project from harddrive failure Gravatar Fernando Sahmkow2020-06-271-0/+6
| | | | | | | This commit: Implements CPU Interrupts, Replaces Cycle Timing for Host Timing, Reworks the Kernel's Scheduler, Introduce Idle State and Suspended State, Recreates the bootmanager, Initializes Multicore system.
* Merge pull request #3396 from FernandoS27/prometheus-1Gravatar David2020-06-2814-3/+758
|\ | | | | Implement SpinLocks, Fibers and a Host Timer
| * Common: Fix non-conan buildGravatar Fernando Sahmkow2020-06-261-1/+2
| |
| * Common/Fiber: Address Feedback and Correct Memory leaks.Gravatar Fernando Sahmkow2020-06-182-34/+41
| |
| * Common/Fiber: Implement Rewind on Boost Context.Gravatar Fernando Sahmkow2020-06-182-2/+39
| |
| * Common/uint128: Correct MSVC Compilation in old versions.Gravatar Fernando Sahmkow2020-06-181-0/+4
| |
| * Common/Fiber: Document fiber interexchange.Gravatar Fernando Sahmkow2020-06-181-1/+4
| |
| * Common/Fiber: Implement Rewinding.Gravatar Fernando Sahmkow2020-06-182-2/+38
| |
| * Common/Fiber: Additional corrections to f_context.Gravatar Fernando Sahmkow2020-06-181-4/+4
| |
| * Common/Fiber: Correct f_context based Fibers.Gravatar Fernando Sahmkow2020-06-181-6/+8
| |
| * Core/HostTiming: Allow events to be advanced manually.Gravatar Fernando Sahmkow2020-06-182-5/+6
| |
| * Common/Tests: Address FeedbackGravatar Fernando Sahmkow2020-06-183-8/+8
| |
| * Common: Make MinGW build use Windows Fibers instead of fcontext_tGravatar Fernando Sahmkow2020-06-182-4/+4
| |
| * Common/Tests: Clang Format.Gravatar Fernando Sahmkow2020-06-184-18/+21
| |
| * Common: Correct fcontext fibers.Gravatar Fernando Sahmkow2020-06-181-5/+4
| |
| * Common: Refactor & Document Wall clock.Gravatar Fernando Sahmkow2020-06-185-49/+49
| |
| * Common: Implement WallClock Interface and implement a native clock for x64Gravatar Fernando Sahmkow2020-06-187-0/+348
| |
| * Tests: Add base tests to host timingGravatar Fernando Sahmkow2020-06-181-2/+2
| |
| * Common: Polish Fiber class, add comments, asserts and more tests.Gravatar Fernando Sahmkow2020-06-184-24/+53
| |
| * Tests: Add tests for fibers and refactor/fix Fiber classGravatar Fernando Sahmkow2020-06-182-19/+32
| |
| * Common: Implement a basic Fiber class.Gravatar Fernando Sahmkow2020-06-183-0/+204
| |
| * Common: Implement a basic SpinLock classGravatar Fernando Sahmkow2020-06-183-0/+68
| |
* | common/telemetry: Add AVX512 to telemetryGravatar Morph2020-06-201-0/+1
| |
* | common/cpu_detect: Add AVX512 detectionGravatar Morph2020-06-202-0/+6
|/
* Merge pull request #4086 from MerryMage/abiGravatar bunnei2020-06-171-66/+29
|\ | | | | xbyak_abi: Cleanup
| * xbyak_abi: Prefer returning a struct to using out parameters in ↵Gravatar MerryMage2020-06-151-17/+19
| | | | | | | | ABI_CalculateFrameSize
| * xbyak_abi: Register indexes should be unsignedGravatar MerryMage2020-06-151-11/+12
| |
| * xbyak_abi: Remove *GPS variants of stack manipulation functionsGravatar MerryMage2020-06-151-36/+0
| |
| * xbyak_abi: Fix ABI_PushRegistersAndAdjustStackGravatar MerryMage2020-06-151-6/+2
| | | | | | | | Pushing GPRs twice.