diff options
author | kvn <none@none> | 2013-02-08 15:07:17 -0800 |
---|---|---|
committer | kvn <none@none> | 2013-02-08 15:07:17 -0800 |
commit | 9a93e442699bb75ac505bb15be04e434fec31b43 (patch) | |
tree | 37557c0a7653065e4b026f9234f398acd1381370 /src/cpu/x86/vm/macroAssembler_x86.cpp | |
parent | ddac7f52c1ce94018960a7d824f199bc13889c75 (diff) | |
download | jdk8u_hotspot-9a93e442699bb75ac505bb15be04e434fec31b43.tar.gz |
8007708: compiler/6855215 assert(VM_Version::supports_sse4_2())
Summary: Added missing UseSSE42 check. Also added missing avx2 assert for vpermq instruction.
Reviewed-by: roland, twisti
Diffstat (limited to 'src/cpu/x86/vm/macroAssembler_x86.cpp')
-rw-r--r-- | src/cpu/x86/vm/macroAssembler_x86.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu/x86/vm/macroAssembler_x86.cpp b/src/cpu/x86/vm/macroAssembler_x86.cpp index c1e4c96e6..bda1550ac 100644 --- a/src/cpu/x86/vm/macroAssembler_x86.cpp +++ b/src/cpu/x86/vm/macroAssembler_x86.cpp @@ -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; |