gibbed
a48bb71c2f
Overhaul logging.
2020-04-07 16:09:41 -05:00
gibbed
5bf0b34445
C++17ification.
...
C++17ification!
- Filesystem interaction now uses std::filesystem::path.
- Usage of const char*, std::string have been changed to
std::string_view where appropriate.
- Usage of printf-style functions changed to use fmt.
2020-04-07 16:09:41 -05:00
Margen67
b3d1c5982a
[CPU] Typo fix
2020-03-07 19:39:56 -06:00
gibbed
aa28430786
[x64] NAN up vmsum3fp128/vmsum4fp128.
...
It seems vmsum3fp128/vmsum4fp128 need to output a NAN on overflow.
Do so. Probably inefficiently.
2020-02-24 18:13:07 -06:00
gibbed
a6e6f0f7bf
Lint cleanup.
2020-02-22 13:29:07 -06:00
Gliniak
0d866aa173
[CPU] Increased maximum function count
2020-02-09 15:47:29 -06:00
Prism Tutaj
1cce25d5e7
[CPU] Change thunk layout and fix Linux thunk misalignment
2020-02-05 09:49:29 -06:00
Joel Linn
922f1f220a
[CPU] Implement mftb instruction natively.
...
When the cvars clock_no_scaling and clock_source_raw are set, tick counts will be directly calculated in the emitted code.
2019-12-01 17:11:58 -06:00
gibbed
ae15c27a24
[x64] Take advantage of StashConstantXmm.
2019-11-30 20:08:10 -06:00
gibbed
04a54cc58f
[x64] Fix constant src2 in VECTOR_ROTATE_LEFT_V128.
2019-11-30 20:08:10 -06:00
gibbed
f7a8c5ce7a
[x64] Fix corruption of src1 in calls to EmulateVectorRotateLeft.
...
To mitigate this mistake in the future, implemented new
StashConstantXmm functions.
2019-11-30 20:08:10 -06:00
gibbed
e9802a9f3b
[x64] Further simplification / fix buffer overrun in code cache.
...
- [x64] Further simplify padding of code / unwind reservation in code cache.
- [x64] Fix accidental buffer overrun caused by previous simplification.
2019-08-26 13:42:44 -05:00
gibbed
c4ff8d7c58
[x64] Fix prolog/epilog sizes for emitted functions.
2019-08-25 17:02:42 -05:00
gibbed
c808b59834
[x64] Simplify growable function pointer definitions.
2019-08-25 17:02:42 -05:00
gibbed
015e91140a
[x64] Don't have a zeroed unwind info as the first slot.
2019-08-25 17:02:42 -05:00
gibbed
920b5c5839
[x64] Simplify padding of code / unwind reservation in code cache.
2019-08-25 17:02:42 -05:00
gibbed
24321dbcd9
[x64] Fix up offset of stack alloc in prolog for unwind info.
...
- [x64] Track offset of stack alloc in prolog within emitted functions.
- [x64] Don't use hardcoded offset of stack alloc in prolog in generated
unwind info.
2019-08-23 06:12:22 -05:00
gibbed
0dc4a13db3
[x64] Fix up unwind info for emitted functions.
...
- [x64] Track size of code within emitted functions (prolog, body, epilog).
- [x64] Don't use hardcoded prolog size in generated unwind info.
- [x64] Update URLs to MSDN documentation on UNWIND_INFO/UNWIND_CODE.
2019-08-23 06:12:22 -05:00
gibbed
918a7d4365
[x64] Reuse module handle when pulling in growable function table imports.
2019-08-23 06:12:22 -05:00
gibbed
92a85d6692
[x64] Remove outdated comment.
2019-08-23 06:12:22 -05:00
Triang3l
bc4b68db45
[CPU] Data cache control instructions
2019-08-18 16:22:32 +03:00
Triang3l
003c02c640
[CPU, Memory] 0xE0000000 adjustment by @elad335 and mapping
2019-08-14 21:37:52 +03:00
gibbed
b2f62b1982
Clean up cvars (rename, recategorize).
2019-08-03 23:46:03 -05:00
Jonathan Goyvaerts
81fe22f1c8
Get rid of gflags alltogether
2019-08-03 02:34:19 +02:00
Jonathan Goyvaerts
c1af632562
Replace all gflag implementations with cvar implementations
2019-08-03 02:34:07 +02:00
Rick Gibbed
372928cd57
Merge pull request #1387 from Margen67/update_capstone
...
Update Capstone to latest stable (4.0.1).
2019-08-02 11:09:02 -05:00
Triang3l
8c00aea5ff
[CPU] vpkd3d VPACK_NORMPACKED64
2019-07-20 22:04:37 +03:00
Margen67
aea0d8d6b3
[third_party] Update capstone to latest stable
2019-06-24 23:15:28 -07:00
gibbed
bc0ebcb26e
- Clean up log level names, no need for LOG_LEVEL_ prefix when it is an
...
enum class.
- Clarify usage of log level in comment.
2019-04-30 17:41:27 -05:00
gibbed
593a871c84
[x64] Use vmovaps instead of movaps in emitted function prolog/epilog.
2019-04-18 09:36:06 -05:00
Triang3l
4ae9266f13
[CPU] Fix vpkd3d half4 component order
2019-01-24 17:45:41 +03:00
Triang3l
949b05f517
[CPU] Fix saturation in D3DCOLOR vpkd3d
2019-01-13 17:29:06 +03:00
gibbed
e7d77f4780
Clarify AVX requirement error message.
2018-11-26 10:33:22 -06:00
Dr. Chat
b3d509eb01
[x64] Swap to using anchor variables instead of dummy function calls
2018-11-23 18:02:04 -06:00
Dr. Chat
df964015a4
[x64] Fix improper use of compare_exchange_strong when adjusting code commit mark
2018-11-23 18:02:04 -06:00
Dr. Chat
384ec98a42
[x64] Allow the JIT to use volatile registers
2018-11-23 18:02:04 -06:00
Dr. Chat
b57bb74965
[x64] Change the parameters to host_to_guest_thunk
...
Shuffle some code around in x64_backend.cc
Add GetNativeParam to avoid hardcoding parameters
2018-11-23 18:02:04 -06:00
Dr. Chat
c451fda819
[x64] Template-ize a few vector emulation functions
2018-11-23 18:02:03 -06:00
Dr. Chat
4571e8207a
[x64] Minor cleanups in emitter
2018-11-23 18:02:03 -06:00
Dr. Chat
b2f9d54e7e
[x64] Factor out memory handling code
2018-11-23 18:02:03 -06:00
Dr. Chat
bb74114cab
[x64] Factor out control code
2018-11-23 18:02:03 -06:00
Dr. Chat
c318009733
[x64] Factor out vector handling code
2018-11-23 18:02:03 -06:00
Dr. Chat
6861cce492
[x64] Factor out a lot of the opcode handling code
2018-11-23 18:02:02 -06:00
Dr. Chat
696c3cd439
[x64] Remove most of RegisterSequences
2018-11-23 18:02:02 -06:00
gibbed
4c53bc5c9a
[x64] Fix Travis whining.
2018-11-23 12:03:09 -06:00
gibbed
996093e499
[x64] Support constant src1 for Int32 VECTOR_SHL_V128/VECTOR_SHR_V128.
2018-11-23 09:33:30 -06:00
Margen67
896ac4a682
Update documentation.
...
- Convert http to https, provide archive link when possible.
- Made CPU-JIT.png more readable on dark themes;
Added a white background so there isn't black text on a black
background.
2018-11-22 09:20:09 -06:00
Dr. Chat
95701f188d
[x64] Dynamically link to growable function tables
2018-11-18 21:21:36 -06:00
gibbed
4436616e6d
[x64] Use constant a bit earlier in VECTOR_SHL_V128.
2018-11-18 08:17:04 -06:00
gibbed
44f194be35
[x64] Fix constant access in VECTOR_SHL_V128.
2018-11-18 08:13:37 -06:00