Merge branch 'master' of https://github.com/xenia-project/xenia into canary_experimental
This commit is contained in:
@@ -28,6 +28,7 @@ DEFINE_int64(x64_extension_mask, -1LL,
|
||||
" 512 = AVX512VL\n"
|
||||
" 1024 = AVX512BW\n"
|
||||
" 2048 = AVX512DQ\n"
|
||||
" 4096 = AVX512VBMI\n"
|
||||
" -1 = Detect and utilize all possible processor features\n",
|
||||
"x64");
|
||||
namespace xe {
|
||||
|
||||
@@ -28,13 +28,14 @@ enum X64FeatureFlags : uint64_t {
|
||||
|
||||
kX64EmitAVX512BW = 1 << 10,
|
||||
kX64EmitAVX512DQ = 1 << 11,
|
||||
kX64EmitAVX512VBMI = 1 << 12,
|
||||
|
||||
kX64EmitAVX512Ortho = kX64EmitAVX512F | kX64EmitAVX512VL,
|
||||
kX64EmitAVX512Ortho64 = kX64EmitAVX512Ortho | kX64EmitAVX512DQ,
|
||||
kX64FastJrcx = 1 << 12, // jrcxz is as fast as any other jump ( >= Zen1)
|
||||
kX64FastJrcx = 1 << 13, // jrcxz is as fast as any other jump ( >= Zen1)
|
||||
kX64FastLoop =
|
||||
1 << 13, // loop/loope/loopne is as fast as any other jump ( >= Zen2)
|
||||
kX64EmitAVX512VBMI = 1 << 14,
|
||||
1 << 14, // loop/loope/loopne is as fast as any other jump ( >= Zen2)
|
||||
|
||||
kX64FlagsIndependentVars =
|
||||
1 << 15, // if true, instructions that only modify some flags (like
|
||||
// inc/dec) do not introduce false dependencies on EFLAGS
|
||||
@@ -54,7 +55,7 @@ uint64_t GetFeatureFlags();
|
||||
XE_COLD
|
||||
void InitFeatureFlags();
|
||||
|
||||
}
|
||||
} // namespace amd64
|
||||
} // namespace xe
|
||||
|
||||
#endif // XENIA_BASE_PLATFORM_AMD64_H_
|
||||
|
||||
Reference in New Issue
Block a user