diff options
Diffstat (limited to 'src/lib/libcrypto/x86cpuid.pl')
-rw-r--r-- | src/lib/libcrypto/x86cpuid.pl | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/lib/libcrypto/x86cpuid.pl b/src/lib/libcrypto/x86cpuid.pl index 169036d53d..47df147a83 100644 --- a/src/lib/libcrypto/x86cpuid.pl +++ b/src/lib/libcrypto/x86cpuid.pl | |||
@@ -257,18 +257,6 @@ for (@ARGV) { $sse2=1 if (/-DOPENSSL_IA32_SSE2/); } | |||
257 | &ret (); | 257 | &ret (); |
258 | &function_end_B("OPENSSL_atomic_add"); | 258 | &function_end_B("OPENSSL_atomic_add"); |
259 | 259 | ||
260 | &function_begin_B("OPENSSL_ia32_rdrand"); | ||
261 | &mov ("ecx",8); | ||
262 | &set_label("loop"); | ||
263 | &rdrand ("eax"); | ||
264 | &jc (&label("break")); | ||
265 | &loop (&label("loop")); | ||
266 | &set_label("break"); | ||
267 | &cmp ("eax",0); | ||
268 | &cmove ("eax","ecx"); | ||
269 | &ret (); | ||
270 | &function_end_B("OPENSSL_ia32_rdrand"); | ||
271 | |||
272 | &initseg("OPENSSL_cpuid_setup"); | 260 | &initseg("OPENSSL_cpuid_setup"); |
273 | 261 | ||
274 | &asm_finish(); | 262 | &asm_finish(); |