Skip to content

Conversation

@tannergooding
Copy link
Member

No description provided.

@Dotnet-GitSync-Bot Dotnet-GitSync-Bot added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Jun 4, 2020
@tannergooding
Copy link
Member Author

CC. @CarolEidt, @echesakovMSFT

There appears to be an unrelated JIT\Methodical\xxobj\sizeof\_il_dbgsizeof64\_il_dbgsizeof64 failure that cropped up between the last fix and this one. Similar failures are showing in the runtime-coreclr jitstress job: https://dev.azure.com/dnceng/public/_build?definitionId=658

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A potentially better fix than this is to also have IsHardwareAccelerated return false and for the remaining GT_SIMD nodes that haven't been ported to also return nullptr if SSE2 or AdvSimd aren't supported.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that would indeed be a better fix. Is there any reason that would be problematic?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't think of any off the top of my head. It would also make the two paths more cohesive as things transition over.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've updated to check the "baseline" ISA (SSE2 for x86/x64 and AdvSimd for ARM64) and to return nullptr if it was disabled.
The one exception is for SIMDIntrinsicHWAccel which will return a false node in that scenario to help with dead code elimination.

Copy link
Contributor

@CarolEidt CarolEidt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - thanks!

@tannergooding tannergooding merged commit f833ffd into dotnet:master Jun 9, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Dec 8, 2020
@tannergooding tannergooding deleted the fix-37260 branch November 11, 2022 15:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants