security/nss/lib/freebl/ret_cr16.s

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/security/nss/lib/freebl/ret_cr16.s	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,27 @@
     1.4 +/* This Source Code Form is subject to the terms of the Mozilla Public
     1.5 + * License, v. 2.0. If a copy of the MPL was not distributed with this
     1.6 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     1.7 +
     1.8 +#ifdef __LP64__
     1.9 +        .LEVEL   2.0W
    1.10 +#else
    1.11 +        .LEVEL   1.1
    1.12 +#endif
    1.13 +
    1.14 +	.CODE	; equivalent to the following two lines
    1.15 +;       .SPACE   $TEXT$,SORT=8
    1.16 +;       .SUBSPA  $CODE$,QUAD=0,ALIGN=4,ACCESS=0x2c,CODE_ONLY,SORT=24
    1.17 +
    1.18 +ret_cr16
    1.19 +	.PROC
    1.20 +	.CALLINFO 	FRAME=0, NO_CALLS
    1.21 +	.EXPORT 	ret_cr16,ENTRY
    1.22 +	.ENTRY
    1.23 +;	BV		%r0(%rp)
    1.24 +	BV		0(%rp)
    1.25 +	MFCTL		%cr16,%ret0
    1.26 +        BV %r0(%rp)
    1.27 +        .EXIT
    1.28 +        NOP
    1.29 +        .PROCEND
    1.30 +        .END

mercurial