Files
shadPS4/src
Stephen Miller 35d3d4f763 Core: Fix MXCSR and FPUCW registers on created threads (#3568)
* Use _mm_setcsr over assembly

Exists on all platforms, so might as well use it.

* Clang

* Missing include

* Unconditionally set FPUCW

As per review suggestions.

* Fix FPUCW and MXCSR registers on Windows

For some reason only Microsoft knows, settings these values in the context doesn't work.
Also their controlfp functions don't seem to work either, so I used assembly instead.

* Set MXCSR on all platforms

All three platforms use the same default MXCSR register value. Use an assembly instruction to set this for all platforms.
2025-09-10 14:32:05 -07:00
..
2025-09-04 20:47:06 +03:00
2025-09-04 20:47:06 +03:00
2025-09-10 12:19:22 +03:00
2025-09-04 20:47:06 +03:00
2025-09-04 20:47:06 +03:00