diff options
author | Erik Kundiman <erik@megapahit.org> | 2023-09-19 17:18:01 +0800 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2023-09-19 17:18:01 +0800 |
commit | 9dc7a58993e73dfc595e0e077f14104574f441ed (patch) | |
tree | d0463e7f0a7ac34c5ca751b54d9e8d598e93978c /indra/llcommon/llprocessor.cpp | |
parent | 0147f812a54531242bfb3069ce85dcbc86f12947 (diff) |
Disable assembly instructions on non x86
at least for now.
Diffstat (limited to 'indra/llcommon/llprocessor.cpp')
-rw-r--r-- | indra/llcommon/llprocessor.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llcommon/llprocessor.cpp b/indra/llcommon/llprocessor.cpp index cfa85ac2fd..dab1c5bde1 100644 --- a/indra/llcommon/llprocessor.cpp +++ b/indra/llcommon/llprocessor.cpp @@ -742,12 +742,14 @@ private: : "0" (level)) #endif +#if __i386__ || __x86_64__ unsigned int eax, ebx, ecx, edx; __cpuid(0x1, eax, ebx, ecx, edx); if(feature_infos[0] != (S32)edx) { LL_ERRS() << "machdep.cpu.feature_bits doesn't match expected cpuid result!" << LL_ENDL; } +#endif // __i386__ || __x86_64__ #endif // LL_RELEASE_FOR_DOWNLOAD |