Files
ppsspp/Common
fp64 9932ad3f85 Improve accuracy of SSE2 PMA conversion
This makes SSE2 version match the (correctly-rounded)
scalar reference (which the current version doesn't:
see https://godbolt.org/z/hK5938jda).

The new implementation uses the same idea as mentioned in
https://github.com/hrydgard/ppsspp/pull/20870#issuecomment-3413134437

It may be a bit slower than current implementation (which
simply truncates?), but correctness/consistency is
probably worth it.

The difference is slight (by 1 in RGB color channels),
but observable in synthetic examples (in particular the
current implementation darkens completely opaque parts,
including `0xFFFFFFFF` -> `0xFFFEFEFE`, and, more
strikingly,`0xFF010101` -> `0xFF000000`).

This doesn't touch NEON part at all (so "vibe-coded" comment
stays for now), but it shouldn't be too hard to port.
2025-10-21 08:04:37 +03:00
..
2025-02-11 10:43:39 -06:00
2025-09-17 09:49:54 -06:00
2025-09-19 11:36:11 +02:00
2025-08-31 14:45:41 +02:00
2025-08-31 11:37:05 +02:00
…
…
2024-10-10 11:57:10 +02:00
2025-08-31 13:37:43 +02:00
2025-01-08 17:02:39 +01:00
…
2025-01-23 13:28:51 +01:00
2025-09-19 10:31:51 -06:00
2025-01-11 01:25:27 +01:00
2024-11-04 23:14:39 +01:00
2025-04-23 22:08:40 +02:00
2025-08-25 10:45:12 +02:00
2024-07-26 14:22:31 +02:00
2025-09-02 13:26:04 +02:00
2024-09-17 15:22:37 +02:00
2024-09-17 15:22:37 +02:00
2025-08-31 13:37:43 +02:00
…
…
…
2025-05-14 15:14:03 +02:00
2025-08-26 10:50:56 +02:00