We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 30e4506 commit e7e905eCopy full SHA for e7e905e
1 file changed
cpuid.go
@@ -454,7 +454,7 @@ func (c CPUInfo) CX16() bool {
454
// TSX is split into HLE (Hardware Lock Elision) and RTM (Restricted Transactional Memory) detection.
455
// So TSX simply checks that.
456
func (c CPUInfo) TSX() bool {
457
- return c.Features&(MPX|RTM) == MPX|RTM
+ return c.Features&(HLE|RTM) == HLE|RTM
458
}
459
460
// Atom indicates an Atom processor
0 commit comments