3952997116
Fix issue introduced yesterday where the final fetch constant would never be marked as written Reorganized SystemPageFlags for sharedmemory, each field now goes into its own array, the three arrays are page aligned in a single virtual allocation Refactored sharedmemory a bit, use tzcnt if available when finding ranges (faster on pre-zen4 amd cpus)
chss95cs@gmail.com
2022-12-15 08:35:36 -08:00
8c6cefcce0
Merge branch 'xenia-canary:canary_experimental' into command_processor_optimizations
chrisps
2022-12-14 11:35:13 -08:00
f931c34ecb
Cleaned up for commit, moved WriteRegistersFromMemCommonSense code into WriteRegistersFromMem optimized copy_and_swap_32_unaligned further
chss95cs@gmail.com
2022-12-14 11:34:33 -08:00
7a0fd0f32a
Remove MaybeYields when vsync is off
chss95cs@gmail.com
2022-12-14 09:56:33 -08:00
080b6f4cbd
Partially vectorized GetScissor (loading and unpacking the bitfields from the registers is still scalar)
chss95cs@gmail.com
2022-12-14 09:33:14 -08:00
ab6d9dade0
add avx2 codepath for copy_and_swap_32_unaligned use the new writerange approach in WriteRegisterRangeFromMem_WithKnownBound
chss95cs@gmail.com
2022-12-14 07:53:21 -08:00
b2dd489151
[APU] Set first frame offset for next buffer + Note about edgecase
Gliniak
2022-12-13 22:57:36 +01:00
e00feb7b0f
[APU] Fixed incorrect frame count + removed hopefully useless check from now
Gliniak
2022-12-13 21:47:35 +01:00
7d49b97e4c
Print any module name+ offset in host exception reports print thread name in host exception reports trying to force win32 error descriptions to english Return if output buffer block count is 0 in XmaContext, this is an attempt to fix a divide by zero crash many users have reported
chss95cs@gmail.com
2022-12-09 12:24:06 -08:00
a63f424c0a
Directly check PEB for IsDebuggerAttached Add constexpr getters to magicdiv class so it can be used from jitted x64/dxbc Track the guest return address as well for guest/host sync, if multiple entries have the same guest stack find the first one with a matching guest retaddr. this fixes epic mickey 2 (which the previous guest-stack change had allowed to go ingame for a bit) and potentially also a crash in fable3. Break if under debugger when stackpoints are overflowed
chss95cs@gmail.com
2022-12-04 12:38:19 -08:00
12005acc98
[APU] Check if splitted frame length is valid
Gliniak
2022-11-27 18:40:27 +01:00
90c771526d
"Fix" debug console, we were checking the cvar before any cvars were loaded, and the condition it checks in AttachConsole is somehow always false
chss95cs@gmail.com
2022-11-27 09:37:06 -08:00
1451ca4266
[APU] Clear host data while reseting context
Gliniak
2022-11-27 17:00:31 +01:00
9fdfd2ada9
[APU] Removed old hack that invalidates input on decoder error
Gliniak
2022-11-26 17:25:39 +01:00
7dd715ea6f
[CI, Drone] Disable HighResolutionTimer test cases
Joel Linn
2022-11-20 22:42:46 +01:00
7a17fad88a
fix crash from precompiling out of range funcs, add xexcache version, increment xexcache version (all priors are version 0 thanks to 0 initialization)
chss95cs@gmail.com
2022-11-07 05:40:18 -08:00
e21fd22d09
add x_kthread priority/fpu_exceptions_on fields, set fpu_exceptions_on in KeEnableFpuExceptions, set priority in SetPriority add msr field on context write to msr for mtmsr/mfmsr, do not have correct default value for msr yet, nor has mtmsrd been reimplemented do not evaluate assert expressions in release at all, while still avoiding unused variable warnings
chss95cs@gmail.com
2022-11-06 11:03:10 -08:00
c70ae76a69
hopefully switched cxxopts to the main master branch now that the selectany changes are accepted
chss95cs@gmail.com
2022-11-05 11:08:04 -07:00
c1d922eebf
Minor decoder optimizations, kernel fixes, cpu backend fixes
chss95cs@gmail.com
2022-11-05 10:50:33 -07:00
ba66373d8c
[APU][Janky] Fixed issues with incorrect frames on streamed data
Gliniak
2022-11-03 20:56:36 +01:00
dae508500a
[APU] Clear remaining packets skip when we're done with current stream
Gliniak
2022-11-03 12:59:34 +01:00