mirror of
https://github.com/asmjit/asmjit.git
synced 2025-12-17 04:24:37 +03:00
Fix compilation with ICC (17.0.1) (#150)
This commit is contained in:
committed by
Petr Kobalicek
parent
b7f6d1e369
commit
dc0ccfd74c
@@ -637,7 +637,7 @@
|
||||
# endif
|
||||
# endif
|
||||
# else
|
||||
# if ASMJIT_CC_CLANG || ASMJIT_CC_GCC_GE(4, 0, 0)
|
||||
# if ASMJIT_CC_CLANG || ASMJIT_CC_GCC_GE(4, 0, 0) || ASMJIT_CC_INTEL
|
||||
# define ASMJIT_API __attribute__((__visibility__("default")))
|
||||
# endif
|
||||
# endif
|
||||
|
||||
@@ -287,7 +287,7 @@ static void ASMJIT_INLINE x86CallCpuId(CpuIdResult* result, uint32_t inEax, uint
|
||||
: "a"(inEax),
|
||||
"c"(inEcx)
|
||||
);
|
||||
#elif (ASMJIT_CC_GCC || ASMJIT_CC_CLANG) && ASMJIT_ARCH_X64
|
||||
#elif (ASMJIT_CC_GCC || ASMJIT_CC_CLANG || ASMJIT_CC_INTEL) && ASMJIT_ARCH_X64
|
||||
__asm__ __volatile__( \
|
||||
"mov %%rbx, %%rdi\n"
|
||||
"cpuid\n"
|
||||
|
||||
Reference in New Issue
Block a user