Skip to content

[RV64_DYNAREC] Fix HADDPS NaN issue - #4149

Merged
ptitSeb merged 1 commit into
ptitSeb:mainfrom
zengdage:haddps-nan
Aug 3, 2026
Merged

[RV64_DYNAREC] Fix HADDPS NaN issue#4149
ptitSeb merged 1 commit into
ptitSeb:mainfrom
zengdage:haddps-nan

Conversation

@zengdage

Copy link
Copy Markdown
Contributor

RISC‑V floating‑point operations produce a default quiet‑NaN of 0x7fc00000, while x86‑64 defaults to 0xffc00000. So need NaN handleing.

RISC‑V floating‑point operations produce a default quiet‑NaN of 0x7fc00000,
while x86‑64 defaults to 0xffc00000.
Comment thread src/dynarec/rv64/dynarec_rv64_f20f.c
Comment thread src/dynarec/rv64/dynarec_rv64_f20f.c
Comment thread src/dynarec/rv64/dynarec_rv64_f20f.c
Comment thread src/dynarec/rv64/dynarec_rv64_f20f.c
@ptitSeb
ptitSeb requested a review from ksco July 29, 2026 08:14
@zengdage

zengdage commented Jul 29, 2026

Copy link
Copy Markdown
Contributor Author

@ptitSeb BTW, I noticed that some compilation warnings are generated when building Box64. Would you accept a PR that addresses these warnings?

@ptitSeb

ptitSeb commented Jul 29, 2026

Copy link
Copy Markdown
Owner

@ptitSeb BTW, I noticed that some compilation warnings are generated when building Box64. Would you accept a PR that addresses these warnings?

Sure, but I'll merge this kind of PR after the release of 0.4.4 (also, those kind of PR can be more tricky than expected... and break things in the process)

@ptitSeb
ptitSeb merged commit c569c55 into ptitSeb:main Aug 3, 2026
28 checks passed
@zengdage
zengdage deleted the haddps-nan branch August 24, 2026 10:20
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.

2 participants