[GHC] #7860: Add more bit fiddling functions to 'integer-gmp'

GHC ghc-devs at haskell.org
Wed Nov 26 16:13:21 UTC 2014


#7860: Add more bit fiddling functions to 'integer-gmp'
-------------------------------------+-------------------------------------
              Reporter:  lebedev     |            Owner:
                  Type:  feature     |           Status:  new
  request                            |        Milestone:
              Priority:  normal      |          Version:  7.6.3
             Component:  Core        |         Keywords:  gmp
  Libraries                          |     Architecture:  Unknown/Multiple
            Resolution:              |       Difficulty:  Unknown
      Operating System:              |       Blocked By:
  Unknown/Multiple                   |  Related Tickets:  #3489, 9835
       Type of failure:              |
  None/Unknown                       |
             Test Case:              |
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------

Comment (by hvr):

 `integer-gmp2` does in fact already have a popcount primop (and it's used
 by `Integer` and `Natural`)

 Fwiw, I'm planning to implement set/clearbit for integer-gmp2, at the
 latest for GHC 7.12

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/7860#comment:15>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list