projects
/
cacao.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6c6023
)
* src/vm/jit/i386/asmpart.S (asm_get_cycle_count): Omit the stackframe.
author
edwin
<none@none>
Mon, 24 Apr 2006 00:19:06 +0000
(
00:19
+0000)
committer
edwin
<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
patch
|
blob
|
history
diff --git
a/src/vm/jit/i386/asmpart.S
b/src/vm/jit/i386/asmpart.S
index a4d6b1270c818520ee2b89dd88fe68da3ea9d8aa..7beec1f2d580243743e2565f3152be8155b472a7 100644
(file)
--- a/
src/vm/jit/i386/asmpart.S
+++ b/
src/vm/jit/i386/asmpart.S
@@
-31,7
+31,7
@@
Changes: Joseph Wenninger
Edwin Steiner
- $Id: asmpart.S 4
792 2006-04-19 01:05:18
Z edwin $
+ $Id: asmpart.S 4
818 2006-04-24 00:19:06
Z edwin $
*/
@@
-836,12
+836,7
@@
asm_criticalsections:
*******************************************************************************/
asm_get_cycle_count:
- push bp
- mov sp,bp /* save stackptr */
-
rdtsc
-
- leave
ret