glibc:rsa/stdint_noheaders

Last commit made on 2013-05-01
Get this branch:
git clone -b rsa/stdint_noheaders https://git.launchpad.net/glibc

Branch merges

Branch information

Name:
rsa/stdint_noheaders
Repository:
lp:glibc

Recent commits

03eb46d... by "Ryan S. Arnold" <email address hidden>

Add #include <stdint.h> for uint[32|64]_t usage (except installed headers).

0695940... by Richard Smith <email address hidden>

Use __gnu_inline__ for __extern_always_inline in g++-4.2

Use the __gnu_inline__ attribute in _FORTIFY_SOURCE's __extern_always_inline
macro whenever the compiler supports it. Previously this macro only included
the __gnu_inline__ attribute in C++ mode for gcc >= 4.3. However,
__gnu_inline__ semantics are always desired for the __extern_always_inline
functions, and are available in g++ 4.2 (and some releases of g++ 4.1, and
also in Clang, which claims to be g++ 4.2).

This change stops g++-4.2 from emitting weak definitions for the fortify
wrapper functions if they can't be inlined, and also improves Clang
compatibility.

10de07f... by Joseph Myers <email address hidden>

Fix catan, catanh spurious underflows (bug 15423).

cb4d541... by Adhemerval Zanella <email address hidden>

Update powerpc libm-test ULPs

296f21e... by Joseph Myers <email address hidden>

Add bug 15416 to NEWS.

caf8431... by Joseph Myers <email address hidden>

Fix catan, catanh inaccuracy from atan2 denominators near 0 (bug 15416).

6dbe713... by Siddhesh Poyarekar <email address hidden>

Format s_sin.c

f0ee064... by Siddhesh Poyarekar <email address hidden>

Allow multiple input domains to be run in the same benchmark program

Some math functions have distinct performance characteristics in
specific domains of inputs, where some inputs return via a fast path
while other inputs require multiple precision calculations, that too
at different precision levels. The way to implement different domains
was to have a separate source file and benchmark definition, resulting
in separate programs.

This clutters up the benchmark, so this change allows these domains to
be consolidated into the same input file. To do this, the input file
format is now enhanced to allow comments with a preceding # and
directives with two # at the begining of a line. A directive that
looks like:

tells the benchmark generation script that what follows is a different
domain of inputs. The value of the 'name' directive (in this case,
foo) is used in the output. The two input domains are then executed
sequentially and their results collated separately. with the above
directive, there would be two lines in the result that look like:

func(): ....
func(foo): ...

d569c6e... by Siddhesh Poyarekar <email address hidden>

Maintain runtime of each benchmark at ~10 seconds

The idea to run benchmarks for a constant number of iterations is
problematic. While the benchmarks may run for 10 seconds on x86_64,
they could run for about 30 seconds on powerpc and worse, over 3
minutes on arm. Besides that, adding a new benchmark is cumbersome
since one needs to find out the number of iterations needed for a
sufficient runtime.

A better idea would be to run each benchmark for a specific amount of
time. This patch does just that. The run time defaults to 10 seconds
and it is configurable at command line:

  make BENCH_DURATION=5 bench

a6a242f... by Roland McGrath <email address hidden>

Make stub fchdir.c define __fchdir.