From 4663c7a514d05bfe6fddde1d94f400a87650d18a Mon Sep 17 00:00:00 2001 From: kvn Date: Mon, 22 Aug 2011 11:00:39 -0700 Subject: [PATCH] 7081926: assert(VM_Version::supports_sse2()) failed: must support Summary: fix assert, prefetchnta is supported since SSE not SSE2. Reviewed-by: never --- src/cpu/x86/vm/assembler_x86.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cpu/x86/vm/assembler_x86.cpp b/src/cpu/x86/vm/assembler_x86.cpp index 8a96efe46..a16bacf02 100644 --- a/src/cpu/x86/vm/assembler_x86.cpp +++ b/src/cpu/x86/vm/assembler_x86.cpp @@ -2307,7 +2307,7 @@ void Assembler::prefetch_prefix(Address src) { } 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); -- GitLab