Re: Old O'Reilly X books

2010-08-26 Thread Pat Kane
I'd love to have another copy of The X Window System Server X Version 11, Release 5 By Elias Israel and Erik Fortune and copy of the Maroon X bible (Digital Press?) would be nice too. The only interesting dead trees that I have to trade is an old xerox copy of HAKMEM (AI Memo 239)

Re: Old O'Reilly X books

2010-08-26 Thread Pat Kane
BTW, while trying to grep my dead trees I noticed that the current X server contains some HAKMEM code, in ./mi/micmap.c I see this hack: ... count = (visuals 1) 0333; count = visuals - count - ((count 1) 0333); count = (((count + (count 3)) 030707070707) %

Re: Old O'Reilly X books

2010-08-26 Thread Aaron Plattner
On Thu, Aug 26, 2010 at 05:43:53AM -0700, Pat Kane wrote: BTW, while trying to grep my dead trees I noticed that the current X server contains some HAKMEM code, in ./mi/micmap.c I see this hack: ... count = (visuals 1) 0333; count = visuals - count - ((count 1)

Re: Old O'Reilly X books

2010-08-26 Thread Pat Kane
The XTS test suite has a bit count routine http://cgit.freedesktop.org/xorg/test/xts/tree/xts5/src/lib/bitcount.c that has a nice comment to explain what it is doing, could you bench mark it? Pat --- Here is the code: /* * Explanation: * First we add 32 1-bit fields to get 16 2-bit fields.

Re: Old O'Reilly X books

2010-08-26 Thread Matt Turner
On Thu, Aug 26, 2010 at 11:11 AM, Aaron Plattner aplatt...@nvidia.com wrote: On Thu, Aug 26, 2010 at 05:43:53AM -0700, Pat Kane wrote: BTW, while trying to grep my dead trees I noticed that the current X server contains some HAKMEM code, in ./mi/micmap.c I see this hack:     ...     count =

Re: Old O'Reilly X books

2010-08-26 Thread Aaron Plattner
On Thu, Aug 26, 2010 at 11:57:27AM -0700, Pat Kane wrote: On Thu, Aug 26, 2010 at 10:11 AM, Aaron Plattner aplatt...@nvidia.com wrote: On Thu, Aug 26, 2010 at 05:43:53AM -0700, Pat Kane wrote: BTW, while trying to grep my dead trees I noticed that the current X server contains some HAKMEM

Re: Old O'Reilly X books

2010-08-26 Thread Alan Coopersmith
Pat Kane wrote: I'd love to have another copy of The X Window System Server X Version 11, Release 5 By Elias Israel and Erik Fortune and copy of the Maroon X bible (Digital Press?) would be nice too. Sorry, I don't have any more of those. I did collect a sizable pile of the