Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
EgorBo committed Oct 13, 2024
1 parent 048f678 commit 51a3337
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/coreclr/jit/compiler.h
Original file line number Diff line number Diff line change
Expand Up @@ -9489,6 +9489,8 @@ class Compiler
}
}

// Same as roundDownMaxType, but with an additional parameter to be more conservative
// around available ISAs, e.g. if AVX2 is not supported while AVX is -> downgrade to SIMD16.
var_types roundDownMaxType(unsigned size, bool conservative)
{
var_types result = roundDownMaxType(size);
Expand Down
3 changes: 1 addition & 2 deletions src/coreclr/jit/importervectorization.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,7 @@ GenTree* Compiler::impExpandHalfConstEquals(
else
{
// TODO-CQ: We should probably do the same for SIMD, e.g. 34 bytes -> SIMD32 and SIMD16
// while currently we do SIMD32 and SIMD32 (likely, hitting a terrible penalty
// due to the unaligned access). This involves a bit more complex upcasting logic.
// while currently we do SIMD32 and SIMD32. This involves a bit more complex upcasting logic.
}

// Overlap with the previously processed data
Expand Down

0 comments on commit 51a3337

Please sign in to comment.