summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2026-10-24Merge pull request #14946 from OatmealDome/revert-win-std-chronoiwubcode
Revert "msvc: use std::chrono for GetLocalTimeSinceJan1970"
2026-10-24VertexLoaderARM64: Optimize RGBA6666Sintendo
This commit replaces the old instruction sequence with one that is considerably shorter. Main ideas are as follows: - Use AND with constant mask to isolate the needed bits. - Use ORR + LSL/LSR to shirt the bits into position and combine in one instruction where possible. - Red and alpha are already sequential, so don't need to wait for the byteswap. - Do the expansion from 6 to 8 bits at the end for all 4 components in one step. Before: ldur w14, [x0] rev w14, w14 ubfx w15, w14, #0, #6 orr w15, wzr, w15, lsl #2 orr w15, w15, w15, lsr #6 orr w16, wzr, w15, lsl #24 ubfx w15, w14, #6, #6 orr w15, wzr, w15, lsl #2 orr w15, w15, w15, lsr #6 orr w16, w16, w15, lsl #16 ubfx w15, w14, #12, #6 orr w15, wzr, w15, lsl #2 orr w15, w15, w15, lsr #6 orr w16, w16, w15, lsl #8 ubfx w15, w14, #18, #6 orr w16, w16, w15, lsl #2 orr w16, w16, w15, lsr #4 str w16, [x1, #0xc] After: ldur w14, [x0] rev w15, w14 and w16, w14, #0xfc00 and w14, w14, #0x3f000000 lsr w16, w16, #8 orr w16, w16, w14, lsl #2 and w14, w15, #0xfc0 and w15, w15, #0x3f000 orr w15, w15, w14, lsl #14 orr w16, w16, w15, lsr #2 and w15, w16, #0xc0c0c0c0 orr w16, w16, w15, lsr #6 str w16, [x1, #0xc]
2026-10-24VertexLoaderARM64: Optimize RGB565Sintendo
This replaces the old instruction sequence with one that is considerably shorter. Main ideas are as follows: - Use AND with constant mask to isolate the needed bits. - Use ORR + LSL/LSR to shift the bits into position and combine in one instruction where possible. - Red and blue are already sequential, so don't need to wait for the byteswap. This is especially handy for red, where the bits are already where they need to be. - Red and blue can be expanded from 5 to 8 bits together. Before: ldurh w14, [x0, #0x1] rev16 w14, w14 and w15, w14, #0x1f orr w15, wzr, w15, lsl #3 orr w15, w15, w15, lsr #5 orr w16, wzr, w15, lsl #16 ubfx w15, w14, #5, #6 orr w15, wzr, w15, lsl #2 orr w15, w15, w15, lsr #6 orr w16, w16, w15, lsl #8 ubfx w15, w14, #11, #5 orr w16, w16, w15, lsl #3 orr w16, w16, w15, lsr #2 orr w16, w16, #0xff000000 str w16, [x1, #0xc] After: ldurh w14, [x0, #0x1] rev16 w15, w14 bfi w14, w14, #11, #13 and w16, w14, #0xf800f8 and w14, w14, #0xe000e0 orr w16, w16, #0xff000000 orr w16, w16, w14, lsr #5 and w14, w15, #0x7e0 and w15, w15, #0x600 orr w14, w14, w15, lsr #6 orr w16, w16, w14, lsl #5 str w16, [x1, #0xc]
2026-10-24Merge pull request #14917 from jordan-woyak/skylanders-common-aesJosJuice
Skylanders: Replace mbedtls_aes usage with Common::AES.
2026-10-23PowerPC/MMU: Use effective address for special-case unaligned storesscatterflower
2026-10-23Revert "msvc: use std::chrono for GetLocalTimeSinceJan1970"OatmealDome
This reverts commit 86da6c98fbd229d87de7cf8b9c7eb94c16923829.
2026-10-22Skylanders: Replace mbedtls_aes usage with Common::AES and minor warning ↵Jordan Woyak
cleanups.
2026-10-22Merge pull request #14913 from jordan-woyak/md5Jordan Woyak
Common: Introduce MD5Context class and ComputeMD5 function to minimize mbedtls dependence.
2026-10-22JitArm64_SystemRegister: mfspr - Sign extension nitSintendo
This instruction effectively performs the following computation: ``` Xresult = SXTW(slice_length) - Xresult + global_timer; ``` ARM64 has a dedicated sign extension instruction, but also allows this sign extension to happen as part of many arithmetic operations. By reordering the computation, we can take advantage of this: ``` Xresult = global_timer + SXTW(slice_length) - Xresult; ``` Before: ``` ldr w24, [x29, #0x2f0] scvtf s8, w24 ldr s9, [x27, #0x20] fmul s8, s8, s9 fcvtzs x25, s8 ldp x24, x23, [x27] sxtw x23, w23 sub x25, x23, x25 add x25, x25, x24 ldp x24, x23, [x27, #0x10] sub x25, x25, x23 mov x23, #-0x5555555555555556 ; =-6148914691236517206 add x23, x23, #0x1 umulh x25, x25, x23 add x25, x24, x25, lsr #3 str x25, [x29, #0x770] ``` After: ``` ldr w24, [x29, #0x2f0] scvtf s8, w24 ldr s9, [x27, #0x20] fmul s8, s8, s9 fcvtzs x25, s8 ldp x24, x23, [x27] add x24, x24, w23, sxtw sub x25, x24, x25 ldp x24, x23, [x27, #0x10] sub x25, x25, x23 mov x23, #-0x5555555555555556 ; =-6148914691236517206 add x23, x23, #0x1 umulh x25, x25, x23 add x25, x24, x25, lsr #3 str x25, [x29, #0x770] ```
2026-10-22Merge pull request #14942 from ↵Jordan Woyak
Dentomologist/cmake_add_explicit_check_for_minimum_qt_version CMake: Enforce minimum Qt version 6.2
2026-10-22Merge pull request #14734 from tom-pratt/trigger-game-digest-checkJMC47
Android: Trigger netplay game digest check
2026-10-21DiscIO/VolumeVerifier: Use Common::MD5Context instead of mbedtls.Jordan Woyak
2026-10-21SkylanderFigure: Use Common::ComputeMD5 instead of mbedtls.Jordan Woyak
2026-10-21WiiSave: Use Common::ComputeMD5 instead of mbedtls.Jordan Woyak
2026-10-21Common: Create MD5Context class and ComputeMD5 function to minimize exposure ↵Jordan Woyak
to mbedtls throughout the project.
2026-10-21CMake: Enforce minimum Qt version 6.2Dentomologist
Qt 6.2 has been de facto required since afa6e26e5de58e942c8e7ef3a02632ccfb851d3d added a call to QPixmap::deviceIndependentSize which was introduced in that Qt version. Qt 6.2 was released 5 years ago and we've required 6.2+ for over 2 years, so let's make that requirement explicit in CMakeLists.txt instead of having an apparently random compile error if anyone happens to try building with an older Qt version.
2026-10-20DolphinQt: Fix crash from stale timer event in ToolTipWidgetdebug687
LLM generated explaination for the LLM generated commit: A queued QTimerEvent can be dispatched after the timer was already killed (Qt recycles timer ids), e.g. when a slider is dragged and enter/leave events fire in rapid succession. In that case m_timer_id is empty and dereferencing it in timerEvent() asserts on 'this->_M_is_engaged()' in debug builds, while in release builds it passes a garbage timer id to killTimer(). Only process the event if it matches the timer we are tracking, which also prevents showing a balloon for a stale event.
2026-10-19UnitTests: Fix CoreTiming.SharedSlot test so it can run independently.Jordan Woyak
2026-10-19Merge pull request #14388 from SuperSamus/jit-branch-follow-explicitJMC47
Jit: Followed unconditional branches are a property added by the Analyzer, not something to assume
2026-10-19State: Move logic of selected state to Core/Statevisarhoxha
2026-10-19Android: Avoid constant hotkey polling to save batteryvisarhoxha
Only poll for hotkeys while EmulationActivity is resumed and at least one supported hotkey is mapped. Otherwise the scheduler thread waits on an event instead of polling.
2026-10-19Jit: Followed unconditional branches are a property added by the Analyzer, ↵Martino Fontana
not something to assume If an unconditional branch is not the last instruction of the block, assuming that this means that the branch must have been followed is an unsafe assumption on how the analyzer works that may not hold true in the future. As a bonus: JitArm64, unlike x86, didn't skip followed `bcx`s. Now it does.
2026-10-18Merge pull request #14934 from iwubcode/efb_interface_remove_globalJordan Woyak
VideoCommon: remove global framebuffer manager from EFBInterface
2026-10-18Merge pull request #14796 from acts-1631/security/traversal-pending-timeoutJosJuice
Traversal: update pending-packet time on socket timeout
2026-10-18Merge pull request #14621 from jordan-woyak/cached-blob-jthreadJosJuice
DiscIO/CachedBlob: Minor cleanup by replacing std::thread with std::jthread.
2026-10-18Merge pull request #14793 from JoshuaVandaele/auto-off-warnsJosJuice
CMake: Automatically disable warnings for Externals
2026-10-17Merge pull request #14804 from JosJuice/jit-set-lazy-memory-regionJosJuice
Jit: Use LazyMemoryRegion-backed bit sets
2026-10-17Merge pull request #14397 from sepalani/tri-acceptJosJuice
AMMediaboard: Change accept non-blocking logic
2026-10-17Merge pull request #14936 from VampireFlower/breakpoint-gap-centerAdmiral H. Curtiss
Debugger: Fix centering of disabled breakpoints
2026-10-16Merge pull request #14017 from jordan-woyak/fmt-locale-date-fixDentomologist
Core: Movie and State: Add 'L' option to fmt format string to actually use the current locale.
2026-10-16Debugger: Fix centering of disabled breakpointsVampireFlower
2026-10-16VideoCommon: remove global framebuffer manager from EFBInterface and instead ↵iwubcode
pass it in
2026-10-11Merge pull request #14931 from waltercool/feature/fix_libcpp_23Jordan Woyak
Fix build failure on libc++/clang 23
2026-10-12Fix build failure on libc++/clang 23WalterCool
libc++ 23 enforces the dependency from certain stdlib. In this case, we need <vector> here or build will fail. Signed-off-by: WalterCool <waltercool@slash.cl>
2026-10-11VideoCommon: Use GPR units more in TexDecoder_DecodeImpl_CMPRJosJuice
This improves the time reported by the CMPR unit test. The lowest value is about 14% lower, but there's more variance, with the highest value being similar to before. The instruction count has increased. I'm putting this in a separate commit so the older implementation is available in the commit history for anyone wanting to look at it.
2026-10-11VideoCommon: Add TextureDecoder_ARM64.cppJosJuice
We already have x64 SIMD implementations for decoding most texture formats. This commit adds AArch64 SIMD implementations for all texture formats except the XFB format. (AArch64 was previously using the non-SIMD implementations from TextureDecoder_Generic.cpp.) I left a few TODO comments about things that could be improved using optional ISA extensions. I don't have any immediate plans to work on these. Performance numbers from the unit test are available below. Note that the unit test fits relatively well in cache, so real workloads might spend more time waiting on memory, which could lead to smaller differences between the old and new implementation. Before: I4 took 2676 ns on average (36 iterations) I8 took 3961 ns on average (36 iterations) IA4 took 7304 ns on average (36 iterations) IA8 took 4555 ns on average (36 iterations) RGB565 took 12146 ns on average (36 iterations) RGB5A3 took 33155 ns on average (36 iterations) RGBA8 took 3702 ns on average (36 iterations) C4 (IA8) took 9149 ns on average (36 iterations) C4 (RGB565) took 19398 ns on average (36 iterations) C4 (RGB5A3) took 28533 ns on average (36 iterations) C8 (IA8) took 6766 ns on average (36 iterations) C8 (RGB565) took 15577 ns on average (36 iterations) C8 (RGB5A3) took 18906 ns on average (36 iterations) C14X2 (IA8) took 10603 ns on average (36 iterations) C14X2 (RGB565) took 20700 ns on average (36 iterations) C14X2 (RGB5A3) took 38878 ns on average (36 iterations) CMPR took 6205 ns on average (36 iterations) After: I4 took 2086 ns on average (36 iterations) I8 took 1699 ns on average (36 iterations) IA4 took 1522 ns on average (36 iterations) IA8 took 1673 ns on average (36 iterations) RGB565 took 2443 ns on average (36 iterations) RGB5A3 took 3922 ns on average (36 iterations) RGBA8 took 1983 ns on average (36 iterations) C4 (IA8) took 1646 ns on average (36 iterations) C4 (RGB565) took 2057 ns on average (36 iterations) C4 (RGB5A3) took 1670 ns on average (36 iterations) C8 (IA8) took 3765 ns on average (36 iterations) C8 (RGB565) took 4275 ns on average (36 iterations) C8 (RGB5A3) took 5146 ns on average (36 iterations) C14X2 (IA8) took 5121 ns on average (36 iterations) C14X2 (RGB565) took 5572 ns on average (36 iterations) C14X2 (RGB5A3) took 7142 ns on average (36 iterations) CMPR took 3250 ns on average (36 iterations)
2026-10-10UnitTests: Add test for TextureDecoderJosJuice
This compares TexDecoder_Decode, which has different implementations depending on the CPU ISA, against TexDecoder_DecodeTexel.
2026-10-10Merge pull request #14656 from SuperSamus/mario-party-gameiniJosJuice
GameSettings: Update Mario Party games
2026-10-10VideoCommon: Rename TexDecoder_DecodeTexel width parameterJosJuice
All existing callers pass the width minus one, and passing the width without subtracting one gives incorrect results. Let's call the parameter image_width_minus_1, like TextureSampler.cpp already calls it.
2026-10-09DiscIO/CachedBlob: Minor cleanup by replacing std::thread with std::jthread.Jordan Woyak
2026-10-09CMakeLists: Add -fexperimental-library to allow use of std::jthread with ↵Jordan Woyak
libc++ 18.
2026-10-09CMakeLists: Bump version requirements to allow use of std::jthread.Jordan Woyak
2026-10-09Core: Movie and State: Add 'L' option to fmt format string to actually use ↵Jordan Woyak
the current locale.
2026-10-08HW/Wiimote: Speaker logic accuracy fixes, comments, and code cleanups.Jordan Woyak
2026-10-07Merge pull request #14925 from TellowKrinkle/FixEventUBJordan Woyak
Qt: Avoid using casting to wrong type of event
2026-10-07Qt: Avoid using casting to wrong type of eventTellowKrinkle
2026-10-07Android: Trigger netplay game digest checkTom Pratt
Also trigger abort / dismiss from the host when closing the dialog. Add explicit "finished" property to GameDigestProgress since the UI is different depending on this state.
2026-10-07Merge pull request #14896 from jordan-woyak/netplay-gcadapter-fixJosJuice
NetPlayConfigLoader: Fix GCAdapter handling.
2026-10-07Merge pull request #14911 from acts-1631/netplay-save-banner-validationJosJuice
NetPlay: reject oversized Wii save banners
2026-10-07Merge pull request #14912 from acts-1631/savestate-fifo-pointer-validationJosJuice
VideoCommon: validate restored FIFO pointers