Hi Bob,
I totally agree with you. Any architecture dependent code should be always 
optional. The vector library I used came in two versions, a generic one and a 
SSE version. The usage of the SSE version, IMHO, must be explicitly indicated 
by a flag during the build.

Best Regards,
Lorenzo

> On 31 Jul 2017, at 16:45, Bob Friesenhahn <bfrie...@simple.dallas.tx.us> 
> wrote:
> 
> On Sun, 30 Jul 2017, Lorenzo Ridolfi wrote:
> 
>> There’s a lot of Vector Libraries that wrap the usage of SSE instructions. I 
>> used one of that libraries in a project long time a go and I could not find 
>> it. But the performance improvement was great.
> 
> As a lcms user, I would definitely prefer if lcms has no external 
> dependencies.
> 
> The ideal situation is if the C code is written in such a way that modern 
> optimizing compilers do the right thing by default and produce good code for 
> any CPU.  This should mean that the compilers automatically produce SSE code 
> where they should if it is enabled.
> 
> Bob
> -- 
> Bob Friesenhahn
> bfrie...@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
> GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Lcms-user mailing list
Lcms-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lcms-user

Reply via email to