diff src/os_cpu/solaris_x86/vm/solaris_x86_32.il @ 4749:7ab5f6318694

7125934: Add a fast unordered timestamp capability to Hotspot on x86/x64 Summary: Add rdtsc detection and inline generation. Reviewed-by: kamg, dholmes Contributed-by: karen.kinnear@oracle.com
author phh
date Sun, 01 Jan 2012 11:17:59 -0500
parents bb8e3b66bde6
children da4be62fb889
line wrap: on
line diff
--- a/src/os_cpu/solaris_x86/vm/solaris_x86_32.il	Mon Dec 26 20:36:01 2011 -0500
+++ b/src/os_cpu/solaris_x86/vm/solaris_x86_32.il	Sun Jan 01 11:17:59 2012 -0500
@@ -43,6 +43,11 @@
       movl     %ebp, %eax 
       .end
 
+  // Support for os::rdtsc()
+      .inline _raw_rdtsc,0
+      rdtsc
+      .end
+
   // Support for jint Atomic::add(jint inc, volatile jint* dest)
   // An additional bool (os::is_MP()) is passed as the last argument.
       .inline _Atomic_add,3
@@ -113,7 +118,6 @@
       fistpll   (%eax)
       .end
 
-
   // Support for OrderAccess::acquire()
       .inline _OrderAccess_acquire,0
       movl     0(%esp), %eax