Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ppu] Fix arm64 trampoline #12242

Merged
merged 3 commits into from
Jun 20, 2022
Merged

[ppu] Fix arm64 trampoline #12242

merged 3 commits into from
Jun 20, 2022

Conversation

sguo35
Copy link
Contributor

@sguo35 sguo35 commented Jun 17, 2022

Always override the LLVM triple on macOS arm64 to prevent linking errors. This line was removed in #12228

Fixes the function manager trampoline with a proper arm64 implementation, and clean up the code a bit.

Disables warnings on soundtouch dependency to allow Clang debug builds to work.

This gets LLVM PPU w/SPU interpreter on arm64 Mac to start a game with no segfaults, but it fails with id 101 is not supported in the current check mode: content_permission::check_mode::disc_game. Currently working on figuring out if this is caused by arm64 or if it's macOS because it works just fine in Rosetta.

Build instructions same as #12115

sguo35 added 2 commits June 17, 2022 12:25
Always override the LLVM triple to prevent linking errors.
Disabling warnings for soundtouch allows Clang to compile in debug mode.
@sguo35 sguo35 changed the title [ppu] fix a macOS arm64 regression [ppu] Fix arm64 trampoline Jun 18, 2022
@sguo35 sguo35 force-pushed the arm64 branch 2 times, most recently from f2800ea to 47a972a Compare June 19, 2022 20:44
- Refactor function manager trampoline to be cleaner
- Add trampoline impl for arm64
- Force all JIT entrypoints on Apple to toggle W^X
@sguo35 sguo35 requested a review from Nekotekina June 19, 2022 21:40
@Nekotekina Nekotekina merged commit 775caab into RPCS3:master Jun 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants