Remove libgcc_s_seh-1.dll dependency when targeting Win32 with gcc. (mono/mono#14251)
authorJay Krell <jay.krell@cornell.edu>
Sun, 28 Apr 2019 01:57:17 +0000 (18:57 -0700)
committerZoltan Varga <vargaz@gmail.com>
Sun, 28 Apr 2019 01:57:17 +0000 (21:57 -0400)
commit17635a714b8c242127460aafc68a5a79bd141c3a
tree8080fb2e60ae9ef515a1f8133aa4ee73e4f9ac06
parent638a4c61b259d559fe953c76394d31913f6f29c7
Remove libgcc_s_seh-1.dll dependency when targeting Win32 with gcc. (mono/mono#14251)

Don't use popcount intrinsic.
Alternative but not exactly contradictory to https://github.com/mono/mono/pull/14248.

Note that this is a single inlinable instruction on x86,
if you assume at least SSE4 from circa 2007, which I am avoiding here.

Commit migrated from https://github.com/mono/mono/commit/90a91429ae75240b4d0e791a563a9d553be09d56
src/mono/mono/sgen/sgen-marksweep.c
src/mono/mono/utils/monobitset.c