Mercurial > hg > truffle
comparison src/cpu/x86/vm/assembler_x86.cpp @ 3873: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 | 381bf869f784 |
children | e6b1331a51d2 |
comparison
equal
deleted
inserted
replaced
3872:ff9ab6327924 | 3873:a594deb1d6dc |
---|---|
2305 prefix(src); | 2305 prefix(src); |
2306 emit_byte(0x0F); | 2306 emit_byte(0x0F); |
2307 } | 2307 } |
2308 | 2308 |
2309 void Assembler::prefetchnta(Address src) { | 2309 void Assembler::prefetchnta(Address src) { |
2310 NOT_LP64(assert(VM_Version::supports_sse2(), "must support")); | 2310 NOT_LP64(assert(VM_Version::supports_sse(), "must support")); |
2311 InstructionMark im(this); | 2311 InstructionMark im(this); |
2312 prefetch_prefix(src); | 2312 prefetch_prefix(src); |
2313 emit_byte(0x18); | 2313 emit_byte(0x18); |
2314 emit_operand(rax, src); // 0, src | 2314 emit_operand(rax, src); // 0, src |
2315 } | 2315 } |