1 #include <machine/asm.h>
3 .globl OPENSSL_ia32_cpuid
4 .type OPENSSL_ia32_cpuid,@function
7 .L_OPENSSL_ia32_cpuid_begin:
106 andl $4026531839,%edx
109 andl $4294965247,%ecx
122 andl $4261412861,%ebp
123 andl $4278190079,%esi
125 andl $4026525695,%ebp
135 .size OPENSSL_ia32_cpuid,.-.L_OPENSSL_ia32_cpuid_begin
137 .type OPENSSL_rdtsc,@function
140 .L_OPENSSL_rdtsc_begin:
146 leal _GLOBAL_OFFSET_TABLE_+[.-.L008PIC_me_up](%ecx),%ecx
147 movl OPENSSL_ia32cap_P@GOT(%ecx),%ecx
153 .size OPENSSL_rdtsc,.-.L_OPENSSL_rdtsc_begin
154 .globl OPENSSL_instrument_halt
155 .type OPENSSL_instrument_halt,@function
157 OPENSSL_instrument_halt:
158 .L_OPENSSL_instrument_halt_begin:
162 leal _GLOBAL_OFFSET_TABLE_+[.-.L010PIC_me_up](%ecx),%ecx
163 movl OPENSSL_ia32cap_P@GOT(%ecx),%ecx
186 .size OPENSSL_instrument_halt,.-.L_OPENSSL_instrument_halt_begin
187 .globl OPENSSL_far_spin
188 .type OPENSSL_far_spin,@function
191 .L_OPENSSL_far_spin_begin:
213 .size OPENSSL_far_spin,.-.L_OPENSSL_far_spin_begin
214 .globl OPENSSL_wipe_cpu
215 .type OPENSSL_wipe_cpu,@function
218 .L_OPENSSL_wipe_cpu_begin:
224 leal _GLOBAL_OFFSET_TABLE_+[.-.L014PIC_me_up](%ecx),%ecx
225 movl OPENSSL_ia32cap_P@GOT(%ecx),%ecx
241 .long 4007259865,4007259865,4007259865,4007259865,2430851995
245 .size OPENSSL_wipe_cpu,.-.L_OPENSSL_wipe_cpu_begin
246 .globl OPENSSL_atomic_add
247 .type OPENSSL_atomic_add,@function
250 .L_OPENSSL_atomic_add_begin:
257 leal (%eax,%ecx,1),%ebx
264 .size OPENSSL_atomic_add,.-.L_OPENSSL_atomic_add_begin
265 .globl OPENSSL_indirect_call
266 .type OPENSSL_indirect_call,@function
268 OPENSSL_indirect_call:
269 .L_OPENSSL_indirect_call_begin:
291 .size OPENSSL_indirect_call,.-.L_OPENSSL_indirect_call_begin
292 .globl OPENSSL_cleanse
293 .type OPENSSL_cleanse,@function
296 .L_OPENSSL_cleanse_begin:
328 .size OPENSSL_cleanse,.-.L_OPENSSL_cleanse_begin
329 .globl OPENSSL_ia32_rdrand
330 .type OPENSSL_ia32_rdrand,@function
333 .L_OPENSSL_ia32_rdrand_begin:
343 .size OPENSSL_ia32_rdrand,.-.L_OPENSSL_ia32_rdrand_begin
344 .comm OPENSSL_ia32cap_P,8,4
347 call PIC_PLT(OPENSSL_cpuid_setup)