comparison src/cpu/x86/vm/vm_version_x86.hpp @ 4137:04b9a2566eec

Merge with hsx23/hotspot.
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Sat, 17 Dec 2011 21:40:27 +0100
parents fe189d4a44e9 9f12ede5571a
children 33df1aeaebbf
comparison
equal deleted inserted replaced
3737:9dc19b7d89a3 4137:04b9a2566eec
89 tsc : 1, 89 tsc : 1,
90 : 3, 90 : 3,
91 cmpxchg8 : 1, 91 cmpxchg8 : 1,
92 : 6, 92 : 6,
93 cmov : 1, 93 cmov : 1,
94 : 7, 94 : 3,
95 clflush : 1,
96 : 3,
95 mmx : 1, 97 mmx : 1,
96 fxsr : 1, 98 fxsr : 1,
97 sse : 1, 99 sse : 1,
98 sse2 : 1, 100 sse2 : 1,
99 : 1, 101 : 1,
415 cores_per_cpu(); 417 cores_per_cpu();
416 } 418 }
417 return result; 419 return result;
418 } 420 }
419 421
420 static intx L1_data_cache_line_size() { 422 static intx prefetch_data_size() {
421 intx result = 0; 423 intx result = 0;
422 if (is_intel()) { 424 if (is_intel()) {
423 result = (_cpuid_info.dcp_cpuid4_ebx.bits.L1_line_size + 1); 425 result = (_cpuid_info.dcp_cpuid4_ebx.bits.L1_line_size + 1);
424 } else if (is_amd()) { 426 } else if (is_amd()) {
425 result = _cpuid_info.ext_cpuid5_ecx.bits.L1_line_size; 427 result = _cpuid_info.ext_cpuid5_ecx.bits.L1_line_size;