BeeOnRope
BeeOnRope

Reputation: 65046

On which Intel CPUs can I use umonitor and umwait instructions?

These instructions are supported by CPU's with the WAITPKG CPUID bit, but what if any CPUs have that?

Upvotes: 3

Views: 1737

Answers (2)

Peter Cordes
Peter Cordes

Reputation: 365951

WAITPKG first appeared in low-power Tremont, the next generation after Goldmont Plus.

Later in Golden Cove cores in Sapphire Rapids (server) and Alder Lake (client).
ADL P-cores are Golden Cove, E-cores are Gracemont, so WAITPKG is part of the common subset of features and thus can be enabled, unlike AVX-512.

https://www.phoronix.com/news/GCC11-SapphireRapids-AlderLake confirms that Intel's GCC patches added the feature for -march=sapphirerapids and -march=alderlake

Upvotes: 1

Andreas Abel
Andreas Abel

Reputation: 1468

According to the Intel Architecture Instruction Set Extensions and Future Features Programming Reference, these instructions will be introduced with the Tremont microarchitecture.

Upvotes: 3

Related Questions