mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8007708: compiler/6855215 assert(VM_Version::supports_sse4_2())
Added missing UseSSE42 check. Also added missing avx2 assert for vpermq instruction. Reviewed-by: roland, twisti
This commit is contained in:
parent
2fd28ebb43
commit
231bbf39f4
2 changed files with 6 additions and 5 deletions
|
@ -5691,7 +5691,7 @@ void MacroAssembler::string_compare(Register str1, Register str2,
|
|||
Address::ScaleFactor scale = Address::times_2;
|
||||
int stride = 8;
|
||||
|
||||
if (UseAVX >= 2) {
|
||||
if (UseAVX >= 2 && UseSSE42Intrinsics) {
|
||||
Label COMPARE_WIDE_VECTORS, VECTOR_NOT_EQUAL, COMPARE_WIDE_TAIL, COMPARE_SMALL_STR;
|
||||
Label COMPARE_WIDE_VECTORS_LOOP, COMPARE_16_CHARS, COMPARE_INDEX_CHAR;
|
||||
Label COMPARE_TAIL_LONG;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue