Re: [Mesa-dev] [PATCH] util: fix wrong shift val for a cpu feature detect

2013-03-06 Thread Matt Turner
On Wed, Mar 6, 2013 at 5:39 PM, Maxence Le Doré wrote: > While I was trying to understand how cpu features detection works, I noticed > that every was coherent except for the TSC ( Time Stamp Counter). I found > many pages on the net that suggest that the right value for the > corresponding shift

[Mesa-dev] [PATCH] util: fix wrong shift val for a cpu feature detect

2013-03-06 Thread Maxence Le Doré
While I was trying to understand how cpu features detection works, I noticed that every was coherent except for the TSC ( Time Stamp Counter). I found many pages on the net that suggest that the right value for the corresponding shift would be 4 and not 8. Even the commented bitfields that repr