Commit Graph

38 Commits

Author SHA1 Message Date
Chris Metcalf bf144a4fae tile: Define MADV_DONTDUMP and MADV_DODUMP 2012-05-23 08:20:12 -04:00
Chris Metcalf 8dd88391bb tile: Update ULPs for ccos, csin, ccosh, csinh tests 2012-05-22 11:21:18 -04:00
Chris Metcalf 7c49b18b2f tile: Rename __WORDSIZE_COMPAT32 to __WORDSIZE_TIME64_COMPAT32 2012-05-22 11:21:15 -04:00
Chris Metcalf f711d080ef tile: Update ABI baselines for getauxval 2012-05-22 11:21:09 -04:00
Chris Metcalf 30aa747c68 tile: add proper versioning for fegetenv() 2012-05-17 15:18:45 -04:00
Chris Metcalf 3f83552f2c tile: support tilegx32 in stackguard-macros.h 2012-05-17 18:51:36 +00:00
Chris Metcalf 69d8348e5e tile: fork tilepro and tilegx copies of c++-types-tile-linux-gnu.data 2012-05-17 14:14:07 -04:00
Chris Metcalf 61a52130e8 tile: update libm-test-ulps for improved fma() and exp10() 2012-05-17 11:31:07 -04:00
Chris Metcalf ac9182e753 tile: use ieee754/dbl-64 version of fma() and fmaf()
It turns out that even if you stub out the rounding and exception
support and use the ieee754 version, it's still much better than
the generic version that just uses normal multiply and add.
The resulting functions have only 1 ULP of error according to the tests.
2012-05-17 11:27:36 -04:00
Chris Metcalf 342a78ccd5 Changelog.tile: fix up some formatting issues
Change leading spaces to tab, and merge runs of ChangeLog messages
that were from cmetcalf@tilera.com on the same date.
2012-05-17 09:54:18 -04:00
Chris Metcalf 0adc5f3892 tilegx32: fix various bugs in setcontext/getcontext/swapcontext 2012-05-17 09:03:24 -04:00
Chris Metcalf 26624de5a2 tile: provide a tile-specific sotruss-lib.c override 2012-05-17 09:03:24 -04:00
Chris Metcalf fa12ed1f61 tile: avoid compiler warning in feraiseexcept() math_private override 2012-05-17 09:03:23 -04:00
Chris Metcalf d22d562a48 tile: add libm-test-ulps 2012-05-17 09:03:23 -04:00
Chris Metcalf 15caa1c0c9 tile: provide __FE_UNDEFINED in <bits/fenv.h> 2012-05-17 09:03:22 -04:00
Chris Metcalf 32e8667947 tile: add proper const qualifier for pltexit function pointer field 2012-05-16 09:32:04 -04:00
Chris Metcalf f136e4df5d tile: delete now unused file
The latest main tree has split out stackguard-macros.h so we no
longer have to override it with a stub.
2012-05-16 09:24:31 -04:00
Chris Metcalf b55e1c1e81 tile: add abilist files 2012-05-14 15:46:14 -04:00
Chris Metcalf bcfe09d241 tile: align stack for tilegx32
Previously we weren't re-aligning the stack pointer during the
call to _dl_init(), so for tilegx32 and an odd value in _dl_skip_args
and kernel unaligned access fixups disabled, we would die with SIGBUS.
We now handle this case properly by aligning before calling _dl_init().
2012-05-14 15:46:13 -04:00
Chris Metcalf 8927be2b21 tile: add include <features.h> to <sys/dataplane.h>
We were using __BEGIN_DECLS without <features.h> and it just happened
to mostly work, but of course we should include it here.
2012-05-14 15:46:13 -04:00
Chris Metcalf 024bb7b4a2 tile: fix bug in CFI definitions for clone.S
We were missing a critical cfi_def_cfa_offset call in .Lthread_start
which caused backtracing to get badly confused for threads.
2012-05-14 15:46:13 -04:00
Chris Metcalf 8daa704ea4 tile: fix broken TLS_GD macros
These still corresponded to an older version of the TLS code in
the compiler.  Now they match the code in gcc 4.7.
2012-05-14 15:46:12 -04:00
Chris Metcalf 64d76ca064 tilegx: small performance fix for string routines
We were multiplying a byte by 0x0101010101010101ULL to create a
constant for SIMD ops, but the compiler isn't good at optimizing
this case (the fact that one operand is a byte is lost by the time
it would be possible to do the optimization).  So instead we add
a helper routine that explicitly uses SIMD ops to create the constant.
2012-05-14 15:46:12 -04:00
Chris Metcalf 575298fcd2 tile: allow memcpy(p, p, n) without corrupting memory at "p"
Although this is not required by the definition of memcpy(),
in practice this sort of thing does happen, and it's easy to make
the code robust by doing nothing in this case.  (Since structure
copy causes the compiler to emit a memcpy, in the case where the
target structure is the same as the destination, we were seeing
corruption.)
2012-05-14 15:46:12 -04:00
Chris Metcalf cbf92fc466 tile: avoid using _LP64
The convention is to use __WORDSIZE everywhere.  I happened to
notice that we weren't doing this in __tls_get_addr.S.
2012-05-14 15:46:11 -04:00
Chris Metcalf 9b7108251c tile: support stackguard-macros.h header 2012-05-14 15:46:11 -04:00
Chris Metcalf 2a99f85fe3 tile: remove stale #define of ELF_MACHINE_PLTREL_OVERLAP 2012-05-14 15:46:11 -04:00
Chris Metcalf 87df4a4b09 tile: update pthread_attr_t and struct siginfo names
This adds a tag to the pthread_attr_t underlying type so we can
forward-declare it, and removes the siginfo_t type, to match
changes in the main tree.
2012-05-14 15:46:08 -04:00
Chris Metcalf 538c451b2b tile: Remove elf/ and create crti.S/crtn.S
This patches fixes up the tile startup files, moving elf/start.S up a
directory level and implementing the required crti.S and crtn.S files
based on the old initfini.c compiler output (hand-optimized to bum a
couple of cycles).
2012-05-14 15:34:04 -04:00
Mike Frysinger cde9262435 tile: update _itoa.h include path
Common code moved _itoa.h necessitating a change in the #include path.

Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-04-15 12:09:17 -04:00
Richard Henderson ed7e7d46e9 Use include_next to chain math_private.h headers. 2012-03-09 16:28:42 -08:00
Paul Eggert ab84e3ff9c Replace FSF snail mail address by URL. 2012-03-09 23:56:38 +00:00
Chris Metcalf 5dfe919c9f tile: use const instead of __const. 2012-01-31 11:46:09 -05:00
Chris Metcalf 975e4ecfd4 tile: use <feedback.h> instead of <feedback-asm.h> in sysdep.h. 2012-01-31 11:26:00 -05:00
Chris Metcalf 1353ed1385 tile: Ignore feraiseexcept() internally. 2012-01-31 09:00:29 -05:00
Chris Metcalf 3d31999a90 Don't check HAVE_ELF or NO_UNDERSCORES in sysdeps/tile/sysdep.h. 2012-01-31 09:00:28 -05:00
Joseph Myers 647b14570e Update tile files for removal of ia64 from libc. 2012-01-07 16:53:16 +00:00
Chris Metcalf 63d143a25d Add sysdeps/tile, sysdeps/unix/sysv/linux/tile.
Changes are tracked in ChangeLog.tile.
Also add data/c++-types-tile-linux-gnu.data.
2011-12-03 21:14:25 -05:00