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 ***
42 .globl _OPENSSL_ia32_cpuid
45 L_OPENSSL_ia32_cpuid_begin:
112 andl $4026531839,%edx
136 andl $3220176895,%edx
147 andl $4026531839,%edx
154 andl $4026531839,%edx
157 andl $4294965247,%ecx
170 andl $4261412861,%ebp
171 andl $4278190079,%esi
173 andl $4026525695,%ebp
175 andl $4294967263,8(%edi)
185 .globl _OPENSSL_rdtsc
188 L_OPENSSL_rdtsc_begin:
194 movl L__gnutls_x86_cpuid_s$non_lazy_ptr-L009PIC_me_up(%ecx),%ecx
200 .globl _OPENSSL_instrument_halt
202 _OPENSSL_instrument_halt:
203 L_OPENSSL_instrument_halt_begin:
207 movl L__gnutls_x86_cpuid_s$non_lazy_ptr-L011PIC_me_up(%ecx),%ecx
230 .globl _OPENSSL_far_spin
233 L_OPENSSL_far_spin_begin:
255 .globl _OPENSSL_wipe_cpu
258 L_OPENSSL_wipe_cpu_begin:
264 movl L__gnutls_x86_cpuid_s$non_lazy_ptr-L015PIC_me_up(%ecx),%ecx
268 .long 4007259865,4007259865,4007259865,4007259865,2430851995
272 .globl _OPENSSL_atomic_add
275 L_OPENSSL_atomic_add_begin:
282 leal (%eax,%ecx,1),%ebx
289 .globl _OPENSSL_indirect_call
291 _OPENSSL_indirect_call:
292 L_OPENSSL_indirect_call_begin:
314 .globl _OPENSSL_cleanse
317 L_OPENSSL_cleanse_begin:
349 .globl _OPENSSL_instrument_bus
351 _OPENSSL_instrument_bus:
352 L_OPENSSL_instrument_bus_begin:
363 .globl _OPENSSL_instrument_bus2
365 _OPENSSL_instrument_bus2:
366 L_OPENSSL_instrument_bus2_begin:
377 .globl _OPENSSL_ia32_rdrand
379 _OPENSSL_ia32_rdrand:
380 L_OPENSSL_ia32_rdrand_begin:
390 .section __IMPORT,__pointers,non_lazy_symbol_pointers
391 L__gnutls_x86_cpuid_s$non_lazy_ptr:
392 .indirect_symbol __gnutls_x86_cpuid_s
394 .comm __gnutls_x86_cpuid_s,16,2
397 .long _OPENSSL_cpuid_setup
399 .section .note.GNU-stack,"",%progbits