[PR #2743] [MERGED] cpu_patches: Remove CPU patches for macOS and bump minimum OS version to 15.4 #2948

Closed
opened 2026-02-27 22:01:52 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/2743
Author: @squidbus
Created: 4/3/2025
Status: Merged
Merged: 4/3/2025
Merged by: @georgemoralis

Base: mainHead: cpu-patch


📝 Commits (2)

  • 6eeced5 cpu_patches: Remove CPU patches for macOS and bump minimum OS version to 15.4
  • fd26ad6 cpu_patches: Remove BMI1 patches

📊 Changes

4 files changed (+8 additions, -587 deletions)

View changed files

📝 CMakeLists.txt (+2 -1)
📝 src/core/cpu_patches.cpp (+5 -573)
📝 src/core/cpu_patches.h (+0 -6)
📝 src/core/tls.cpp (+1 -7)

📄 Description

As of macOS 15.4 it seems Rosetta 2 has implemented support for the remaining instruction sets we need. Therefore this PR:

  • Removes any macOS-specific CPU patching code in favor of using the native Rosetta 2 instruction support.
  • Removes the BMI1 patches as those are now only useful for old Intel CPUs beyond our minimum, which are still not working anyway due to other issues and probably not going to perform very well with the emulator anyway.
  • Cleans up any now-unused CPU patch support code.
  • Bumps the minimum macOS version from 14.0 to 15.4 going forward.
    • Minimum for Apple Silicon was already 15.0 and Intel Macs are currently not functioning due to GPU issues.

This leaves the following remaining CPU patches:

  • TLS patches for Windows and Linux
  • SSE4a patches for non-AMD CPUs

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/shadps4-emu/shadPS4/pull/2743 **Author:** [@squidbus](https://github.com/squidbus) **Created:** 4/3/2025 **Status:** ✅ Merged **Merged:** 4/3/2025 **Merged by:** [@georgemoralis](https://github.com/georgemoralis) **Base:** `main` ← **Head:** `cpu-patch` --- ### 📝 Commits (2) - [`6eeced5`](https://github.com/shadps4-emu/shadPS4/commit/6eeced5b93c9dd3131cc55e3e31a32784ee73f98) cpu_patches: Remove CPU patches for macOS and bump minimum OS version to 15.4 - [`fd26ad6`](https://github.com/shadps4-emu/shadPS4/commit/fd26ad65774afa8b510574422a3d186b99c53335) cpu_patches: Remove BMI1 patches ### 📊 Changes **4 files changed** (+8 additions, -587 deletions) <details> <summary>View changed files</summary> 📝 `CMakeLists.txt` (+2 -1) 📝 `src/core/cpu_patches.cpp` (+5 -573) 📝 `src/core/cpu_patches.h` (+0 -6) 📝 `src/core/tls.cpp` (+1 -7) </details> ### 📄 Description As of macOS 15.4 it seems Rosetta 2 has implemented support for the remaining instruction sets we need. Therefore this PR: * Removes any macOS-specific CPU patching code in favor of using the native Rosetta 2 instruction support. * Removes the BMI1 patches as those are now only useful for old Intel CPUs beyond our minimum, which are still not working anyway due to other issues and probably not going to perform very well with the emulator anyway. * Cleans up any now-unused CPU patch support code. * Bumps the minimum macOS version from 14.0 to 15.4 going forward. * Minimum for Apple Silicon was already 15.0 and Intel Macs are currently not functioning due to GPU issues. This leaves the following remaining CPU patches: * TLS patches for Windows and Linux * SSE4a patches for non-AMD CPUs --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 22:01:52 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shadPS4#2948
No description provided.