summaryrefslogtreecommitdiff
path: root/src/common/x64/cpu_detect.h
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2023-06-29 10:01:26 -0400
committerGitHub <noreply@github.com>2023-06-29 10:01:26 -0400
commit5e70db0d433054e18ab7432cafd2a87d68573642 (patch)
tree3ea86827d33b20a4083964feca7d7b532685efb9 /src/common/x64/cpu_detect.h
parent4c705db73edfa3c7210eb5821b3f4e5324d642d1 (diff)
parent295fc7d0f8f0b6158307c5c9b11a60516f9eb221 (diff)
Merge pull request #10935 from Morph1984/mwaitx
x64: Make use of monitorx instructions for power efficient sleeps (AMD)
Diffstat (limited to 'src/common/x64/cpu_detect.h')
-rw-r--r--src/common/x64/cpu_detect.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/x64/cpu_detect.h b/src/common/x64/cpu_detect.h
index 8253944d6..756459417 100644
--- a/src/common/x64/cpu_detect.h
+++ b/src/common/x64/cpu_detect.h
@@ -63,6 +63,7 @@ struct CPUCaps {
bool gfni : 1;
bool invariant_tsc : 1;
bool lzcnt : 1;
+ bool monitorx : 1;
bool movbe : 1;
bool pclmulqdq : 1;
bool popcnt : 1;