Andreas Jaeger
51d8bb8f3b
Regenerate configure files
2012-03-28 09:37:58 +02:00
Andreas Jaeger
27a0f3a948
Move sysdeps/powerpc/elf files
...
* sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
* sysdeps/powerpc/ifunc-sel.h: ... here.
* sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
* sysdeps/powerpc/rtld-global-offsets.sym: ... here.
2012-03-28 09:25:31 +02:00
Andreas Jaeger
7a2b3e0dcd
Move sysdeps/powerpc/powerpc32/elf files
...
* sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
* sysdeps/powerpc/powerpc32/bzero.S: ... here.
* sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
* sysdeps/powerpc/powerpc32/start.S: ... here.
* sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
* sysdeps/powerpc/powerpc32/configure.in: ... this.
* sysdeps/powerpc/powerpc32/elf/configure: Delete file.
2012-03-28 09:23:52 +02:00
Andreas Jaeger
0238008669
Move sysdeps/powerpc/powerpc64/elf files
...
* sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
* sysdeps/powerpc/powerpc64/bzero.S: ... here.
* sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
* sysdeps/powerpc/powerpc64/entry.h: ... here.
* sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
* sysdeps/powerpc/powerpc64/start.S: here.
* sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
* sysdeps/powerpc/powerpc64/Makefile: ... this.
* sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
* sysdeps/powerpc/powerpc64/configure.in: ... this.
* sysdeps/powerpc/powerpc64/elf/configure: Delete file.
2012-03-28 09:22:05 +02:00
Andreas Schwab
c876e002a2
Update powerpc libm test ULPs
2012-03-26 14:20:28 +02:00
Andreas Schwab
233fc56343
Update powerpc libm-test ULPs
2012-03-21 23:59:22 +01:00
Andreas Schwab
7998fa7899
Disable use of FMA instructions in branred
2012-03-21 23:58:50 +01:00
H.J. Lu
eb96ffb07d
Move stdio-common/_itoa.h to sysdeps/generic
2012-03-20 16:00:23 -07:00
Andreas Schwab
e79d442ee6
Update powerpc libm test ULPs
2012-03-18 15:20:42 +01:00
Andreas Schwab
11e0098ef0
Use double precision instead of scaling for powerpc __ieee754_hypotf
2012-03-15 18:13:52 +01:00
Andreas Schwab
9cad04eaf7
Update powerpc libm ULPs
2012-03-15 13:55:46 +01:00
Andreas Schwab
058c132dd1
Update powerpc libm ULPs
2012-03-10 19:18:42 +01:00
Paul Eggert
c524201ab0
Replace FSF snail mail address with URL in miscellaneous files.
2012-03-10 00:45:35 +00:00
Richard Henderson
b8c036204f
Use include_next to chain math_private.h headers.
2012-03-09 16:11:26 -08:00
Richard Henderson
1ed0291c31
Use <> for math.h and math_private.h everywhere.
...
Entire tree edited via find | grep | sed.
2012-03-09 16:09:10 -08:00
Richard Henderson
67bb6da679
powerpc: Convert __ieee754_sqrt{,f} from macros to inlines.
2012-03-09 11:16:18 -08:00
Andreas Schwab
884c5db424
Update powerpc libm ULPs
2012-03-05 20:38:18 +01:00
Andreas Schwab
c692293436
Update powerpc libm ULPs
2012-03-04 16:03:21 +01:00
Joseph Myers
7b1902cb3e
Improve erfc accuracy.
2012-03-01 21:15:38 +00:00
Joseph Myers
0e7dfaef51
Remove old initfini mechanism.
2012-02-21 00:46:01 +00:00
Joseph Myers
5ad91f6e6f
Resort ULPs files with gen-libm-test.pl -n in C locale.
2012-02-20 18:06:05 +00:00
Paul Eggert
59ba27a63a
Replace FSF snail mail address with URLs.
2012-02-09 23:18:22 +00:00
Andreas Schwab
ba988fc563
powerpc: add crt files
...
* sysdeps/powerpc/powerpc32/crti.S: New file.
* sysdeps/powerpc/powerpc32/crtn.S: New file.
* sysdeps/powerpc/powerpc64/crti.S: New file.
* sysdeps/powerpc/powerpc64/crtn.S: New file.
2012-02-08 22:25:14 +01:00
Andreas Schwab
84ba42c4fb
Adjust libm test ULPs for powerpc
2012-02-07 15:21:41 +01:00
Marek Polacek
622c86f480
Remove __ELF__ conditionals
2012-02-07 00:41:11 +01:00
Joseph Myers
d55bf1777c
Always define float_t as float for PowerPC, SH and SPARC.
2012-01-31 22:57:02 +00:00
Adhemerval Zanella
d73f93a461
PowerPC - A2 memcpy cache line size initialization
2012-01-27 18:05:45 -05:00
Joseph Myers
8db2188281
Remove __STDC__ conditionals from libm.
2012-01-27 17:29:45 +00:00
Joseph Myers
7071ad79db
Remove __STDC__ conditionals from installed headers.
2012-01-26 20:49:22 +00:00
Will Schmidt
929d11c7cf
Powerpc: correct duplicate label issue with multiple passes through context code
2012-01-12 17:05:03 -05:00
Ulrich Drepper
0269750ca6
Remove non-ELF support
2012-01-07 20:30:26 -05:00
Adhemerval Zanella
f0b264f174
Optimized strcasecmp for Power7
2011-12-17 20:32:59 -05:00
Ulrich Drepper
b813d73fd7
Fix WP
2011-12-17 15:08:09 -05:00
Will Schmidt
91d2a8453f
Simplify code for accessing powerpc GOT
2011-12-17 15:07:31 -05:00
Adhemerval Zanella
a1267ba1c6
Optimized nearbyint for PPC
2011-12-17 14:59:47 -05:00
Andreas Schwab
850fb039ce
Fix a wrong constant in powerpc hypot implementation
2011-12-06 11:12:01 +01:00
Adhemerval Zanella
8a6d525522
PowerPC: Arithmetic function optimizations for POWER
2011-11-11 13:33:38 -05:00
Ulrich Drepper
0ac5ae2335
Optimize libm
...
libm is now somewhat integrated with gcc's -ffinite-math-only option
and lots of the wrapper functions have been optimized.
2011-10-12 11:27:51 -04:00
Andreas Schwab
3a62d00d40
Don't call ifunc functions in trace mode
2011-10-05 14:35:40 +02:00
Andreas Schwab
68822d7426
Adjust powerpc libm ULPs
2011-09-28 10:12:56 +02:00
Andreas Schwab
edc121be8b
Fix PLT uses in libm on powerpc
2011-09-15 15:35:38 +02:00
Andreas Schwab
1ae12c758f
Fix undefined symbol in powerpc64 dl-machine.h
2011-09-13 20:01:15 +02:00
Ulrich Drepper
83cd142045
Remove --wth-tls option, TLS support is required
2011-09-11 15:02:01 -04:00
Ulrich Drepper
d063d16433
Remove support for !USE___THREAD
2011-09-10 16:50:28 -04:00
Ulrich Drepper
bd8f72ec2a
Fix whitespaces
2011-09-07 22:12:47 -04:00
Adhemerval Zanella
77a2a8b4a1
Trigonometric optimizations for POWER
2011-09-07 22:10:26 -04:00
Alan Modra
24f579d86e
Fix profiling on powerpc32 secure-plt shared libs and PIEs
2011-09-07 22:02:42 -04:00
Will Schmidt
2270037782
power7 strncmp optimization
2011-09-07 21:56:57 -04:00
Will Schmidt
5025581e1c
power7 memcpy VSX optimizations
2011-09-07 21:54:41 -04:00
Aurelien Jarno
873a772e30
Fix duplicate definition of Elf64_FuncDesc
2011-08-23 15:05:32 +02:00
Andreas Schwab
94d7165ffa
Adjust libm test ulps for powerpc
2011-08-20 08:39:39 -04:00
David S. Miller
42675c6ff0
Add an elf_ifunc_invoke interface so that architectures can implement
...
the ifunc resolver calls however they wish.
2011-06-20 19:56:40 -07:00
Ryan S. Arnold
457bddfc2a
Prevent Altivec and VSX insns on PowerPC64 when no FPRs or VRs are avail.
...
(cherry picked from commit 4749a0058b
)
Conflicts:
ChangeLog
2011-05-20 06:34:48 -04:00
Ulrich Drepper
7a41d99a35
Fix whitespaces.
2011-04-22 21:38:13 -04:00
Jim Meyering
ded5b9b7c7
Remove doubled words.
2011-04-22 21:34:32 -04:00
Andreas Schwab
4420675c9d
Fix POWER4/POWER7 optimized strncmp to not read past differing bytes
2011-04-17 22:03:53 -04:00
Ulrich Drepper
e6c6149412
Fix memory leak in TLS of loaded objects.
2011-04-10 22:43:01 -04:00
Ryan S. Arnold
ccfe366e6f
PowerPC: Fix POWER6 s_isnanf.S: END(__isnan) to END(__isnanf)
2011-03-18 05:15:00 -04:00
Ryan S. Arnold
2206397e1c
Disable VSX usage in rtld.c to prevent TOC ref before relocs are resolved.
2011-02-17 00:59:15 -05:00
Ryan S. Arnold
30950a5fd2
Make PowerPC64 default to nonexecutable stack
2010-12-19 22:49:01 -05:00
Luis Machado
344d0b545d
power7-optimized mempcpy
2010-11-05 08:01:13 -04:00
Michael B. Brutman
d0b9e94faf
powerpc: PPCA2/A2 optimized memcpy function
2010-10-24 21:47:33 -04:00
Ulrich Drepper
18edac4857
Provide FP_FAST_FMA{,F,L} definitions for x86/x86-64.
2010-10-19 12:56:42 -04:00
Michael Meissner
d20501241e
Add C99 FP_FAST_FMA{,F,L} macros to math.h
2010-10-19 12:49:05 -04:00
Jakub Jelinek
5e908464b9
Implement accurate fma.
2010-10-13 22:27:03 -04:00
Jakub Jelinek
9ff8d36f27
Correct implementation of fmaf.
2010-10-11 09:27:05 -04:00
Luis Machado
91c4255919
powerpc: Use generic memset for RTLD for ppc32/64
2010-09-29 12:21:14 -04:00
Ulrich Drepper
724da3d7f4
Revert "powerpc: PPCA2 optimized memcpy function"
...
This reverts commit 44f91d3884
.
Conflicts:
ChangeLog
2010-09-27 23:02:55 -04:00
Michael B. Brutman
44f91d3884
powerpc: PPCA2 optimized memcpy function
2010-09-21 14:06:46 -07:00
Andreas Schwab
817328eea7
Remove undefined operations
2010-09-05 13:55:08 +02:00
Luis Machado
fe2f79db99
powerpc: Various P7-optimized string functions
2010-08-19 07:38:41 -07:00
Alan Modra
bebff237c5
PowerPC64 ABI fixes
2010-08-12 09:19:19 -07:00
Ulrich Drepper
9b059f9774
Whitespace fixes.
2010-07-15 08:39:26 -07:00
Luis Machado
77c1b06986
POWER6/7 optimizations for copysign
2010-07-15 08:24:40 -07:00
Luis Machado
f47c9a11ad
powerpc: Re-work the Implies structure
...
This patch tries to organize the implies files for ppc, since there are
a number of processors and most of them are compatible with each other
(backwards compatible).
Having in mind that we start the search for processor-specific files in
the sysdeps/unix/sysv/linux tree
(sysdeps/unix/sysv/linux/powerpc/powerpc[32|64]/[processor]/fpu to be
exact), we would like to grab any linux-specific code from that tree
prior to going through the other tree (sysdeps/powerpc/...).
For that, i removed the Implies files that were originally inside the
fpu directories and placed then in the non-fpu directories (still inside
the unix/sysv/linux tree). If no processor-specific/linux-specific files
could be found, we "imply" the other tree's (sysdeps/powerpc/...) fpu
directory for that specific processor AND also the non-fpu directory for
that same tree.
If, again, no processor-specific code is found, we read another Implies
file that will point to the most compatible processor that we should
grab code from, and so on, until we reach the power4 processor.
So, in summary, the Implies files will live inside these directories
now:
* sysdeps/unix/sysv/linux/powerpc/powerpc[32|64]/[processor]
* sysdeps/powerpc/powerpc[32|64]/[processor]
Practical example of the order we will use to pick power6-specific code
with the new structure.
sysdeps/unix/sysv/linux/powerpc/powerpc[32|64]/power6/fpu ->
sysdeps/unix/sysv/linux/powerpc/powerpc[32|64]/power6 ->
sysdeps/powerpc/powerpc[32|64]/power6/fpu ->
sysdeps/powerpc/powerpc[32|64]/power6 ->
sysdeps/powerpc/powerpc[32|64]/power5+/fpu ->
sysdeps/powerpc/powerpc[32|64]/power5+ ->
sysdeps/powerpc/powerpc[32|64]/power5/fpu ->
sysdeps/powerpc/powerpc[32|64]/power5 ->
sysdeps/powerpc/powerpc[32|64]/power4/fpu ->
sysdeps/powerpc/powerpc[32|64]/power4 (from here, it'll go to the
generic path as usual)
2010-06-30 09:57:38 -07:00
Ulrich Drepper
af6edc9c6a
More whitespace fixes.
2010-06-14 17:16:23 -07:00
Ulrich Drepper
1dc242356a
Fix whitespaces.
2010-06-14 17:15:33 -07:00
Luis Machado
158db12267
power7 string compare optimizations
2010-06-14 17:13:24 -07:00
Luis Machado
eb5ad2eb0d
Small fix to POWER7 32-bit memcpy
2010-05-28 14:19:21 -07:00
Luis Machado
ebd2e13d67
Small fix to POWER7 32-bit memset
2010-05-24 17:56:44 -07:00
Luis Machado
33b8d90a1b
Add missing files.
2010-05-20 04:35:05 -07:00
Ulrich Drepper
b8907dfd8b
Fix whitespace issues.
2010-03-10 07:28:04 -08:00
Luis Machado
fb084e5e80
power7-optimized 64-bit and 32-bit memcpy
2010-03-10 07:14:16 -08:00
Luis Machado
41288fbb78
Cleanup old obsolete PPC_REL16 checks
2010-02-12 07:55:01 -08:00
Luis Machado
61c9346ddc
Fix POWER7 Implies
2010-02-10 07:15:01 -08:00
Ulrich Drepper
029f8f41c7
Fix whitespace issues.
2010-02-09 22:46:23 -08:00
Luis Machado
0f507b6c95
power7-optimized classification functions
2010-02-09 22:42:38 -08:00
Andreas Schwab
7eb22e757e
Avoid PLT call to fegetenv on s390
2010-02-09 22:34:17 -08:00
Ulrich Drepper
d6ac9329b3
Fix whitespace issues.
2010-01-18 12:43:47 -08:00
Ulrich Drepper
057edf90e0
memcpy for ppc/cell.
2010-01-18 12:40:29 -08:00
Philippe De Muyter
868f7a4053
Fix spelling of (Newton-)Raphson
2009-11-06 09:33:27 -08:00
Jakub Jelinek
872873d48d
Fix R_PPC64_{JMP_IREL,IRELATIVE} handling in dl-conflict.c.
...
I've just committed STT_GNU_IFUNC ppc/ppc64 support into prelink,
and this patch is needed on the glibc side. Without it ld.so segfaults,
as in dl-conflict.c sym_map is always NULL. While dl-machine.h could use
RESOLVE_CONFLICT_FIND_MAP macro to compute it, it doesn't make sense,
because with prelink we know it is already properly relocated (all relative
relocations are applied by prelink).
2009-11-06 09:27:41 -08:00
Alan Modra
31c759bf37
Uglify IFUNC tests for PPC.
2009-10-30 00:48:54 -07:00
Alan Modra
77799d9d9b
Implement IFUNC for PPC.
2009-10-30 00:39:38 -07:00
Roland McGrath
7967983fd4
configure tweaks, support $libc_add_on_config_subdirs
2009-09-15 14:14:42 -07:00
Joshua W. Boyer
a050d2a5e7
Fix use of 64-bit insn in 32-bit memcpy for POWER6.
2009-09-01 15:35:35 -07:00
Andreas Schwab
15efafdf07
Add sigstack handling to Linux ____longjmp_chk on powerpc.
2009-08-22 02:01:51 -07:00
Andreas Schwab
2123d5815e
Fix wrong PPC_FEATURE_* values.
...
Nothing uses these wrong values yet, but it fixes a warning due to
conflicting definitions in <asm/cputable.h>.
2009-07-05 23:46:03 -07:00
Andreas Schwab
80a98966c8
Fix text relocation on ppc32.
...
The ____longjmp_chk implementation didn't load from memory the
right way.
2009-06-25 08:56:20 -07:00
Andreas Schwab
3f241d7584
Fix cfa offset for saved registers in PPC sqrt implementations.
2009-06-24 11:36:57 -07:00