1 # Copyright (c) 2011-2012, Andy Polyakov <appro@openssl.org>
4 # Redistribution and use in source and binary forms, with or without
5 # modification, are permitted provided that the following conditions
8 # * Redistributions of source code must retain copyright notices,
9 # this list of conditions and the following disclaimer.
11 # * Redistributions in binary form must reproduce the above
12 # copyright notice, this list of conditions and the following
13 # disclaimer in the documentation and/or other materials
14 # provided with the distribution.
16 # * Neither the name of the Andy Polyakov nor the names of its
17 # copyright holder and contributors may be used to endorse or
18 # promote products derived from this software without specific
19 # prior written permission.
21 # ALTERNATIVELY, provided that this notice is retained in full, this
22 # product may be distributed under the terms of the GNU General Public
23 # License (GPL), in which case the provisions of the GPL apply INSTEAD OF
26 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS
27 # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
28 # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
29 # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
30 # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
31 # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
32 # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
33 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
34 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
35 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
36 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
38 # *** This file is auto-generated ***
41 .private_extern _OPENSSL_cpuid_setup
44 .quad _OPENSSL_cpuid_setup
46 .private_extern __gnutls_x86_cpuid_s
47 .comm __gnutls_x86_cpuid_s,16,2
51 .globl _OPENSSL_atomic_add
56 L$spin: leaq (%rsi,%rax,1),%r8
75 .globl _OPENSSL_ia32_cpuid
101 cmpl $1769238117,%edx
104 cmpl $1145913699,%ecx
110 movl $2147483648,%eax
112 cmpl $2147483649,%eax
115 movl $2147483649,%eax
120 cmpl $2147483656,%r10d
123 movl $2147483656,%eax
135 andl $4026531839,%edx
161 andl $3220176895,%edx
172 andl $4026531839,%edx
180 andl $4026531839,%edx
183 andl $4294965247,%ecx
195 movl $4026525695,%eax
197 andl $4294967263,8(%rdi)
206 .globl _OPENSSL_cleanse
240 .globl _OPENSSL_wipe_cpu
271 .globl _OPENSSL_instrument_bus
274 _OPENSSL_instrument_bus:
303 .globl _OPENSSL_instrument_bus2
306 _OPENSSL_instrument_bus2:
342 leaq (%r10,%rdx,4),%r10
350 .globl _OPENSSL_ia32_rdrand
353 _OPENSSL_ia32_rdrand:
365 .section .note.GNU-stack,"",%progbits