8000 arm64 EE FPU: RSQRT.S takes the square root in single precision by inada-s-ai[bot] · Pull Request #680 · inada-s/pcsx2 · GitHub
[go: up one dir, main page]

Skip to content

arm64 EE FPU: RSQRT.S takes the square root in single precision - #680

Merged
inada-s merged 1 commit into
zdxsv-masterfrom
ai/fpu-div-tiny
Nov 19, 2026
Merged

inada-s merged 1 commit into
zdxsv-masterfrom
ai/fpu-div-tiny

Conversation

@inada-s-ai
@inada-s-ai inada-s-ai Bot commented Nov 18, 2026 •
Copy link
Copy Markdown

Description of Changes

arm64 EE FPU, x86-compatible mode: RSQRT.S calls std::sqrt/std::fabs instead of unqualified sqrt/fabs.

Rationale behind Changes

The arm64 path computes RSQRT.S in single precision, as the x86 recompiler does.

Suggested Testing Steps

  • Verified on windows-mini (x86-64, mingw g++): compared against SSE SQRTSS+DIVSS with DAZ/FTZ on 2M random inputs per rounding mode, 0 mismatches (private check). pcsx2/FPU.cpp compiles for arm64 (clang TU check).
  • Not run: an arm64 build or rig run.

Did you use AI to help find, test, or implement this issue or feature?

Yes: found, implemented and tested by Claude Code.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@inada-s
inada-s merged commit e0d2adc into zdxsv-master Nov 19, 2026
3 of 4 checks passed
@inada-s
inada-s deleted the ai/fpu-div-tiny branch November 19, 2026 02:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

0