about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* PowerPC: Add support for POWER8. rsa/power8Ryan S. Arnold2013-05-168-26/+96
|
* PowerPC: Remove redundant ports/sysdeps/powerpc/dl-procinfo.[hc].Ryan S. Arnold2013-05-163-290/+8
|
* PowerPC: Merge ports/ dl-procinfo.[hc] with base.Ryan S. Arnold2013-05-165-81/+125
|
* Add support for AT_HWCAP2.Ryan S. Arnold2013-05-1620-23/+147
|
* Add #include <stdint.h> for uint[32|64]_t usage (except installed headers).Ryan S. Arnold2013-05-16220-12/+528
|
* Convert TEST_extra tests from code to data.Joseph Myers2013-05-162-48/+82
|
* De-stringify constants in math/atest-exp2.c.Richard Henderson2013-05-162-42/+44
|
* Support testing "inexact" exceptions in libm-test.inc.Joseph Myers2013-05-162-392/+421
|
* Test for errno setting in more overflow error cases.Joseph Myers2013-05-162-81/+89
|
* Convert TEST_cc_c tests from code to data.Joseph Myers2013-05-162-14/+41
|
* Convert TEST_f_L tests from code to data.Joseph Myers2013-05-162-769/+797
|
* Remove const attribute on get_log2Peter Collingbourne2013-05-152-1/+4
| | | | This function is not const, as it can modify log2_m and log2_m_inited.
* hppa: Cleanup libm-test-ulps.Carlos O'Donell2013-05-152-420/+3
| | | | | | | | | | | | | | | | Joseph Myers noted that there were several old and really very incorrect values in the hppa libm-test-ulps. This patch removes all of the ulps values for ceil, floor, rint, round, trun, llrint, and llround, all of which were previously incorreclty added (including some negative values which are really wrong). --- ports/ 2013-05-15 Carlos O'Donell <carlos@redhat.com> * sysdeps/hppa/fpu/libm-test-ulps: Remove old values for ceil, floor, rint, round, trunc, llrint, and llround.
* Convert TEST_f_l tests from code to data.Joseph Myers2013-05-152-167/+196
|
* Use movq for 64-bit operationsPeter Collingbourne2013-05-152-2/+8
| | | | | | | | | | | The EXTRACT_WORDS64 and INSERT_WORDS64 macros use movd for a 64-bit operation. Somehow gcc manages to turn this into movq, but LLVM won't. 2013-05-15 Peter Collingbourne <pcc@google.com> * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro. (EXTRACT_WORDS64) Use where appropriate. (INSERT_WORDS64) Likewise.
* Use x constraints for operands to vfmaddss and vfmaddsdPeter Collingbourne2013-05-153-2/+6
| | | | | | | | | | | | | | | While these instructions accept memory operands, only one operand may be a memory operand. Giving two operands xm constraints gives the compiler the option of using memory for both operands, which would result in invalid assembly code. Using x for all operands is more appropriate, as most x86_64 calling conventions will pass the arguments in registers anyway. 2013-05-15 Peter Collingbourne <pcc@google.com> * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm constraints with x constraints. * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
* Move _obstack_compat out of commonPeter Collingbourne2013-05-152-1/+5
| | | | | | | | | | | | | it is impossible to create an alias of a common symbol (as compat_symbol does), because common symbols do not have a section or an offset until linked. GNU as tolerates aliases of common symbols by simply creating another common symbol, but other assemblers (notably LLVM's integrated assembler) are less tolerant. 2013-05-15 Peter Collingbourne <pcc@google.com> * malloc/obstack.c (_obstack_compat): Add initializer. -
* Reserve new TLS field for x86 and x86_64Andreas Jaeger2013-05-154-11/+21
| | | | | | | [BZ #10686] * sysdeps/x86_64/tls.h (struct tcbhead_t): Add __private_ss field. * sysdeps/i386/tls.h (struct tcbhead_t): Likewise.
* Update s390/bits/siginfo.hEdjunior Machado2013-05-152-3/+15
| | | | | | | | | | 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com> * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove si_trapno and add si_addr_lsb to _sifields.sigfault. (si_trapno): Remove macro. (si_addr_lsb): Define new macro. (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
* Consistently use TEST_f_L in tests of llrint and llround.Joseph Myers2013-05-152-6/+14
|
* hppa: Update libm-test-ulpsCarlos O'Donell2013-05-152-15/+4168
| | | | | | | | | | | | | | Update libm-test-ulps for hppa. There are a few entries with 4 or 5 ulps, but these appear to be expected. A more thorough review will be required if hppa switches long-double to a different type. --- ports/ 2013-05-15 Carlos O'Donell <carlos@redhat.com> * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
* hppa: Fix _FPU_GETCW and _FPU_SETCW.Carlos O'Donell2013-05-153-8/+15
| | | | | | | | | | | | | | | | | | | | The following patch fixes both _FPU_GETCW and _FPU_SETCW for hppa. The initial implementation was flawed and not well tested. We failed to set cw, and passed in the value of a register to fldd. This patch fixes both of those errors and allows the libm tests to pass without failure. Signed-off-by: Guy Martin <gmsoft@tuxicoman.be> Signed-off-by: Carlos O'Donell <carlos@redhat.com> --- 2013-05-15 Guy Martin <gmsoft@tuxicoman.be> Carlos O'Donell <carlos@redhat.com> [BZ# 15000] * ports/sysdeps/hppa/fpu/fpu_control.h (_FPU_GETCW): Set cw. (_FPU_SETCW): Pass address to fldd.
* Convert TEST_f_b tests from code to data.Joseph Myers2013-05-152-67/+135
|
* Test for errno setting in more domain error cases.Joseph Myers2013-05-152-53/+68
|
* Disable libm-test errno testing for TEST_INLINE.Joseph Myers2013-05-152-0/+5
|
* Convert TEST_ff_i tests from code to data.Joseph Myers2013-05-152-108/+171
|
* Update Sparc ULPs.David S. Miller2013-05-142-6/+857
| | | | * sysdeps/sparc/fpu/libm-test-ulps: Update.
* Fix whitespace in RUN_TEST_LOOP_2_f.Joseph Myers2013-05-142-1/+3
|
* Correct types of fields in libm-test.inc structures.Joseph Myers2013-05-142-2/+6
|
* Convert TEST_ffI_f1 tests from code to data.Joseph Myers2013-05-142-15/+51
|
* Stop ARM setjmp/longjmp saving/restoring fpscr (bug 14908).Joseph Myers2013-05-145-20/+18
|
* Add test for setjmp / longjmp and floating-point state.Joseph Myers2013-05-143-1/+118
|
* Convert TEST_f_i tests from code to data.Joseph Myers2013-05-142-24/+64
|
* Fix function name in scalbln_test call to END.Joseph Myers2013-05-142-1/+4
|
* Convert TEST_fI_f1 tests from code to data.Joseph Myers2013-05-142-11/+32
|
* Convert TEST_fF_f1 tests from code to data.Joseph Myers2013-05-142-12/+45
|
* Convert TEST_f_f1 tests from code to data.Joseph Myers2013-05-142-34/+76
|
* Add comments to vDSO hwcap loading process.Carlos O'Donell2013-05-143-1/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Loading of the vDSO pseudo-hwcap from the type 2 GNU note is a rather arcane and poorly documented process. Given that I had a chance to review this code today I thought I would add all of the things I had to lookup to verify the validity of the process. With a single .note.GNU the vDSO can register up to 64 flags, though in practice you are limited to 64 - _DL_FIRST_EXTRA bits which on x86 is 12 bits. The only use of this that I know of is in the Xen support in Linux where they use the 1st bit to indicate "nosegneg". I see "We use bit 1 to avoid bugs in some versions of glibc when bit 0 is used; the choice is otherwise arbitrary.", but no reference to a glibc bug anywhere. The code as-is should support bit zero, so we still have that free for future use. The kernel, glibc, and ld.so.cache must coordinate to ensure that bit values don't go too high and are used consistently. --- 2013-05-13 Carlos O'Donell <carlos@redhat.com> * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading. * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check. (main): Comment "tls" pseudo-hwcap.
* ARM: Make multiarch memcpy always use NEON when compiler doesRoland McGrath2013-05-135-11/+43
|
* Convert TEST_fl_f tests from code to data.Joseph Myers2013-05-132-38/+58
|
* Convert TEST_fi_f tests from code to data.Joseph Myers2013-05-132-36/+63
|
* Convert TEST_c_f tests from code to data.Joseph Myers2013-05-132-92/+140
|
* Convert TEST_if_f tests from code to data.Joseph Myers2013-05-132-124/+151
|
* Consistently use TEST_fl_f in tests of scalbln.Joseph Myers2013-05-132-25/+29
|
* Define decimal constant M_1_DIV_El in libm-test.incAdhemerval Zanella2013-05-132-1/+7
| | | | This patch replaces the 1.0 / M_El by the decimal constant M_1_DIV_El.
* Use HP_TIMING for benchmarks if availableSiddhesh Poyarekar2013-05-134-22/+100
| | | | | | | | | | | | | HP_TIMING uses native timestamping instructions if available, thus greatly reducing the overhead of recording start and end times for function calls. For architectures that don't have HP_TIMING available, we fall back to the clock_gettime bits. One may also override this by invoking the benchmark as follows: make USE_CLOCK_GETTIME=1 bench and get the benchmark results using clock_gettime. One has to do `make bench-clean` to ensure that the benchmark programs are rebuilt.
* Make _LIB_VERSION a weak symbolSiddhesh Poyarekar2013-05-133-11/+19
| | | | | | | That way it can live alongside _LIB_VERSION in libieee.a for statically compiled programs. Resolves #14582.
* Convert TEST_fff_f tests from code to data.Joseph Myers2013-05-122-888/+911
|
* Convert TEST_c_c tests from code to data.Joseph Myers2013-05-123-4599/+4738
|
* [AArch64] Fix out of range branch from ioctl() and clone()Marcus Shawcroft2013-05-123-4/+11
| | | | | | | | | | 2013-05-12 Marcus Shawcroft <marcus.shawcroft@linaro.org> * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not call sycall_error directly with a confitional branch. * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Do not call sycall_error directly with a confitional branch.