Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Mono] Enable intrinsics support for multiplication and division for Vector2/4 by scalar + refactor #93061

Merged
merged 1 commit into from
Oct 9, 2023

Conversation

matouskozak
Copy link
Member

Enabled scenarios:

  • Vector2 / float
  • Vector4 / float
  • Vector2 * float
  • Vector4 * float
  • float * Vector2
  • float * Vector4

Refactored type_is_simd_vector function to only check simd_type flag and not if type is MONO_TYPE_GENERICINST. Consequently, we can use this method for System.Numercics vectors that are not MONO_TYPE_GENERICINST but are SIMD types.


Contributes to #73462

@matouskozak
Copy link
Member Author

/azp run runtime-extra-platforms

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@matouskozak
Copy link
Member Author

The failures are unrelated and can be found on main as well.

@matouskozak matouskozak merged commit d3a782e into dotnet:main Oct 9, 2023
146 of 160 checks passed
@ghost ghost locked as resolved and limited conversation to collaborators Nov 8, 2023
@matouskozak matouskozak deleted the vector4-mul-div-scalar branch October 3, 2024 13:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants