|
From: <sv...@va...> - 2006-12-26 03:54:00
|
Author: sewardj
Date: 2006-12-26 03:53:52 +0000 (Tue, 26 Dec 2006)
New Revision: 6430
Log:
Merge r6391 (ppc32/64-linux: use 'ctr' for the branch address, not 'lr' s=
ince
using the latter trashes the branch predictors somehow)
Modified:
branches/VALGRIND_3_2_BRANCH/coregrind/m_dispatch/dispatch-amd64-linux=
.S
branches/VALGRIND_3_2_BRANCH/coregrind/m_dispatch/dispatch-ppc32-linux=
.S
branches/VALGRIND_3_2_BRANCH/coregrind/m_dispatch/dispatch-ppc64-linux=
.S
branches/VALGRIND_3_2_BRANCH/coregrind/m_dispatch/dispatch-x86-linux.S
Modified: branches/VALGRIND_3_2_BRANCH/coregrind/m_dispatch/dispatch-amd6=
4-linux.S
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- branches/VALGRIND_3_2_BRANCH/coregrind/m_dispatch/dispatch-amd64-linu=
x.S 2006-12-26 03:51:46 UTC (rev 6429)
+++ branches/VALGRIND_3_2_BRANCH/coregrind/m_dispatch/dispatch-amd64-linu=
x.S 2006-12-26 03:53:52 UTC (rev 6430)
@@ -1,7 +1,7 @@
=20
/*--------------------------------------------------------------------*/
/*--- The core dispatch loop, for jumping to a code address. ---*/
-/*--- dispatch-amd64.S ---*/
+/*--- dispatch-amd64-linux.S ---*/
/*--------------------------------------------------------------------*/
=20
/*
Modified: branches/VALGRIND_3_2_BRANCH/coregrind/m_dispatch/dispatch-ppc3=
2-linux.S
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- branches/VALGRIND_3_2_BRANCH/coregrind/m_dispatch/dispatch-ppc32-linu=
x.S 2006-12-26 03:51:46 UTC (rev 6429)
+++ branches/VALGRIND_3_2_BRANCH/coregrind/m_dispatch/dispatch-ppc32-linu=
x.S 2006-12-26 03:53:52 UTC (rev 6430)
@@ -1,7 +1,7 @@
=20
/*--------------------------------------------------------------------*/
/*--- The core dispatch loop, for jumping to a code address. ---*/
-/*--- dispatch-ppc32.S ---*/
+/*--- dispatch-ppc32-linux.S ---*/
/*--------------------------------------------------------------------*/
=20
/*
@@ -275,10 +275,10 @@
/* Found a match. Call tce[1], which is 8 bytes along, since
each tce element is a 64-bit int. */
addi 8,5,8
- mtlr 8
+ mtctr 8
=20
/* run the translation */
- blrl
+ bctrl
=20
/* On return from guest code:
r3 holds destination (original) address.
@@ -338,10 +338,10 @@
/* Found a match. Call tce[1], which is 8 bytes along, since
each tce element is a 64-bit int. */
addi 8,5,8
- mtlr 8
+ mtctr 8
=20
/* run the translation */
- blrl
+ bctrl
=20
/* On return from guest code:
r3 holds destination (original) address.
Modified: branches/VALGRIND_3_2_BRANCH/coregrind/m_dispatch/dispatch-ppc6=
4-linux.S
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- branches/VALGRIND_3_2_BRANCH/coregrind/m_dispatch/dispatch-ppc64-linu=
x.S 2006-12-26 03:51:46 UTC (rev 6429)
+++ branches/VALGRIND_3_2_BRANCH/coregrind/m_dispatch/dispatch-ppc64-linu=
x.S 2006-12-26 03:53:52 UTC (rev 6430)
@@ -1,7 +1,7 @@
=20
/*--------------------------------------------------------------------*/
/*--- The core dispatch loop, for jumping to a code address. ---*/
-/*--- dispatch-ppc64.S ---*/
+/*--- dispatch-ppc64-linux.S ---*/
/*--------------------------------------------------------------------*/
=20
/*
@@ -298,10 +298,10 @@
/* Found a match. Call tce[1], which is 8 bytes along, since
each tce element is a 64-bit int. */
addi 8,5,8
- mtlr 8
+ mtctr 8
=20
/* run the translation */
- blrl
+ bctrl
=20
/* On return from guest code:
r3 holds destination (original) address.
@@ -376,10 +376,10 @@
/* Found a match. Call tce[1], which is 8 bytes along, since
each tce element is a 64-bit int. */
addi 8,5,8
- mtlr 8
+ mtctr 8
=20
/* run the translation */
- blrl
+ bctrl
=20
/* On return from guest code:
r3 holds destination (original) address.
Modified: branches/VALGRIND_3_2_BRANCH/coregrind/m_dispatch/dispatch-x86-=
linux.S
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- branches/VALGRIND_3_2_BRANCH/coregrind/m_dispatch/dispatch-x86-linux.=
S 2006-12-26 03:51:46 UTC (rev 6429)
+++ branches/VALGRIND_3_2_BRANCH/coregrind/m_dispatch/dispatch-x86-linux.=
S 2006-12-26 03:53:52 UTC (rev 6430)
@@ -1,7 +1,7 @@
=20
/*--------------------------------------------------------------------*/
/*--- The core dispatch loop, for jumping to a code address. ---*/
-/*--- dispatch-x86.S ---*/
+/*--- dispatch-x86-linux.S ---*/
/*--------------------------------------------------------------------*/
=20
/*
|