summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include/minidump.h
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2011-04-14 16:53:32 +0000
committerjkim <jkim@FreeBSD.org>2011-04-14 16:53:32 +0000
commit7d94642dc23686950f47b7e3a616efae4a14e819 (patch)
treed733579d318c88789438b5f4908d2d64a6052216 /sys/amd64/include/minidump.h
parent89ffb7531942ac0a6cf7fc42157ea50d958b95e3 (diff)
downloadFreeBSD-src-7d94642dc23686950f47b7e3a616efae4a14e819.zip
FreeBSD-src-7d94642dc23686950f47b7e3a616efae4a14e819.tar.gz
Add a function rdtsc32() to read lower 32 bits from TSC and discard upper
32 bits. Some times compiler inserts unnecessary instructions to preserve unused upper 32 bits even when it is casted to a 32-bit value. It reduces such compiler mistakes where every cycle counts.
Diffstat (limited to 'sys/amd64/include/minidump.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud