aboutsummaryrefslogtreecommitdiff
path: root/manual
diff options
context:
space:
mode:
authorEdjunior Machado <emachado@linux.vnet.ibm.com>2013-05-23 10:06:24 -0500
committerRyan S. Arnold <rsa@linux.vnet.ibm.com>2013-05-23 10:32:47 -0500
commit9323d39baea2fb0cca3735136abe263eff405133 (patch)
tree2e0dbe5bd8e69d0e9193c13230b26924e294866d /manual
parent7b2991daea4fc20945a48c2d5c7fa200218cfd4e (diff)
downloadglibc-9323d39baea2fb0cca3735136abe263eff405133.tar
glibc-9323d39baea2fb0cca3735136abe263eff405133.tar.gz
glibc-9323d39baea2fb0cca3735136abe263eff405133.tar.bz2
glibc-9323d39baea2fb0cca3735136abe263eff405133.zip
PowerPC: Add functions for shared resources hints.
Diffstat (limited to 'manual')
-rw-r--r--manual/platform.texi24
1 files changed, 24 insertions, 0 deletions
diff --git a/manual/platform.texi b/manual/platform.texi
index e387ff4cc9..316b1f1f2d 100644
--- a/manual/platform.texi
+++ b/manual/platform.texi
@@ -34,3 +34,27 @@ This frequency is not related to the processor clock or the bus clock.
It is also possible that this frequency is not constant. More information is
available in @cite{Power ISA 2.06b - Book II - Section 5.2}.
@end deftypefun
+
+The following functions provide hints about the usage of resources that are
+shared with other processors. They can be used, for example, if a program
+waiting on a lock intends to divert the shared resources to be used by other
+processors. More information is available in @cite{Power ISA 2.06b - Book II -
+Section 3.2}.
+
+@deftypefun {void} __ppc_yield (void)
+Provide a hint that performance will probably be improved if shared resources
+dedicated to the executing processor are released for use by other processors.
+@end deftypefun
+
+@deftypefun {void} __ppc_mdoio (void)
+Provide a hint that performance will probably be improved if shared resources
+dedicated to the executing processor are released until all outstanding storage
+accesses to caching-inhibited storage have been completed.
+@end deftypefun
+
+@deftypefun {void} __ppc_mdoom (void)
+Provide a hint that performance will probably be improved if shared resources
+dedicated to the executing processor are released until all outstanding storage
+accesses to cacheable storage for which the data is not in the cache have been
+completed.
+@end deftypefun