Fernando Sahmkow
234b5ff6a9
Common: Implement WallClock Interface and implement a native clock for x64
6 years ago
MerryMage
7c6203dc5e
xbyak_abi: Prefer returning a struct to using out parameters in ABI_CalculateFrameSize
6 years ago
MerryMage
36362e9695
xbyak_abi: Register indexes should be unsigned
6 years ago
MerryMage
d563017dfe
xbyak_abi: Remove *GPS variants of stack manipulation functions
6 years ago
MerryMage
4417770ba9
xbyak_abi: Fix ABI_PushRegistersAndAdjustStack
Pushing GPRs twice.
6 years ago
David Marcec
d0bdd26c26
Add xbyak external
6 years ago
James Rowe
4512a6bbfc
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
3533d33ff5
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
63c2e32e20
Port #4182 from Citra: "Prefix all size_t with std::"
7 years ago
Lioncash
6d549abb4e
common/xbyak_abi: Mark defined functions in header as inline
Avoids potential One Definition Rule violations when these are used in
the future.
7 years ago
Lioncash
0ce0905380
common/xbyak: Use nested namespace specifiers where applicable
7 years ago
Lioncash
a7d6efc520
common: Convert type traits templates over to variable template versions where applicable
Uses the C++17 inline variable variants
8 years ago
N00byKing
99d86deb1f
cpu_detect.cpp: Change comment from citra to yuzu
8 years ago
James Rowe
096be16636
Format: Run the new clang format on everything
8 years ago
Yuri Kunde Schlesner
2579ae543b
Common: Fix some out-of-style includes
9 years ago
Yuri Kunde Schlesner
6ca816e011
common/cpu_detect: Add missing include and fix namespace scope
9 years ago
Weiyi Wang
0b9c59ff22
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
f4e98ecf3f
VideoCore: Convert x64 shader JIT to use Xbyak for assembly
9 years ago
Jan Beich
ddd8709e14
common: use system CPUID routine on DragonFly as well
9 years ago
Jan Beich
3d801be97d
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;
^
[...]
9 years ago
Yuri Kunde Schlesner
84fbbe2629
Use negative priorities to avoid special-casing the self-include
9 years ago
Emmanuel Gil Peyrot
ebdae19fd2
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.
9 years ago
Yuri Kunde Schlesner
396a8d91a4
Manually tweak source formatting and then re-run clang-format
9 years ago
Emmanuel Gil Peyrot
dc8479928c
Sources: Run clang-format on everything.
9 years ago
Emmanuel Gil Peyrot
691a42fe98
VideoCore: Run include-what-you-use and fix most includes.
10 years ago
bunnei
507e0b5989
emitter: Add CALL that can be fixed up.
10 years ago
bunnei
e5d417213c
emitter: Support arbitrary FixupBranch targets.
10 years ago
Lioncash
e3f9d09b28
emitter: templatize ImmPtr
10 years ago
Lioncash
1351c0ce9f
emitter: constexpr-ify helper functions
10 years ago
Lioncash
e66a6a2a1b
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
6085b419e5
emitter: constexpr-ify OpArg
10 years ago
Lioncash
77bcdafc94
emitter: friend class OpArg with XEmitter
10 years ago
Lioncash
450c84c990
emitter: Remove unimplemented prototype
10 years ago
MerryMage
f73c39d573
x64 Emitter: Fix L bit in VEX prefix
10 years ago
aroulin
179ad35c2e
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
10 years ago
aroulin
16f39aa452
x64-emitter: add RCPSS SSE instruction
11 years ago
Lioncash
78e7c77ff5
emitter: Remove pointer casts
This should also technically silence quite a few ubsan warnings.
11 years ago
Lioncash
e85c5dbb54
emitter: Remove unnecessary defines
11 years ago
Lioncash
a796149c42
emitter: Remove unnecessary else keywords
11 years ago
Lioncash
e88dc7fc6d
emitter: Remove unused code
11 years ago
Lioncash
8738963bce
emitter: Remove unimplemented JMP prototype
11 years ago
Lioncash
55461125ba
emitter: Pass OpArg by reference where possible
11 years ago
Lioncash
0609b89f74
emitter: Remove unnecessary inline specifiers
Functions implemented in a class definition are already implicitly inline.
11 years ago
bunnei
b39c053785
Rename ARCHITECTURE_X64 definition to ARCHITECTURE_x86_64.
11 years ago
bunnei
0ee00861f6
Common: Cleanup CPU capability detection code.
11 years ago
bunnei
a1942238f5
Common: Move cpu_detect to x64 directory.
11 years ago
bunnei
bd7e691f78
x64: Refactor to remove fake interfaces and general cleanups.
11 years ago