Page MenuHomeFreeBSD

x86: cpufunc: Add rdtscp_aux()
ClosedPublic

Authored by adam_fenn.io on Aug 5 2021, 2:16 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 11, 7:05 AM
Unknown Object (File)
Thu, Apr 11, 7:02 AM
Unknown Object (File)
Mon, Apr 8, 4:48 AM
Unknown Object (File)
Mon, Apr 1, 9:43 PM
Unknown Object (File)
Mar 15 2024, 12:37 PM
Unknown Object (File)
Feb 11 2024, 2:31 AM
Unknown Object (File)
Jan 14 2024, 6:55 AM
Unknown Object (File)
Dec 21 2023, 8:02 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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.