glibc/sysdeps/powerpc
Adhemerval Zanella 71ae86478e PowerPC: memset optimization for POWER8/PPC64
This patch adds an optimized memset implementation for POWER8.  For
sizes from 0 to 255 bytes, a word/doubleword algorithm similar to
POWER7 optimized one is used.

For size higher than 255 two strategies are used:

1. If the constant is different than 0, the memory is written with
   altivec vector instruction;

2. If constant is 0, dbcz instructions are used.  The loop is unrolled
   to clear 512 byte at time.

Using vector instructions increases throughput considerable, with a
double performance for sizes larger than 1024.  The dcbz loops unrolls
also shows performance improvement, by doubling throughput for sizes
larger than 8192 bytes.
2014-09-10 07:39:46 -04:00
..
bits PowerPC: Guard CALL_ELF check for ppc64 only in link.h 2014-07-07 14:46:22 -05:00
fpu Update powerpc-fpu ULPs. 2014-06-30 17:38:43 -04:00
nofpu Fix powerpc-nofpu __fe_enabled_env and __fe_nonieee_env (bug 17261). 2014-08-12 20:31:54 +00:00
nptl Include <kernel-features.h> explicitly where required. 2014-06-20 23:24:00 +00:00
power4 Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
power5+/fpu PowerPC: Fix modf/modff optimization return sign 2014-03-08 11:24:32 -06:00
power6 Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
power7/fpu Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
powerpc32 Define __GI_fegetenv for e500 libm 2014-09-02 21:39:04 +00:00
powerpc64 PowerPC: memset optimization for POWER8/PPC64 2014-09-10 07:39:46 -04:00
soft-fp soft-fp: support after-rounding tininess detection. 2014-02-12 18:27:12 +00:00
sys/platform Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
abort-instr.h Update. 2002-09-15 18:31:23 +00:00
configure rename configure.in to configure.ac 2013-10-30 17:32:08 +10:00
configure.ac rename configure.in to configure.ac 2013-10-30 17:32:08 +10:00
dl-procinfo.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
dl-procinfo.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
dl-tls.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
ffs.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
fpu_control.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
gccframe.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
ifunc-sel.h Move sysdeps/powerpc/elf files 2012-03-28 09:25:31 +02:00
Implies PowerPC: unify math_ldbl.h implementations 2013-03-08 11:07:15 -03:00
jmpbuf-offsets.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
jmpbuf-unwind.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
ldsodefs.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
locale-defines.sym Optimized strcasecmp for Power7 2011-12-17 20:32:59 -05:00
longjmp.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
machine-gmon.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
Makefile abilist-pattern configurability 2014-02-04 09:48:47 -02:00
math-tests.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
memusage.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
mp_clz_tab.c Update. 2002-03-14 20:48:50 +00:00
novmx-longjmp.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
novmx-sigjmp.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
novmxsetjmp.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
preconfigure Move base_machine and machine settings from configure.ac to sysdeps preconfigure fragments. 2014-06-25 17:52:56 +00:00
rtld-global-offsets.sym PowerPC: Define AT_HWCAP2 bits and AT_HWCAP2 handling for POWER8. 2013-06-28 16:52:49 -05:00
sched_cpucount.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
sigjmp.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
sotruss-lib.c PowerPC: sotruss-lib implementation 2014-01-15 12:14:06 -06:00
stackinfo.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
strcat.c PowerPC: strcat optimization for PPC64/POWER7 2014-07-02 14:04:21 -05:00
sysdep.h Allow sys/auxv.h to be used from the testsuite on powerpc and sparc. 2014-02-21 00:24:03 -07:00
test-arith.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
test-arithf.c Update. 1997-08-10 18:37:15 +00:00
test-gettimebase.c Fix missing newline in test output 2014-07-09 11:07:24 +02:00
tls-macros.h Split tls-macros.h in sysdeps directories. 2012-07-19 17:04:04 -03:00
tst-stack-align.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
Versions Update. 2004-02-14 05:16:57 +00:00