ghc-prim: Use population count appropriate for platform
authorBen Gamari <bgamari.foss@gmail.com>
Tue, 21 Oct 2014 20:00:02 +0000 (15:00 -0500)
committerAustin Seipp <austin@well-typed.com>
Tue, 21 Oct 2014 20:00:02 +0000 (15:00 -0500)
commit9f29e032a0a0fa3f7685d8e3553cc64e33cc317d
treefded7f341bf35de8a69fc413779bb9a6ba8afe32
parent2cc206505d248ac8c706aa85342a895857c9f091
ghc-prim: Use population count appropriate for platform

Summary:
This #ifdef was previously x86-centric and consequently the 64-bit
implementation was chosen for ARM.

Reviewers: rwbarton, hvr, austin, tibbe

Reviewed By: hvr, austin, tibbe

Subscribers: hvr, thomie, carter, ezyang, simonmar

Differential Revision: https://phabricator.haskell.org/D312
libraries/ghc-prim/cbits/popcnt.c