mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-15 12:14:18 +00:00
64 lines
1.1 KiB
ArmAsm
64 lines
1.1 KiB
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
|
|
.hidden CRYPTO_rdrand
|
|
.type CRYPTO_rdrand,@function
|
|
.align 16
|
|
CRYPTO_rdrand:
|
|
.cfi_startproc
|
|
xorq %rax,%rax
|
|
.byte 72,15,199,242
|
|
|
|
adcq %rax,%rax
|
|
movq %rdx,0(%rdi)
|
|
.byte 0xf3,0xc3
|
|
.cfi_endproc
|
|
.size CRYPTO_rdrand,.-CRYPTO_rdrand
|
|
|
|
|
|
|
|
|
|
|
|
.globl CRYPTO_rdrand_multiple8_buf
|
|
.hidden CRYPTO_rdrand_multiple8_buf
|
|
.type CRYPTO_rdrand_multiple8_buf,@function
|
|
.align 16
|
|
CRYPTO_rdrand_multiple8_buf:
|
|
.cfi_startproc
|
|
testq %rsi,%rsi
|
|
jz .Lout
|
|
movq $8,%rdx
|
|
.Lloop:
|
|
.byte 72,15,199,241
|
|
jnc .Lerr
|
|
movq %rcx,0(%rdi)
|
|
addq %rdx,%rdi
|
|
subq %rdx,%rsi
|
|
jnz .Lloop
|
|
.Lout:
|
|
movq $1,%rax
|
|
.byte 0xf3,0xc3
|
|
.Lerr:
|
|
xorq %rax,%rax
|
|
.byte 0xf3,0xc3
|
|
.cfi_endproc
|
|
.size CRYPTO_rdrand_multiple8_buf,.-CRYPTO_rdrand_multiple8_buf
|
|
#endif
|
|
.section .note.GNU-stack,"",@progbits
|