* src/vm/jit/i386/asmpart.S (asm_get_cycle_count): Omit the stackframe.
authoredwin <none@none>
Mon, 24 Apr 2006 00:19:06 +0000 (00:19 +0000)
committeredwin <none@none>
Mon, 24 Apr 2006 00:19:06 +0000 (00:19 +0000)
This saves a couple of cycles of measurement overhead.

src/vm/jit/i386/asmpart.S

index a4d6b1270c818520ee2b89dd88fe68da3ea9d8aa..7beec1f2d580243743e2565f3152be8155b472a7 100644 (file)
@@ -31,7 +31,7 @@
    Changes: Joseph Wenninger
             Edwin Steiner
 
-   $Id: asmpart.S 4792 2006-04-19 01:05:18Z edwin $
+   $Id: asmpart.S 4818 2006-04-24 00:19:06Z edwin $
 
 */
 
@@ -836,12 +836,7 @@ asm_criticalsections:
 *******************************************************************************/
 
 asm_get_cycle_count:
-       push    bp
-       mov     sp,bp                       /* save stackptr                      */
-
        rdtsc
-
-       leave
        ret