2313 emit_byte(0x18); |
2313 emit_byte(0x18); |
2314 emit_operand(rax, src); // 0, src |
2314 emit_operand(rax, src); // 0, src |
2315 } |
2315 } |
2316 |
2316 |
2317 void Assembler::prefetchr(Address src) { |
2317 void Assembler::prefetchr(Address src) { |
2318 NOT_LP64(assert(VM_Version::supports_3dnow_prefetch(), "must support")); |
2318 assert(VM_Version::supports_3dnow_prefetch(), "must support"); |
2319 InstructionMark im(this); |
2319 InstructionMark im(this); |
2320 prefetch_prefix(src); |
2320 prefetch_prefix(src); |
2321 emit_byte(0x0D); |
2321 emit_byte(0x0D); |
2322 emit_operand(rax, src); // 0, src |
2322 emit_operand(rax, src); // 0, src |
2323 } |
2323 } |
2345 emit_byte(0x18); |
2345 emit_byte(0x18); |
2346 emit_operand(rbx, src); // 3, src |
2346 emit_operand(rbx, src); // 3, src |
2347 } |
2347 } |
2348 |
2348 |
2349 void Assembler::prefetchw(Address src) { |
2349 void Assembler::prefetchw(Address src) { |
2350 NOT_LP64(assert(VM_Version::supports_3dnow_prefetch(), "must support")); |
2350 assert(VM_Version::supports_3dnow_prefetch(), "must support"); |
2351 InstructionMark im(this); |
2351 InstructionMark im(this); |
2352 prefetch_prefix(src); |
2352 prefetch_prefix(src); |
2353 emit_byte(0x0D); |
2353 emit_byte(0x0D); |
2354 emit_operand(rcx, src); // 1, src |
2354 emit_operand(rcx, src); // 1, src |
2355 } |
2355 } |