Page MenuHomeFreeBSD

x86: cpufunc: Add rdtscp_aux()
ClosedPublic

Authored by adam_fenn.io on Aug 5 2021, 2:16 AM.
Tags
None
Referenced Files
F155010952: D31415.diff
Thu, Apr 30, 4:22 PM
Unknown Object (File)
Tue, Apr 28, 11:12 PM
Unknown Object (File)
Tue, Apr 28, 11:06 PM
Unknown Object (File)
Mon, Apr 27, 4:02 PM
Unknown Object (File)
Thu, Apr 23, 4:14 AM
Unknown Object (File)
Fri, Apr 10, 1:21 AM
Unknown Object (File)
Mon, Apr 6, 5:43 AM
Unknown Object (File)
Mon, Apr 6, 5:17 AM

Details

Summary

Add a variant of rdtscp() that retains and returns the IA32_TSC_AUX
value read by rdtscp.

Test Plan

Tested as part of testing D29733.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 40876
Build 37765: arc lint + arc unit

Event Timeline

adam_fenn.io held this revision as a draft.
This revision is now accepted and ready to land.Aug 5 2021, 1:39 PM
markj added inline comments.
sys/i386/include/cpufunc.h
412

Why not use the =A constraint here like the other intrinsics do?

This revision now requires review to proceed.Aug 5 2021, 10:41 PM
This revision is now accepted and ready to land.Aug 5 2021, 11:09 PM
This revision was automatically updated to reflect the committed changes.