mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-12 14:09:28 +00:00
HPL1: Do not attempt compiling x86/amd64 assembly on other architectures
This commit is contained in:
parent
dc7e6a5282
commit
610cef76cd
@ -176,7 +176,7 @@ dgCpuClass dgApi dgGetCpuType() {
|
||||
|
||||
}
|
||||
|
||||
#else
|
||||
#elif defined(HAVE_X86) || defined(HAVE_AMD64)
|
||||
/* #define cpuid(func,ax,bx,cx,dx) __asm__ __volatile__ ("cpuid": "=a" (ax), "=b" (bx), "=c" (cx), "=d" (dx) : "a" (func)); */
|
||||
|
||||
void cpuid(dgUnsigned32 op, dgUnsigned32 reg[4]) {
|
||||
@ -223,6 +223,14 @@ dgCpuClass dgApi dgGetCpuType() {
|
||||
|
||||
return dgNoSimdPresent;
|
||||
}
|
||||
|
||||
#else // defined(HAVE_X86) || defined(HAVE_AMD64)
|
||||
|
||||
dgCpuClass dgApi dgGetCpuType() {
|
||||
return dgNoSimdPresent;
|
||||
}
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
static inline dgInt32 cmp_vertex(const dgFloat64 *const v1,
|
||||
|
Loading…
x
Reference in New Issue
Block a user