build: Rename 64bit to x86_64

This commit is contained in:
Hennadii Stepanov
2023-05-12 10:50:18 +01:00
parent 03246457a8
commit c6bb29b303
4 changed files with 13 additions and 13 deletions

View File

@@ -1,6 +1,6 @@
include(CheckCSourceCompiles)
function(check_64bit_assembly)
function(check_x86_64_assembly)
check_c_source_compiles("
#include <stdint.h>
@@ -9,6 +9,6 @@ function(check_64bit_assembly)
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)
" HAVE_X86_64_ASM)
set(HAVE_X86_64_ASM ${HAVE_X86_64_ASM} PARENT_SCOPE)
endfunction()