This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch master updated. glibc-2.18-411-gf3fd262
- From: siddhesh at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 20 Nov 2013 02:51:09 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.18-411-gf3fd262
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via f3fd2628d8e86343f2add6de5be602cfc2cb8e00 (commit)
via b2f386c18f1e8c832c673bd813d56a07391c666d (commit)
from 73c1ce4fdbdf117b4d91b6e894686228155bd702 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=f3fd2628d8e86343f2add6de5be602cfc2cb8e00
commit f3fd2628d8e86343f2add6de5be602cfc2cb8e00
Author: Siddhesh Poyarekar <siddhesh@redhat.com>
Date: Wed Nov 20 07:46:48 2013 +0530
Add systemtap probe markers for sin, cos, asin and acos
diff --git a/ChangeLog b/ChangeLog
index 677adea..a138e0b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
+
+ * manual/probes.texi (Mathematical Function Probes): Add
+ documentation for sin, cos, asin and acos probes.
+ * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
+ (__sin32): Add slowasin probe.
+ (__cos32): Add slowacos probe.
+ (__mpsin): Add slowsin probe.
+ (__mpcos): Add slowcos probe.
+
2013-11-19 Joseph Myers <joseph@codesourcery.com>
[BZ #15483]
diff --git a/manual/probes.texi b/manual/probes.texi
index 5492bb7..108f460 100644
--- a/manual/probes.texi
+++ b/manual/probes.texi
@@ -353,3 +353,45 @@ results in multiple precision computation with precision 32. Argument
@var{$arg1} is the input to the function and @var{$arg2} is the computed
result.
@end deftp
+
+@deftp Probe slowasin (double @var{$arg1}, double @var{$arg2})
+This probe is hit when the @code{asin} function is called with an input that
+results in multiple precision computation with precision 32. Argument
+@var{$arg1} is the input to the function and @var{$arg2} is the computed
+result.
+@end deftp
+
+@deftp Probe slowacos (double @var{$arg1}, double @var{$arg2})
+This probe is hit when the @code{acos} function is called with an input that
+results in multiple precision computation with precision 32. Argument
+@var{$arg1} is the input to the function and @var{$arg2} is the computed
+result.
+@end deftp
+
+@deftp Probe slowsin (double @var{$arg1}, double @var{$arg2})
+This probe is hit when the @code{sin} function is called with an input that
+results in multiple precision computation with precision 32. Argument
+@var{$arg1} is the input to the function and @var{$arg2} is the computed
+result.
+@end deftp
+
+@deftp Probe slowcos (double @var{$arg1}, double @var{$arg2})
+This probe is hit when the @code{cos} function is called with an input that
+results in multiple precision computation with precision 32. Argument
+@var{$arg1} is the input to the function and @var{$arg2} is the computed
+result.
+@end deftp
+
+@deftp Probe slowsin_dx (double @var{$arg1}, double @var{$arg2}, double @var{$arg3})
+This probe is hit when the @code{sin} function is called with an input that
+results in multiple precision computation with precision 32. Argument
+@var{$arg1} is the input to the function, @var{$arg2} is the error bound of
+@var{$arg1} and @var{$arg3} is the computed result.
+@end deftp
+
+@deftp Probe slowcos_dx (double @var{$arg1}, double @var{$arg2}, double @var{$arg3})
+This probe is hit when the @code{cos} function is called with an input that
+results in multiple precision computation with precision 32. Argument
+@var{$arg1} is the input to the function, @var{$arg2} is the error bound of
+@var{$arg1} and @var{$arg3} is the computed result.
+@end deftp
diff --git a/sysdeps/ieee754/dbl-64/sincos32.c b/sysdeps/ieee754/dbl-64/sincos32.c
index 49aa148..e42fd27 100644
--- a/sysdeps/ieee754/dbl-64/sincos32.c
+++ b/sysdeps/ieee754/dbl-64/sincos32.c
@@ -43,6 +43,7 @@
#include "mpa.h"
#include "sincos32.h"
#include <math_private.h>
+#include <stap-probe.h>
#ifndef SECTION
# define SECTION
@@ -149,6 +150,7 @@ __sin32 (double x, double res, double res1)
/* if a > 0 return min (res, res1), otherwise return max (res, res1). */
if ((a.d[0] > 0 && res >= res1) || (a.d[0] <= 0 && res <= res1))
res = res1;
+ LIBC_PROBE (slowasin, 2, &res, &x);
return res;
}
@@ -182,6 +184,7 @@ __cos32 (double x, double res, double res1)
/* if a > 0 return max (res, res1), otherwise return min (res, res1). */
if ((a.d[0] > 0 && res <= res1) || (a.d[0] <= 0 && res >= res1))
res = res1;
+ LIBC_PROBE (slowacos, 2, &res, &x);
return res;
}
@@ -240,6 +243,7 @@ __mpsin (double x, double dx, bool reduce_range)
default:
__mp_dbl (&s, &y, p);
}
+ LIBC_PROBE (slowsin, 3, &x, &dx, &y);
return y;
}
@@ -298,6 +302,7 @@ __mpcos (double x, double dx, bool reduce_range)
default:
__mp_dbl (&c, &y, p);
}
+ LIBC_PROBE (slowcos, 3, &x, &dx, &y);
return y;
}
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=b2f386c18f1e8c832c673bd813d56a07391c666d
commit b2f386c18f1e8c832c673bd813d56a07391c666d
Author: Siddhesh Poyarekar <siddhesh@redhat.com>
Date: Wed Nov 20 07:46:18 2013 +0530
Fix ChangeLog formatting
diff --git a/ChangeLog b/ChangeLog
index 0f03219..677adea 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -318,7 +318,7 @@
2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
- * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
+ * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
set reference_name to "" to avoid passing NULL to DSO_FILENAME.
2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
@@ -344,8 +344,8 @@
2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
- * benchtests/Makefile: Add bench-strtod.
- * benchtests/bench-strtod.c: New file: strtod benchtest
+ * benchtests/Makefile: Add bench-strtod.
+ * benchtests/bench-strtod.c: New file: strtod benchtest
2013-11-11 Andreas Schwab <schwab@suse.de>
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 16 +++++++++++--
manual/probes.texi | 42 +++++++++++++++++++++++++++++++++++++
sysdeps/ieee754/dbl-64/sincos32.c | 5 ++++
3 files changed, 60 insertions(+), 3 deletions(-)
hooks/post-receive
--
GNU C Library master sources