changeset 2636:a594deb1d6dc

7081926: assert(VM_Version::supports_sse2()) failed: must support Summary: fix assert, prefetchnta is supported since SSE not SSE2. Reviewed-by: never
author kvn
date Mon, 22 Aug 2011 11:00:39 -0700
parents ff9ab6327924
children a70c2acb8f52 ac8738449b6f
files src/cpu/x86/vm/assembler_x86.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/cpu/x86/vm/assembler_x86.cpp	Sat Aug 20 14:03:12 2011 -0700
+++ b/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);