Replaced 1to8 avx instruction for non-MIC builds #229
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There is a compilation error when building datadriven with ARCH=avx512 on a skylake CPU (tested with Xeon(R) Gold 6140 CPU).
Fixing the compilation is simple enough: Switch from this instruction
_mm512_set_1to8_pdto_mm512_set1_pd.Unlike
1to8this instruction actually also shows up in the Intel Intrinsics Guide.I assume the 1to8 instruction is left over from the original KNC MIC implementation. This would also coincide with the git history of that file (and with the fact that is hard to come by any information about this instruction). For legacy/reproducibility purposes I have left it in there for builds with MICs and use set1 for all other builds!