basil00 / Fathom

Syzygy TB probe tool.
MIT License
17 stars 26 forks source link

Fixes for handing of popcnt and for compilation on non-x86 architectures #12

Open jdart1 opened 8 years ago

jdart1 commented 8 years ago

Always use TB_CUSTOM_POP_COUNT if defined. If not defined and if also TB_NO_HW_POP_COUNT is not defined, use a x86 hardware instruction, but only if on a recognized compiler/architecture that has one. Fixes issue #9 (ARM compatibility).

jdart1 commented 7 years ago

Is there a reason not to merge this? I think without this pull request the code is not really portable to non-x86 architectures. But I am open to other ways of fixing that.

basil00 commented 7 years ago

Sorry about that. The change did require me to check some things, which I never got around to. There is a backlog of changes needed for Fathom that I currently have little time for.