diff options
author | Jose E. Marchesi <jose.marchesi@oracle.com> | 2014-05-17 11:20:27 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-05-17 14:09:55 -0700 |
commit | 834caf06f33d79be54cff63c274fba2845513593 (patch) | |
tree | a9f1b268f46d99540332dd9220b139bc0f720f45 /sysdeps/sparc/sparc64 | |
parent | e184a918bb5866a6488257d37ecc4e4ff747b7b7 (diff) | |
download | glibc-834caf06f33d79be54cff63c274fba2845513593.tar.gz glibc-834caf06f33d79be54cff63c274fba2845513593.tar.xz glibc-834caf06f33d79be54cff63c274fba2845513593.zip |
Fix sparc memcpy data corruption when using niagara2 optimized routines.
* sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing membar to avoid block loads/stores to overlap previous stores.
Diffstat (limited to 'sysdeps/sparc/sparc64')
-rw-r--r-- | sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S b/sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S index b43a9e3e53..a1a9642bd8 100644 --- a/sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S +++ b/sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S @@ -211,6 +211,7 @@ ENTRY(__memcpy_niagara2) */ VISEntryHalf + membar #Sync alignaddr %o1, %g0, %g0 add %o1, (64 - 1), %o4 |