Go to file
Joseph Myers aa97dee16e Adjust how gen-auto-libm-tests handles before-rounding/after-rounding cases.
This patch changes gen-auto-libm-tests so that, when generating test
results that depend on whether the architecture has before-rounding or
after-rounding tininess detection, the :before-rounding or
:after-rounding conditions go on the exception / errno flags
generated, rather than generating two separate lines in
auto-libm-test-out for e.g. flt-32:before-rounding and
flt-32:after-rounding.

The rationale for this is as follows.  It would be desirable for
testing a libm function in all rounding modes to require just one
function and array in libm-test.inc, not four (or five), with the
array of test data including expected results for all rounding modes
rather than separate arrays for each rounding mode that also need to
repeat all the test inputs.  For gen-libm-test.pl to generate data for
such an array from auto-libm-test-out, it would be helpful if each
(format, test input) pair has exactly four lines in
auto-libm-test-out, one for each rounding mode, rather than some
rounding modes having just one line and some having two because the
exceptions depend on tininess detection.

Tested x86_64 and x86.

	* math/gen-auto-libm-tests.c: Update comment on output format.
	(output_for_one_input_case): Generate before-rounding and
	after-rounding information as conditions on output flags not
	floating-point format.
	* math/auto-libm-test-out: Regenerated.
	* math/gen-libm-test.pl (cond_value): New function.
	(or_cond_value): Use cond_value.
	(generate_testfile): Handle conditional exceptions.
2014-03-06 14:11:19 +00:00
argp Consistently include Makeconfig after defining subdir. 2014-02-26 23:12:03 +00:00
assert Consistently include Makeconfig after defining subdir. 2014-02-26 23:12:03 +00:00
benchtests Make strtok benchmark competive. 2014-02-28 22:45:33 +01:00
bits Complete _BSD_SOURCE / _SVID_source followup cleanup. 2014-02-21 21:45:26 +00:00
catgets Fix fallout from Joseph's untested Makeconfig change. 2014-02-28 13:00:27 -08:00
conf
conform Support expected failures in .test-result files. 2014-02-27 03:25:27 +00:00
crypt Consistently include Makeconfig after defining subdir. 2014-02-26 23:12:03 +00:00
csu Fix fallout from Joseph's untested Makeconfig change. 2014-02-28 13:00:27 -08:00
ctype Consistently include Makeconfig after defining subdir. 2014-02-26 23:12:03 +00:00
debug Fix fallout from Joseph's untested Makeconfig change. 2014-02-28 13:00:27 -08:00
dirent Consistently include Makeconfig after defining subdir. 2014-02-26 23:12:03 +00:00
dlfcn Fix fallout from Joseph's untested Makeconfig change. 2014-02-28 13:00:27 -08:00
elf Promote do_lookup_x:check_match to a full function. 2014-02-28 18:15:10 -05:00
gmon Consistently include Makeconfig after defining subdir. 2014-02-26 23:12:03 +00:00
gnulib Consistently include Makeconfig after defining subdir. 2014-02-26 23:12:03 +00:00
grp Consistently include Makeconfig after defining subdir. 2014-02-26 23:12:03 +00:00
gshadow Consistently include Makeconfig after defining subdir. 2014-02-26 23:12:03 +00:00
hesiod Consistently include Makeconfig after defining subdir. 2014-02-26 23:12:03 +00:00
hurd Consistently include Makeconfig after defining subdir. 2014-02-26 23:12:03 +00:00
iconv Generate .test-result files for tests with special rules. 2014-02-21 21:48:08 +00:00
iconvdata Fix fallout from Joseph's untested Makeconfig change. 2014-02-28 13:00:27 -08:00
include BZ #16632: Change [_BSD/_SVID]_SOURCE warning. 2014-02-25 13:23:25 -05:00
inet Consistently include Makeconfig after defining subdir. 2014-02-26 23:12:03 +00:00
intl Fix fallout from Joseph's untested Makeconfig change. 2014-02-28 13:00:27 -08:00
io Consistently include Makeconfig after defining subdir. 2014-02-26 23:12:03 +00:00
libidn Consistently include Makeconfig after defining subdir. 2014-02-26 23:12:03 +00:00
libio Fix up formatting in tst-ftell-active-handler.c 2014-03-04 15:49:58 +05:30
locale Consistently include Makeconfig after defining subdir. 2014-02-26 23:12:03 +00:00
localedata Fix fallout from Joseph's untested Makeconfig change. 2014-02-28 13:00:27 -08:00
login Consistently include Makeconfig after defining subdir. 2014-02-26 23:12:03 +00:00
mach Consistently include Makeconfig after defining subdir. 2014-02-26 23:12:03 +00:00
malloc Revert 4248f0da6f. 2014-03-03 12:30:17 -05:00
manual Don't include individual test ulps in libm-test-ulps. 2014-03-05 15:02:38 +00:00
math Adjust how gen-auto-libm-tests handles before-rounding/after-rounding cases. 2014-03-06 14:11:19 +00:00
misc Fix fallout from Joseph's untested Makeconfig change. 2014-02-28 13:00:27 -08:00
nis Consistently include Makeconfig after defining subdir. 2014-02-26 23:12:03 +00:00
nptl Retire the separate ChangeLog files in nptl/ and nptl_db/ subdirs. 2014-03-03 15:30:42 -08:00
nptl_db Retire the separate ChangeLog files in nptl/ and nptl_db/ subdirs. 2014-03-03 15:30:42 -08:00
nscd nscd: Improved support for tracking startup failure in nscd service (BZ #16639) 2014-03-03 23:18:31 +05:30
nss Consistently include Makeconfig after defining subdir. 2014-02-26 23:12:03 +00:00
po Consistently include Makeconfig after defining subdir. 2014-02-26 23:12:03 +00:00
ports Don't include individual test ulps in libm-test-ulps. 2014-03-05 15:02:38 +00:00
posix Fix fallout from Joseph's untested Makeconfig change. 2014-02-28 13:00:27 -08:00
pwd Consistently include Makeconfig after defining subdir. 2014-02-26 23:12:03 +00:00
resolv Fix fallout from Joseph's untested Makeconfig change. 2014-02-28 13:00:27 -08:00
resource Consistently include Makeconfig after defining subdir. 2014-02-26 23:12:03 +00:00
rt Consistently include Makeconfig after defining subdir. 2014-02-26 23:12:03 +00:00
scripts Support expected failures in .test-result files. 2014-02-27 03:25:27 +00:00
setjmp Consistently include Makeconfig after defining subdir. 2014-02-26 23:12:03 +00:00
shadow Consistently include Makeconfig after defining subdir. 2014-02-26 23:12:03 +00:00
signal Consistently include Makeconfig after defining subdir. 2014-02-26 23:12:03 +00:00
socket Consistently include Makeconfig after defining subdir. 2014-02-26 23:12:03 +00:00
soft-fp Consistently include Makeconfig after defining subdir. 2014-02-26 23:12:03 +00:00
stdio-common Add missing } in Versions file. 2014-02-28 11:07:43 -08:00
stdlib Consistently include Makeconfig after defining subdir. 2014-02-26 23:12:03 +00:00
streams Consistently include Makeconfig after defining subdir. 2014-02-26 23:12:03 +00:00
string PowerPC: strrchr optimization for POWER7/PPC64 2014-03-03 08:06:41 -06:00
sunrpc Fix fallout from Joseph's untested Makeconfig change. 2014-02-28 13:00:27 -08:00
sysdeps Don't include individual test ulps in libm-test-ulps. 2014-03-05 15:02:38 +00:00
sysvipc Consistently include Makeconfig after defining subdir. 2014-02-26 23:12:03 +00:00
termios Consistently include Makeconfig after defining subdir. 2014-02-26 23:12:03 +00:00
time Consistently include Makeconfig after defining subdir. 2014-02-26 23:12:03 +00:00
timezone Fix fallout from Joseph's untested Makeconfig change. 2014-02-28 13:00:27 -08:00
wcsmbs Consistently include Makeconfig after defining subdir. 2014-02-26 23:12:03 +00:00
wctype Consistently include Makeconfig after defining subdir. 2014-02-26 23:12:03 +00:00
.gitattributes
.gitignore ignore gdb related files 2013-12-27 16:30:50 -05:00
abi-tags
aclocal.m4 rename configure.in to configure.ac 2013-10-30 17:32:08 +10:00
BUGS
CANCEL-FCT-WAIVE
CANCEL-FILE-WAIVE
ChangeLog Adjust how gen-auto-libm-tests handles before-rounding/after-rounding cases. 2014-03-06 14:11:19 +00:00
ChangeLog.1
ChangeLog.2
ChangeLog.3
ChangeLog.4
ChangeLog.5
ChangeLog.6
ChangeLog.7
ChangeLog.8
ChangeLog.9
ChangeLog.10
ChangeLog.11
ChangeLog.12
ChangeLog.13
ChangeLog.14
ChangeLog.15
ChangeLog.16
ChangeLog.17
config.h.in tst-fanotify: switch to AC_DEFINE 2014-01-04 08:34:01 -05:00
config.make.in Remove --disable-versioning. 2013-09-04 15:25:42 +00:00
configure Set AUTOCONF variable when maintainer-mode is not used 2013-12-16 21:45:27 +10:00
configure.ac Set AUTOCONF variable when maintainer-mode is not used 2013-12-16 21:45:27 +10:00
CONFORMANCE
COPYING Update to latest versions of GPL-2.0 and LGPL-2.1 2013-09-09 12:52:48 +10:00
COPYING.LIB Update to latest versions of GPL-2.0 and LGPL-2.1 2013-09-09 12:52:48 +10:00
cppflags-iterator.mk
extra-lib.mk Remove --disable-versioning. 2013-09-04 15:25:42 +00:00
extra-modules.mk
INSTALL Stop partial menu generation in INSTALL file 2013-12-19 11:54:06 +10:00
libc-abis
LICENSES Expand LICENSES file. 2012-12-05 21:56:15 +00:00
Makeconfig Support expected failures in .test-result files. 2014-02-27 03:25:27 +00:00
Makefile Generate .test-result files for tests with special rules. 2014-02-21 21:48:08 +00:00
Makefile.in Add target bench-clean 2013-04-16 14:07:21 +05:30
Makerules Remove obsolete SHLIB_COMPAT conditionalization in Versions files. 2014-02-22 01:19:45 -08:00
NAMESPACE
NEWS Separate ftell from fseek logic and avoid modifying FILE data (#16532) 2014-03-04 07:45:58 +05:30
o-iterator.mk
PROJECTS
README [MicroBlaze]: Move MicroBlaze from ports to sysdeps. 2014-02-17 11:08:21 +10:00
Rules Generate .test-result files for ordinary tests. 2014-02-15 01:04:57 +00:00
shlib-versions PowerPC: Change powerpc64le start ABI to 2.17. 2014-02-04 09:49:08 -02:00
test-skeleton.c tests: unify fortification handler logic 2014-02-08 06:58:43 -05:00
version.h Open development for 2.20 2014-02-08 08:10:29 +10:00
Versions.def Add GLIBC_2.17 to librt in Version.def 2014-02-21 11:32:19 +01:00
WUR-REPORT * posix/unistd.h (setuid, setreuid, seteuid, setresuid): 2012-08-01 18:12:58 +02:00

This directory contains the sources of the GNU C Library.
See the file "version.h" for what release version you have.

The GNU C Library is the standard system C library for all GNU systems,
and is an important part of what makes up a GNU system.  It provides the
system API for all programs written in C and C-compatible languages such
as C++ and Objective C; the runtime facilities of other programming
languages use the C library to access the underlying operating system.

In GNU/Linux systems, the C library works with the Linux kernel to
implement the operating system behavior seen by user applications.
In GNU/Hurd systems, it works with a microkernel and Hurd servers.

The GNU C Library implements much of the POSIX.1 functionality in the
GNU/Hurd system, using configurations i[4567]86-*-gnu.  The current
GNU/Hurd support requires out-of-tree patches that will eventually be
incorporated into an official GNU C Library release.

When working with Linux kernels, this version of the GNU C Library
requires Linux kernel version 2.6.16 or later.

Also note that the shared version of the libgcc_s library must be
installed for the pthread library to work correctly.

The GNU C Library supports these configurations for using Linux kernels:

	aarch64*-*-linux-gnu
	alpha*-*-linux-gnu
	arm-*-linux-gnueabi
	i[4567]86-*-linux-gnu
	x86_64-*-linux-gnu	Can build either x86_64 or x32
	ia64-*-linux-gnu
	m68k-*-linux-gnu
	microblaze*-*-linux-gnu
	mips-*-linux-gnu
	mips64-*-linux-gnu
	powerpc-*-linux-gnu	Hardware or software floating point, BE only.
	powerpc64*-*-linux-gnu	Big-endian and little-endian.
	s390-*-linux-gnu
	s390x-*-linux-gnu
	sh[34]-*-linux-gnu
	sparc*-*-linux-gnu
	sparc64*-*-linux-gnu
	tilegx-*-linux-gnu
	tilepro-*-linux-gnu

The code for other CPU configurations supported by volunteers outside of
the core glibc maintenance effort is contained in the `ports' add-on,
located in the `ports' subdirectory of the source tree.

	hppa-*-linux-gnu	Not currently functional without patches.

If you are interested in doing a port, please contact the glibc
maintainers; see http://www.gnu.org/software/libc/ for more
information.

See the file INSTALL to find out how to configure, build, and install
the GNU C Library.  You might also consider reading the WWW pages for
the C library at http://www.gnu.org/software/libc/.

The GNU C Library is (almost) completely documented by the Texinfo manual
found in the `manual/' subdirectory.  The manual is still being updated
and contains some known errors and omissions; we regret that we do not
have the resources to work on the manual as much as we would like.  For
corrections to the manual, please file a bug in the `manual' component,
following the bug-reporting instructions below.  Please be sure to check
the manual in the current development sources to see if your problem has
already been corrected.

Please see http://www.gnu.org/software/libc/bugs.html for bug reporting
information.  We are now using the Bugzilla system to track all bug reports.
This web page gives detailed information on how to report bugs properly.

The GNU C Library is free software.  See the file COPYING.LIB for copying
conditions, and LICENSES for notices about a few contributions that require
these additional notices to be distributed.  License copyright years may be
listed using range notation, e.g., 2000-2013, indicating that every year in
the range, inclusive, is a copyrightable year that would otherwise be listed
individually.