bunnei
e6f71e15a1
common: Merge uint128 to a single header file with inlines.
5 years ago
Fernando Sahmkow
659fb51dd9
X86/NativeClock: Reimplement RTDSC access to be lock free.
5 years ago
Fernando Sahmkow
50dd9a423a
X86/NativeClock: Improve performance of clock calculations on hot path.
5 years ago
Lioncash
50516223e3
xbyak_abi: Shorten std::size_t to size_t
Makes for less reading.
5 years ago
Lioncash
65a52ab81a
xbyak_abi: Avoid implicit sign conversions
5 years ago
Lioncash
29db886722
audio_core: Make shadowing and unused parameters errors
Moves the audio code closer to enabling warnings as errors in general.
5 years ago
Lioncash
38ffaef6eb
common: Enable warnings as errors
Cleans up common so that we can enable warnings as errors.
6 years ago
ReinUsesLisp
a66d8bb49d
common/wall_clock: Add virtual destructors
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.
6 years ago
Lioncash
1233d14175
externals: Update Xbyak to 5.96
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.
6 years ago
Fernando Sahmkow
94a51e6b21
Core/Common: Address Feedback.
6 years ago
Fernando Sahmkow
74c9ad1976
Common/NativeClockx86: Reduce native clock accuracy further.
6 years ago
Fernando Sahmkow
1cc7c426df
X64 Clock: Reduce accuracy to be less or equal to guest accuracy.
6 years ago
Fernando Sahmkow
fb1d75a788
HostTiming: Pause the hardware clock on pause.
6 years ago
Morph
d0a762a6a8
common/cpu_detect: Add AVX512 detection
6 years ago
Fernando Sahmkow
0c789667d9
Common: Refactor & Document Wall clock.
6 years ago
Fernando Sahmkow
ee32067b10
Common: Implement WallClock Interface and implement a native clock for x64
6 years ago
MerryMage
f0054fb284
xbyak_abi: Prefer returning a struct to using out parameters in ABI_CalculateFrameSize
6 years ago
MerryMage
10e9220ec6
xbyak_abi: Register indexes should be unsigned
6 years ago
MerryMage
f60ab4ab14
xbyak_abi: Remove *GPS variants of stack manipulation functions
6 years ago
MerryMage
c1f6eaf06b
xbyak_abi: Fix ABI_PushRegistersAndAdjustStack
Pushing GPRs twice.
6 years ago
David Marcec
4686c15c03
Add xbyak external
6 years ago
James Rowe
afd360f85d
Remove unused CPU Vendor string and telemtry field
The information is duplicated in the brand string and the telemetry field is unused
6 years ago
Lioncash
7a14d90f97
common: Remove dependency on xbyak
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).
7 years ago
fearlessTobi
1190ea6ddb
Port #4182 from Citra: "Prefix all size_t with std::"
8 years ago
Lioncash
c0f2f8a840
common/xbyak_abi: Mark defined functions in header as inline
Avoids potential One Definition Rule violations when these are used in
the future.
8 years ago
Lioncash
9b5b9205a5
common/xbyak: Use nested namespace specifiers where applicable
8 years ago
Lioncash
6b1e9244c0
common: Convert type traits templates over to variable template versions where applicable
Uses the C++17 inline variable variants
8 years ago
N00byKing
6b5f41b812
cpu_detect.cpp: Change comment from citra to yuzu
8 years ago
James Rowe
ea88c44eb8
Format: Run the new clang format on everything
8 years ago
Yuri Kunde Schlesner
8b55ffb74a
Common: Fix some out-of-style includes
9 years ago
Yuri Kunde Schlesner
bc3f65a0ee
common/cpu_detect: Add missing include and fix namespace scope
9 years ago
Weiyi Wang
6580180759
Common/x64: remove legacy emitter and abi ( #2504 )
These are not used any more since we moved shader JIT to xbyak.
9 years ago
Yuri Kunde Schlesner
2d892f845c
VideoCore: Convert x64 shader JIT to use Xbyak for assembly
9 years ago
Jan Beich
6ddc8b49ff
common: use system CPUID routine on DragonFly as well
10 years ago
Jan Beich
8e5d3f77fb
common: some FreeBSD headers are incomplete to avoid namespace pollution
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;
^
[...]
10 years ago
Yuri Kunde Schlesner
fa5d9d8266
Use negative priorities to avoid special-casing the self-include
10 years ago
Emmanuel Gil Peyrot
1138ec0d49
Remove empty newlines in #include blocks.
This makes clang-format useful on those.
Also add a bunch of forgotten transitive includes, which otherwise
prevented compilation.
10 years ago
Yuri Kunde Schlesner
1e4a5da9f4
Manually tweak source formatting and then re-run clang-format
10 years ago
Emmanuel Gil Peyrot
628ed4376a
Sources: Run clang-format on everything.
10 years ago
Emmanuel Gil Peyrot
c39a267974
VideoCore: Run include-what-you-use and fix most includes.
10 years ago
bunnei
2d9c714baf
emitter: Add CALL that can be fixed up.
10 years ago
bunnei
98e70a3040
emitter: Support arbitrary FixupBranch targets.
10 years ago
Lioncash
11f0ba5143
emitter: templatize ImmPtr
10 years ago
Lioncash
adc46f6a4f
emitter: constexpr-ify helper functions
10 years ago
Lioncash
eaf4973993
emitter: Get rid of CanDoOpWith
This was removed in Dolphin as there were no particular uses for it.
I'm sure the same will apply to citra.
10 years ago
Lioncash
fad503ce71
emitter: constexpr-ify OpArg
10 years ago
Lioncash
3a2c84f5a4
emitter: friend class OpArg with XEmitter
10 years ago
Lioncash
ba1b8314f4
emitter: Remove unimplemented prototype
10 years ago
MerryMage
7ca5dd5e08
x64 Emitter: Fix L bit in VEX prefix
10 years ago
aroulin
89a7c9068f
x64: Proper stack alignment in shader JIT function calls
Import Dolphin stack handling and register saving routines
Also removes the x86 parts from abi files
11 years ago