Commit Graph

10 Commits

Author SHA1 Message Date
GitHubProUser67 dfb361d342 [Soft-Float] - Implements fully accurate Div/Sqrt/Ftoi/Itof/U|O|I|D flags + uses built-in clz for Add/Sub.
Fixes a TON of games.

The flags are not yet in use in the Interpreters, this will ideally be commited next (requires VU code changes).

The Div/Sqrt method is unoptimized for now, the team is working on a faster equivalent.
2025-01-04 21:18:56 +01:00
GitHubProUser67 0a8c54514c [Soft-Float] - Implemented stop-gap Div rounding mode + implements softfloat on some extra obscure VU ops and fixes a denormals check on the checkDivideByZero method in the FPU.
Fixes:

- Final Fantasy X (fully playable)
- Klonoa 2

Partially Fixes:

- Mortal combat Shaloin Monks
- Gran Turismo 4 (game patch will be neceassary to skip Licence Test CRC check).
- Tourist Trophy (game patch will be neceassary to skip Licence Test CRC check).

The stop gap div measure is not yet enough to fully fix GT4/TouristTrophy (they will need different rounding modes per licences). Currently this is bridged on the Div Rounding Mode setting.
2024-12-27 19:45:14 +01:00
GitHubProUser67 5b94f53efc [Soft-Float] - Fixes MAC-OS compile error + moves the bitUtils methods to their respectives place.
I don't like the SIMD way of doing it, it can be slower and less practical to use (expensive casting).
2024-12-19 17:33:40 +01:00
GovanifY 132431b7c8 headers: relicense to GPL-3.0+
also update to 2024 while i'm at it
2024-07-30 17:17:13 -04:00
Stenzek 919da4d97a CDVD: Read NVRAM on startup, cache, and save on shutdown 2024-06-10 12:51:18 +10:00
Stenzek 59d29b3648 Common: Rename General to HostSys
Actually fits what it's doing.
2023-12-27 13:55:35 +10:00
Stenzek d9abe10308 Misc: Remove explicit PCH include, switch to SPDX 2023-12-24 14:03:14 +10:00
Stenzek eae29bb1f2 Common: Make __pagesize unsigned 2023-07-23 21:52:36 +10:00
Stenzek 9191e8ce91 Misc: Use std::bit_ceil()/std::has_single_bit() 2023-07-23 21:52:36 +10:00
Stenzek 2b4c7d12b6 Common: Merge MathUtils.h into BitUtils.h 2023-07-23 21:52:36 +10:00