Date: Fri, 17 Jun 2011 21:41:06 +0000 (UTC) From: Jung-uk Kim <jkim@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/x86/x86 tsc.c Message-ID: <201106172141.p5HLfKcV004006@repoman.freebsd.org>
index | next in thread | raw e-mail
jkim 2011-06-17 21:41:06 UTC
FreeBSD src repository
Modified files:
sys/x86/x86 tsc.c
Log:
SVN rev 223211 on 2011-06-17 21:41:06Z by jkim
Teach the compiler how to shift TSC value efficiently. As noted in r220631,
some times compiler inserts redundant instructions to preserve unused upper
32 bits even when it is casted to a 32-bit value. Unfortunately, it seems
the problem becomes more serious when it is shifted, especially on amd64.
Revision Changes Path
1.24 +5 -2 src/sys/x86/x86/tsc.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201106172141.p5HLfKcV004006>
