diff options
author | David S. Miller <davem@davemloft.net> | 2012-10-05 14:46:47 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-10-05 14:46:47 -0700 |
commit | 3baddb72a4181e05d0d279a6b345635641e13a18 (patch) | |
tree | 502af4b61251ea10b01aa227bc327c01accd281f /sysdeps/sparc/sparc32 | |
parent | d7e0dab96d1a855f7ff779195010c188c334669e (diff) | |
download | glibc-3baddb72a4181e05d0d279a6b345635641e13a18.zip glibc-3baddb72a4181e05d0d279a6b345635641e13a18.tar.gz glibc-3baddb72a4181e05d0d279a6b345635641e13a18.tar.bz2 |
Add Niagara-4 optimized memset/bzero implementation.
* sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
* sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
file.
* sysdeps/sparc/sparc64/multiarch/Makefile: Add to
sysdep_routines.
* sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
* sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
and bzero when HWCAP_SPARC_CRYPTO is present.
Diffstat (limited to 'sysdeps/sparc/sparc32')
-rw-r--r-- | sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile | 2 | ||||
-rw-r--r-- | sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile b/sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile index 377dfc7..7358bdb 100644 --- a/sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile +++ b/sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile @@ -1,4 +1,4 @@ ifeq ($(subdir),string) sysdep_routines += memcpy-ultra3 memcpy-niagara1 memcpy-niagara2 \ - memset-niagara1 memcpy-niagara4 + memset-niagara1 memcpy-niagara4 memset-niagara4 endif diff --git a/sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S b/sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S new file mode 100644 index 0000000..6545019 --- /dev/null +++ b/sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S @@ -0,0 +1 @@ +#include <sparc64/multiarch/memset-niagara4.S> |