runtime
runtime copied to clipboard
[mono][jit] Transition the x86 backend to use SSE for fp arithmetic.
- Add SSE2 and FCMOV to the cpu requirements for mono on x86.
- Also force the usage of r4fp on x86, the same as on arm.
- Most of the code is copied from amd64-codegen.h and mini-amd64.c.
Fixes https://github.com/dotnet/runtime/issues/65557
Todo:
- Compile the runtime itself with -msse2 -mfpmath=sse on x86
- Remove unused fp stack code
- Remove the old non-r4fp code
/azp run runtime-extra-platforms
Azure Pipelines successfully started running 1 pipeline(s).
Fixes https://github.com/dotnet/runtime/issues/65557
/azp run runtime-extra-platforms
Azure Pipelines successfully started running 1 pipeline(s).
Please also reenable the tests that were disabled with ActiveIssue in src/libraries/System.Runtime.InteropServices/tests/System.Runtime.InteropServices.UnitTests/System/Runtime/InteropServices/NFloatTests.cs
/azp run runtime-extra-platforms
Azure Pipelines successfully started running 1 pipeline(s).
/azp run runtime-extra-platforms
Azure Pipelines successfully started running 1 pipeline(s).
/azp run runtime-extra-platforms
Azure Pipelines successfully started running 1 pipeline(s).
/azp run runtime-extra-platforms
Azure Pipelines successfully started running 1 pipeline(s).
CI failures are unrelated, this PR only affects 32 bit x86.
/azp run runtime-extra-platforms
Azure Pipelines successfully started running 1 pipeline(s).
/azp run runtime-extra-platforms
/azp run runtime
Azure Pipelines successfully started running 1 pipeline(s).
Azure Pipelines successfully started running 1 pipeline(s).
/azp run runtime-extra-platforms
Azure Pipelines successfully started running 1 pipeline(s).
/azp run runtime-extra-platforms
Azure Pipelines successfully started running 1 pipeline(s).
/azp run runtime-extra-platforms
Azure Pipelines successfully started running 1 pipeline(s).
The android-x86 lane failures are relevant.
/azp run runtime-extra-platforms
Azure Pipelines successfully started running 1 pipeline(s).
/azp run runtime-extra-platforms
Azure Pipelines successfully started running 1 pipeline(s).
/azp run runtime-extra-platforms
Azure Pipelines successfully started running 1 pipeline(s).
/azp run runtime-extra-platforms
Azure Pipelines successfully started running 1 pipeline(s).
/azp run runtime-extra-platforms
Azure Pipelines successfully started running 1 pipeline(s).
/azp run runtime-extra-platforms
Azure Pipelines successfully started running 1 pipeline(s).
The failures are fixed now. Should this be in 7.0 ? @lambdageek
The failures are fixed now. Should this be in 7.0 ? @lambdageek
Yea, I think we should take this in 7