xflouris / libpll

Phylogenetic Likelihood Library
GNU Affero General Public License v3.0
27 stars 6 forks source link

use GCC's __builtin_cpu_supports which is nicer than cpuid #141

Closed tillea closed 7 years ago

tillea commented 7 years ago

Hi, there seem to be some portability issues when using cpuid. James Cowgill proposed a patch which enables building libpll for any architecture supported by Debian. Please consider applying it. Kind regards, Andreas.

xflouris commented 7 years ago

changed to __builtin_cpu_supports, but kept assembly code for gcc version (prior 4.8.0) that did not have builtins, and also for clang (prior 3.8.0).