Re: Yet another handmade POPCNT

  • Follow


On Saturday, February 19, 2011 7:04:01 AM UTC-6, Bob Masta wrote:
> I seem to recall finding that QueryPerformanceCounter
> returns results similar to RDTSC on XP and later.

I just stepped through the assembly code generated in Windows XP and Visual Studio 2008.  The function makes a call into the OS with SYSENTER, and returns with the values in registers.  It also goes through several indirect layers of calling to get there.

- Rick C. Hodgin
0
Reply Rick 2/20/2011 12:36:14 AM


0 Replies
289 Views

(page loaded in 0.142 seconds)

Similiar Articles:




7/28/2012 3:46:54 PM


Reply: