Simd instructions

Kai Nacke kai at
Mon Jul 22 22:24:48 PDT 2013

On Thursday, 18 July 2013 at 21:30:12 UTC, bearophile wrote:
> jerro:
>> Try adding flag -mattr=sse3.
> Now it's accepted, thank you. So is LDC2 assuming a very old 
> CPU? :-)
> Bye,
> bearophile


the behaviour was changed because you can't create a generic 
package if you optimize for your CPU.

But the change created other problems, see issue #414 

With LLVM 3.3, the auto vectorizer is not enabled. You have to 
specify -vectorize on the command line. Maybe you want to try 
that with your original code.


More information about the digitalmars-d-ldc mailing list