darcs patch: UNDO: Inline shift in GHC's Bits instanc... (and 1 more)

Samuel Bronson naesten at gmail.com
Thu Oct 12 09:13:03 EDT 2006

Sun Oct  8 22:09:06 EDT 2006  Samuel Bronson <naesten at gmail.com>
  UNDO: Inline shift in GHC's Bits instances for {Int,Word}{,8,16,32,64}

Goes with my inliner patch.

Thu Oct 12 08:55:53 EDT 2006  Samuel Bronson <naesten at gmail.com>
  * Use unchecked shifts to implement Data.Bits.rotate
  This should get rid of those cases, maybe lower the size enough that the inliner will like it?

Should make Data.Bits.rotate much more attractive to the inliner,
especially for Word types. (Zaps two redundant cases, *and* gets rid
of all lets for Word types. Unfortunately the Int types still have
lets for the call to int2Word#... probably this is not good, since
that doesn't actually do work!)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-darcs-patch
Size: 39110 bytes
Desc: A darcs patch for your repository!
Url : http://www.haskell.org/pipermail/libraries/attachments/20061012/a9f31ad1/attachment-0001.bin

More information about the Libraries mailing list