Skip to content
Snippets Groups Projects
Commit 0e3a5514 authored by tibbe's avatar tibbe Committed by Austin Seipp
Browse files

Follow hs_popcntX changes in ghc-prim

(cherry picked from commit 1a63f17f)
parent 46cfa8eb
No related merge requests found
...@@ -22,14 +22,14 @@ StgWord64 hs_bswap64(StgWord64 x); ...@@ -22,14 +22,14 @@ StgWord64 hs_bswap64(StgWord64 x);
/* TODO: longlong.c */ /* TODO: longlong.c */
/* libraries/ghc-prim/cbits/popcnt.c */ /* libraries/ghc-prim/cbits/popcnt.c */
StgWord hs_popcnt8(StgWord8 x); StgWord hs_popcnt8(StgWord x);
StgWord hs_popcnt16(StgWord16 x); StgWord hs_popcnt16(StgWord x);
StgWord hs_popcnt32(StgWord32 x); StgWord hs_popcnt32(StgWord x);
StgWord hs_popcnt64(StgWord64 x); StgWord hs_popcnt64(StgWord64 x);
#ifdef i386_HOST_ARCH #ifdef i386_HOST_ARCH
StgWord hs_popcnt(StgWord32 x); StgWord hs_popcnt(StgWord x);
#else #else
StgWord hs_popcnt(StgWord64 x); StgWord hs_popcnt(StgWord x);
#endif #endif
/* libraries/ghc-prim/cbits/word2float.c */ /* libraries/ghc-prim/cbits/word2float.c */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment