~ubuntu-branches/ubuntu/trusty/eglibc/trusty

« back to all changes in this revision

Viewing changes to sysdeps/sparc/sparc64/multiarch/memset.S

  • Committer: Package Import Robot
  • Author(s): Adam Conrad
  • Date: 2013-01-10 18:39:35 UTC
  • mfrom: (1.5.2) (4.4.24 experimental)
  • Revision ID: package-import@ubuntu.com-20130110183935-afsgfxkmg7wk5eaj
Tags: 2.17-0ubuntu1
* Merge with Debian, bringing in a new upstream and many small fixes:
  - patches/any/cvs-malloc-deadlock.diff: Dropped, merged upstream.
  - patches/ubuntu/lddebug-scopes.diff: Rebase for upstream changes.
  - patches/ubuntu/local-CVE-2012-3406.diff: Rebased against upstream.
  - patches/ubuntu/no-asm-mtune-i686.diff: Fixed in recent binutils.
* This upstream merge fixes a nasty hang in pulseaudio (LP: #1085342)
* Bump MIN_KERNEL_SUPPORTED to 2.6.32 on ARM, now that we no longer
  have to support shonky 2.6.31 kernels on imx51 babbage builders.
* Drop patches/ubuntu/local-disable-nscd-host-caching.diff, as these
  issues were apparently resolved upstream a while ago (LP: #613662)
* Fix the compiled-in bug URL to point to launchpad.net, not Debian.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* Multiple versions of memset and bzero
 
2
   All versions must be listed in ifunc-impl-list.c.
2
3
   Copyright (C) 2010, 2011, 2012 Free Software Foundation, Inc.
3
4
   Contributed by David S. Miller (davem@davemloft.net)
4
5
   This file is part of the GNU C Library.
26
27
# ifdef SHARED
27
28
        SETUP_PIC_REG_LEAF(o3, o5)
28
29
# endif
29
 
        andcc   %o0, HWCAP_SPARC_BLKINIT, %g0
30
 
        be      9f
 
30
        set     HWCAP_SPARC_CRYPTO, %o1
 
31
        andcc   %o0, %o1, %g0
 
32
        be      1f
 
33
         andcc  %o0, HWCAP_SPARC_BLKINIT, %g0
 
34
# ifdef SHARED
 
35
        sethi   %gdop_hix22(__memset_niagara4), %o1
 
36
        xor     %o1, %gdop_lox10(__memset_niagara4), %o1
 
37
# else
 
38
        set     __memset_niagara4, %o1
 
39
# endif
 
40
        ba      10f
 
41
         nop
 
42
1:      be      9f
31
43
         nop
32
44
# ifdef SHARED
33
45
        sethi   %gdop_hix22(__memset_niagara1), %o1
57
69
# ifdef SHARED
58
70
        SETUP_PIC_REG_LEAF(o3, o5)
59
71
# endif
60
 
        andcc   %o0, HWCAP_SPARC_BLKINIT, %g0
61
 
        be      9f
 
72
        set     HWCAP_SPARC_CRYPTO, %o1
 
73
        andcc   %o0, %o1, %g0
 
74
        be      1f
 
75
         andcc  %o0, HWCAP_SPARC_BLKINIT, %g0
 
76
# ifdef SHARED
 
77
        sethi   %gdop_hix22(__bzero_niagara4), %o1
 
78
        xor     %o1, %gdop_lox10(__bzero_niagara4), %o1
 
79
# else
 
80
        set     __bzero_niagara4, %o1
 
81
# endif
 
82
        ba      10f
 
83
         nop
 
84
1:      be      9f
62
85
         nop
63
86
# ifdef SHARED
64
87
        sethi   %gdop_hix22(__bzero_niagara1), %o1