Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Enable partially implemented Intel HW intrinsics ISAs - CoreCLR part of changes #17184

Merged
merged 1 commit into from
Mar 27, 2018

Conversation

4creators
Copy link

@4creators 4creators commented Mar 24, 2018

This issue is a first step to implement https://github.com/dotnet/corefx/issues/28363 and it replaces #17134

@4creators
Copy link
Author

@dotnet-bot test OSX10.12 x64 Checked Innerloop Build and Test

@4creators
Copy link
Author

@CarolEidt @eerhardt @fiigii @tannergooding

PTAL - PR is ready for review.

//
bool Compiler::isFullyImplmentedISAClass(InstructionSet isa)
{
switch (isa)
{
case InstructionSet_SSE42:
Copy link
Member

Choose a reason for hiding this comment

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

nit: It might be good to split these into three logical groups:

// These ISAs have no implementation
case InstructionSet_AES:
case InstructionSet_BMI1:
case InstructionSet_BMI2:
case InstructionSet_FMA:
case InstructionSet_PCLMULQDQ:
    return false;

// These ISAs are partially implemented
case InstructionSet_AVX:
case InstructionSet_AVX2:
case InstructionSet_SSE42:
    return true;

// These ISAs are fully implemented
case InstructionSet_SSE:
case InstructionSet_SSE2:
case InstructionSet_SSE3:
case InstructionSet_SSSE3:
case InstructionSet_SSE41:
case InstructionSet_LZCNT:
case InstructionSet_POPCNT:
    return true;

@eerhardt
Copy link
Member

Test Tizen armel Cross Checked Innerloop Build and Test

@4creators
Copy link
Author

@eerhardt @tannergooding @CarolEidt PTAL Addressed code review feedback - test failure is due to known segfault error on Tizen

@fiigii
Copy link

fiigii commented Mar 26, 2018

Can we merge this PR? Some test work needs this change.

@4creators
Copy link
Author

@tannergooding @CarolEidt Ping PTAL

@eerhardt eerhardt merged commit 37bd5d8 into dotnet:master Mar 27, 2018
@4creators 4creators deleted the EnableISAs branch March 27, 2018 11:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants