7081926: assert(VM_Version::supports_sse2()) failed: must support
authorkvn
Mon, 22 Aug 2011 11:00:39 -0700
changeset 10286 74b0f625d56a
parent 10285 21965ee594b9
child 10287 5b7dd76a90ce
child 10500 0f9de4fc106e
7081926: assert(VM_Version::supports_sse2()) failed: must support Summary: fix assert, prefetchnta is supported since SSE not SSE2. Reviewed-by: never
hotspot/src/cpu/x86/vm/assembler_x86.cpp
--- a/hotspot/src/cpu/x86/vm/assembler_x86.cpp	Sat Aug 20 14:03:12 2011 -0700
+++ b/hotspot/src/cpu/x86/vm/assembler_x86.cpp	Mon Aug 22 11:00:39 2011 -0700
@@ -2307,7 +2307,7 @@
 }
 
 void Assembler::prefetchnta(Address src) {
-  NOT_LP64(assert(VM_Version::supports_sse2(), "must support"));
+  NOT_LP64(assert(VM_Version::supports_sse(), "must support"));
   InstructionMark im(this);
   prefetch_prefix(src);
   emit_byte(0x18);