[Debian-med-packaging] SSE3 issue with iqtree when trying to enable i386 (Was: Help with new version of iqtree needed)

Andreas Tille tille at debian.org
Fri Mar 11 22:20:23 UTC 2016


On Fri, Mar 11, 2016 at 02:36:31PM +0100, Bui Quang Minh wrote:
> 
> 1. We require to compile with gcc 4.6 at least (the version that supports AVX). We would not support older gcc, as this needs too much work, and the binary code would run much slower than compiled with newer gcc.

Debian will release with gcc 6.0 - so we are not talking about any older gcc.
 
> 2. At runtime, IQ-TREE will detect the instruction set, and decide which kernel to use. Right now IQ-TREE selects between SSE3 or AVX kernel. What is missing currently, is that it does not switch to non-SSE kernel (though this kernel is already there) if the machine does not support SSE3. Thus, what we can do, is to implement this switch.
> 
> What do you think about this solution?

That's perfect.  A runtime detection is always the best way to go.  The
only problem might be that some architectures do not know SSE3 at build
time and the code needs to compile also under this conditions.

Kind regards

       Andreas.

-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list