mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-15 02:41:59 +00:00
63 lines
917 B
ArmAsm
63 lines
917 B
ArmAsm
# This file is generated from a similarly-named Perl script in the BoringSSL
|
|
# source tree. Do not edit by hand.
|
|
|
|
#if defined(__has_feature)
|
|
#if __has_feature(memory_sanitizer) && !defined(OPENSSL_NO_ASM)
|
|
#define OPENSSL_NO_ASM
|
|
#endif
|
|
#endif
|
|
|
|
#if defined(__x86_64__) && !defined(OPENSSL_NO_ASM)
|
|
#if defined(BORINGSSL_PREFIX)
|
|
#include <boringssl_prefix_symbols_asm.h>
|
|
#endif
|
|
.text
|
|
|
|
|
|
|
|
|
|
.globl _CRYPTO_rdrand
|
|
.private_extern _CRYPTO_rdrand
|
|
|
|
.p2align 4
|
|
_CRYPTO_rdrand:
|
|
|
|
xorq %rax,%rax
|
|
.byte 72,15,199,242
|
|
|
|
adcq %rax,%rax
|
|
movq %rdx,0(%rdi)
|
|
.byte 0xf3,0xc3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.globl _CRYPTO_rdrand_multiple8_buf
|
|
.private_extern _CRYPTO_rdrand_multiple8_buf
|
|
|
|
.p2align 4
|
|
_CRYPTO_rdrand_multiple8_buf:
|
|
|
|
testq %rsi,%rsi
|
|
jz L$out
|
|
movq $8,%rdx
|
|
L$loop:
|
|
.byte 72,15,199,241
|
|
jnc L$err
|
|
movq %rcx,0(%rdi)
|
|
addq %rdx,%rdi
|
|
subq %rdx,%rsi
|
|
jnz L$loop
|
|
L$out:
|
|
movq $1,%rax
|
|
.byte 0xf3,0xc3
|
|
L$err:
|
|
xorq %rax,%rax
|
|
.byte 0xf3,0xc3
|
|
|
|
|
|
#endif
|