mirror of
https://github.com/eosswedenorg/libantelope
synced 2026-08-30 15:18:13 +02:00
move vendor/secp256k1-0.3.0 to vendor/secp256k1/repo
This commit is contained in:
parent
e8ee3fc0de
commit
9587586968
132 changed files with 0 additions and 0 deletions
14
vendor/secp256k1/repo/cmake/Check64bitAssembly.cmake
vendored
Normal file
14
vendor/secp256k1/repo/cmake/Check64bitAssembly.cmake
vendored
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
include(CheckCSourceCompiles)
|
||||
|
||||
function(check_64bit_assembly)
|
||||
check_c_source_compiles("
|
||||
#include <stdint.h>
|
||||
|
||||
int main()
|
||||
{
|
||||
uint64_t a = 11, tmp;
|
||||
__asm__ __volatile__(\"movq $0x100000000,%1; mulq %%rsi\" : \"+a\"(a) : \"S\"(tmp) : \"cc\", \"%rdx\");
|
||||
}
|
||||
" HAS_64BIT_ASM)
|
||||
set(HAS_64BIT_ASM ${HAS_64BIT_ASM} PARENT_SCOPE)
|
||||
endfunction()
|
||||
Loading…
Add table
Add a link
Reference in a new issue