Page MenuHomeFreeBSD

x86: cpufunc: Add rdtscp_aux()
ClosedPublic

Authored by adam_fenn.io on Aug 5 2021, 2:16 AM.
Tags
None
Referenced Files
F84311788: D31415.id93674.diff
Wed, May 22, 4:39 AM
F84310423: D31415.diff
Wed, May 22, 4:12 AM
Unknown Object (File)
Thu, May 16, 12:15 AM
Unknown Object (File)
Wed, May 15, 8:14 PM
Unknown Object (File)
Wed, May 8, 6:26 PM
Unknown Object (File)
Wed, May 1, 4:27 PM
Unknown Object (File)
Sun, Apr 28, 2:26 AM
Unknown Object (File)
Sat, Apr 27, 2:20 PM

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 40859
Build 37748: 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.