summaryrefslogtreecommitdiff
path: root/sysdeps/sparc/sparc64/multiarch/memset.S
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-09-01 13:41:27 -0700
committerDavid S. Miller <davem@davemloft.net>2011-09-01 13:43:06 -0700
commit5f4318d102d604e2f80bc97927e2d80f76063639 (patch)
tree189e956cbde6fde7155f1961f03e8abc548c28ae /sysdeps/sparc/sparc64/multiarch/memset.S
parent3ba575169aabc83993759305c0394f58ad1ce3e0 (diff)
downloadglibc-5f4318d102d604e2f80bc97927e2d80f76063639.tar.gz
Sanitize HWCAP_SPARC_* defines/usage, and add new entries.
Diffstat (limited to 'sysdeps/sparc/sparc64/multiarch/memset.S')
-rw-r--r--sysdeps/sparc/sparc64/multiarch/memset.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/sparc/sparc64/multiarch/memset.S b/sysdeps/sparc/sparc64/multiarch/memset.S
index 2e27448742..e2674d7adf 100644
--- a/sysdeps/sparc/sparc64/multiarch/memset.S
+++ b/sysdeps/sparc/sparc64/multiarch/memset.S
@@ -1,5 +1,5 @@
/* Multiple versions of memset and bzero
- Copyright (C) 2010 Free Software Foundation, Inc.
+ Copyright (C) 2010, 2011 Free Software Foundation, Inc.
Contributed by David S. Miller (davem@davemloft.net)
This file is part of the GNU C Library.
@@ -33,7 +33,7 @@ ENTRY(memset)
1: add %o7, %o3, %o3
mov %o5, %o7
# endif
- andcc %o0, 0x40, %g0 ! HWCAP_SPARC_BLKINIT
+ andcc %o0, HWCAP_SPARC_BLKINIT, %g0
be 9f
nop
# ifdef SHARED
@@ -69,7 +69,7 @@ ENTRY(__bzero)
1: add %o7, %o3, %o3
mov %o5, %o7
# endif
- andcc %o0, 0x40, %g0 ! HWCAP_SPARC_BLKINIT
+ andcc %o0, HWCAP_SPARC_BLKINIT, %g0
be 9f
nop
# ifdef SHARED