Adhemerval Zanella
27b75f56c9
PowerPC: Cleanup powerpc memmove
...
Now that MEMCPY_OK_FOR_FWD_MEMMOVE should be define on memcopy.h there
is no need to specialized powerpc memmove implementation. This patch
moves the define set to powerpc memcopy and cleanup its definition on
powerpc code.
2014-07-08 09:16:15 -05:00
Adhemerval Zanella
e7f95bb5f0
PowerPC: Fix compiler warnings
...
This patch fixes some compiler due trailing data in #undef directives
and due missing prototypes.
2014-07-08 09:16:12 -05:00
Adhemerval Zanella
91f4b564bd
PowerPC: Add ifunc tests for memmove
...
This patch add the missing ifunc tests definition for memmove ppc32
optimization patch (commit 07aedd7
).
2014-07-08 09:16:09 -05:00
Adhemerval Zanella
07aedd78b0
PowerPC: optimized memmove for POWER7/PPC32
...
This patch adds a optimized memmove for power7 by using the optimized
power7 memcpy for forward copying.
2014-07-07 15:41:27 -05:00
Richard Henderson
05502548e9
Always provide HP_SMALL_TIMING_AVAIL
2014-07-03 08:38:36 -07:00
Richard Henderson
86e1a7ff92
Unify hp-timing implementations
...
Provide an hp-timing-common.h for ports to use.
2014-07-03 08:38:30 -07:00
Richard Henderson
428dd03f5a
Remove HP_TIMING_DIFF_INIT and dl_hp_timing_overhead
...
Without HP_TIMING_ACCUM, dl_hp_timing_overhead is write-only.
If we remove it, there's no point in HP_TIMING_DIFF_INIT either.
2014-07-03 08:38:25 -07:00
Richard Henderson
c39323e9d2
Removing HP_TIMING_ACCUM as unused
2014-07-03 08:38:21 -07:00
Richard Henderson
850e0e032b
Removing HP_TIMING_ZERO as unused
2014-07-03 08:38:18 -07:00
Adhemerval Zanella
d298c41635
PowerPC: Remove 64 bits instructions in PPC32 code
...
This patch replaces the insrdi by insrwi in powerpc32 assembly.
2014-05-26 09:09:21 -05:00
Adhemerval Zanella
3d2badacf1
PowerPC: Fix memchr ifunc hidden symbol for PPC32
...
This patch fixes a similar issue to
736c304a1a
, where for PPC32 if the symbol
is defined as hidden (memchr) then compiler will create a local branc
(symbol@local) and the linker will not create a required PLT call to
make the ifunc work. It changes the default hidden symbol (__GI_memchr)
to default memchr symbol for powerpc32 (__memchr_ppc32).
2014-05-22 07:53:44 -05:00
Adhemerval Zanella
19c4bec0f4
PowerPC: ifunc improvement for internal calls
...
This patch changes de default symbol redirection for internal call of
memcpy, memset, memchr, and strlen to the IFUNC resolved ones. The
performance improvement is noticeable in algorithms that uses these
symbols extensible, like the regex functions.
2014-05-05 13:30:16 -05:00
Adhemerval Zanella
dd3946c615
PowerPC: Fix bzero definition for static libc for PPC32
...
This patch fixes an issue for powerpc32-fpu static build which fails
with an 'bzero' undefined reference. This patch adds bzero ifunc selector
for static builds and fixes the '__bzero_ppc' reference to default
memset symbol (since static memset build does not provide ifunc
selector).
Fixes BZ#16689.
2014-03-12 09:03:22 -05:00
Adhemerval Zanella
487972aea5
PowerPC: Optimized isnan/isnanf for POWER8
...
This patch add a optimized isnan/isnanf implementation for POWER8
using the new Move From VSR Doubleword instruction to gains some
cycles from FP to GRP register move.
2014-02-27 12:58:32 -06:00
Allan McRae
d4697bc93d
Update copyright notices with scripts/update-copyrights
2014-01-01 22:00:23 +10:00
Adhemerval Zanella
2e973d9919
PowerPC: multiarch __ieee754_hypot[f] for PowerPC32
2013-12-06 05:47:05 -06:00
Adhemerval Zanella
2d9470b2ae
PowerPC: multiarch logb/logbf/logbl for PowerPC32
2013-12-06 05:47:05 -06:00
Adhemerval Zanella
5212ffce0e
PowerPC: multiarch modf/modff for PowerPC32
2013-12-06 05:47:05 -06:00
Adhemerval Zanella
79dccf31bf
PowerPC: multiarch lrint/lrintf for PowerPC32
2013-12-06 05:47:04 -06:00
Adhemerval Zanella
deb6648026
PowerPC: multiarch lround/lrounf for PowerPC32
2013-12-06 05:47:04 -06:00
Adhemerval Zanella
264b036bea
PowerPC: multiarch copysign/copysignf for PowerPC32
2013-12-06 05:47:04 -06:00
Adhemerval Zanella
d47db6c906
PowerPC: multiarch trunc/truncf for PowerPC32
2013-12-06 05:47:04 -06:00
Adhemerval Zanella
ddb60b5aa9
PowerPC: multiarch round/roundf for PowerPC32
2013-12-06 05:47:04 -06:00
Adhemerval Zanella
bedcf49b45
PowerPC: multiarch floor/floorf for PowerPC32
2013-12-06 05:47:04 -06:00
Adhemerval Zanella
35ae5b40a4
PowerPC: multiarch ceil/ceilf for PowerPC32
2013-12-06 05:47:03 -06:00
Adhemerval Zanella
ae1a4cd9ff
PowerPC: multiarch finite/finitef for PowerPC32
2013-12-06 05:47:03 -06:00
Adhemerval Zanella
64fffd65d7
PowerPC: multiarch isinf/isinff for PowerPC32
2013-12-06 05:47:03 -06:00
Adhemerval Zanella
8e4e7ba2d7
PowerPC: multiarch isnan/isnanf for PowerPC32
2013-12-06 05:47:03 -06:00
Adhemerval Zanella
ddba588e2d
PowerPC: multiarch sqrt/sqrtf for PowerPC32
2013-12-06 05:47:03 -06:00
Adhemerval Zanella
0f96a2f0b5
PowerPC: multiarch llround/llroundf for PowerPC32
2013-12-06 05:47:03 -06:00
Adhemerval Zanella
c9b5d79e0c
PowerPC: multiarch llrint/llrintf for PowerPC32
2013-12-06 05:47:02 -06:00
Adhemerval Zanella
ea5a72f882
PowerPC: multiarch wordcopy routines for PowerPC32
2013-12-06 05:47:02 -06:00
Adhemerval Zanella
93be09e725
PowerPC: multiarch wcscpy for PowerPC32
2013-12-06 05:47:02 -06:00
Adhemerval Zanella
bb04e529f6
PowerPC: multiarch wcsrchr for PowerPC32
2013-12-06 05:47:02 -06:00
Adhemerval Zanella
05b5cd1ce5
PowerPC: multiarch wcschr for PowerPC32
2013-12-06 05:47:02 -06:00
Adhemerval Zanella
ba9641477e
PowerPC: multiarch strchr for PowerPC32
2013-12-06 05:47:01 -06:00
Adhemerval Zanella
31c81aaa01
PowerPC: multiarch strchrnul for PowerPC32
2013-12-06 05:47:01 -06:00
Adhemerval Zanella
0d0607d9ab
PowerPC: multiarch strncasecmp for PowerPC32
2013-12-06 05:47:01 -06:00
Adhemerval Zanella
4dfd5c8647
PowerPC: multiarch strcasecmp for PowerPC32
2013-12-06 05:47:01 -06:00
Adhemerval Zanella
a19e01a355
PowerPC: multiarch strncmp for PowerPC32
2013-12-06 05:47:01 -06:00
Adhemerval Zanella
ae9cf7a2e8
PowerPC: multiarch strnlen for PowerPC32
2013-12-06 05:47:00 -06:00
Adhemerval Zanella
3148bb7d2c
PowerPC: multiarch strlen for PowerPC32
2013-12-06 05:47:00 -06:00
Adhemerval Zanella
7af8b94625
PowerPC: multiarch rawmemchr for PowerPC32
2013-12-06 05:47:00 -06:00
Adhemerval Zanella
03a6aa6a63
PowerPC: multiarch memrchr for PowerPC32
2013-12-06 05:47:00 -06:00
Adhemerval Zanella
1c62e6d960
PowerPC: multiarch memchr for PowerPC32
2013-12-06 05:47:00 -06:00
Adhemerval Zanella
87da8bdbe1
PowerPC: multiarch mempcpy for PowerPC32
2013-12-06 05:46:59 -06:00
Adhemerval Zanella
20ed471427
PowerPC: multiarch memset/bzero for PowerPC32
2013-12-06 05:46:59 -06:00
Adhemerval Zanella
ab3e3a46d5
PowerPC: multiarch memcmp for PowerPC32
2013-12-06 05:46:59 -06:00
Adhemerval Zanella
930de6f09e
PowerPC: multiarch memcpy for PowerPC32
2013-12-06 05:46:59 -06:00
Adhemerval Zanella
4c628e0026
PowerPC: initial support for multilib for PowerPC32
...
This patch add a empty Makefile, the C IFUNC helper macros, and a empty
available IFUNC implementation enumeration.
2013-12-06 05:46:59 -06:00