February 02, 2014
I found that it is 3.4 from ldmd2 =)

On Sunday, 2 February 2014 at 21:22:13 UTC, Ilya Yaroshenko wrote:
> Hello Kai!
>
> What version of llvm is used in linux_x64 binaries?
>
> On Wednesday, 29 January 2014 at 07:24:16 UTC, Kai Nacke wrote:
>> Hi everyone!
>>
>> The first alpha release of LDC release 0.13.0 is here! It is based on the 2.064.2 front-end and LLVM 3.1-3.4 (OS X: LLVM 3.2/3.4 only).
>>
>> Please refer to the GitHub release page for the preliminary change log and the
>> package download links:
>> https://github.com/ldc-developers/ldc/releases/tag/v0.13.0-alpha1
>>
>> Important: This is an alpha version and contains known bugs. Be sure to read the section "Known bugs (release blocker)" in the preliminary change log.
>>
>> MD5 checksums for the release packages:
>>
>> 94d03baa5a48ed43cb3b713a3c9fc99a  ldc-0.13.0-alpha1-src.tar.gz
>> 60018c5b9cbe27821fcb15a2293479f1  ldc2-0.13.0-alpha1-linux-x86.tar.gz
>> 8c9ab4bde280db84c037cfa7b1144eb8  ldc2-0.13.0-alpha1-linux-x86.tar.xz
>> f2c464245be4d2a34fcd31ea6e903f9d  ldc2-0.13.0-alpha1-linux-x86_64.tar.gz
>> 6359c030afc6aaf74a3b6c7227d88007  ldc2-0.13.0-alpha1-linux-x86_64.tar.xz
>> 9c4903dc3ba9962c4ece95210eb2cff4  ldc2-0.13.0-alpha1-mingw-x86.7z
>> a1d0c45d1d46cb4ee9a3856869454891  ldc2-0.13.0-alpha1-mingw-x86.zip
>> 103f59a8f5743a8c5349dd9593a2d3fd  ldc2-0.13.0-alpha1-osx-x86_64.tar.gz
>> d42390ef6bab21eb634e6ecbb3170fb7  ldc2-0.13.0-alpha1-osx-x86_64.tar.xz
>>
>> As always, the Win32/MinGW packages require a recent version of the
>> mingw-w64 toolchain, see the (new) README file for details.
>>
>> There is no Win64/MSVC package because I found a severe bug in the Win64/MSVC
>> port. I hope to have this fixed for the alpha2 or beta1 release.
>>
>> Please be sure to report any bugs at
>> https://github.com/ldc-developers/ldc/issues, and feel free to drop by
>> at the digitalmars.D.ldc forums
>> (http://forum.dlang.org/group/digitalmars.D.ldc) for any questions or
>> comments.
>>
>> Thanks to everybody involved in making this happen!
>>
>> Regards,
>> Kai

February 02, 2014
How I can do auto-vectorization and loopunroling?

There is only -vectorize-slp but no -vectorize.

With
-O3 -release -disable-boundscheck -mcpu=native -vectorize-slp -mattr=avx
flags ldc2 produce code without AVX.

On Wednesday, 29 January 2014 at 07:24:16 UTC, Kai Nacke wrote:
> Hi everyone!
>
> The first alpha release of LDC release 0.13.0 is here! It is based on the 2.064.2 front-end and LLVM 3.1-3.4 (OS X: LLVM 3.2/3.4 only).
>
> Please refer to the GitHub release page for the preliminary change log and the
> package download links:
> https://github.com/ldc-developers/ldc/releases/tag/v0.13.0-alpha1
>
> Important: This is an alpha version and contains known bugs. Be sure to read the section "Known bugs (release blocker)" in the preliminary change log.
>
> MD5 checksums for the release packages:
>
> 94d03baa5a48ed43cb3b713a3c9fc99a  ldc-0.13.0-alpha1-src.tar.gz
> 60018c5b9cbe27821fcb15a2293479f1  ldc2-0.13.0-alpha1-linux-x86.tar.gz
> 8c9ab4bde280db84c037cfa7b1144eb8  ldc2-0.13.0-alpha1-linux-x86.tar.xz
> f2c464245be4d2a34fcd31ea6e903f9d  ldc2-0.13.0-alpha1-linux-x86_64.tar.gz
> 6359c030afc6aaf74a3b6c7227d88007  ldc2-0.13.0-alpha1-linux-x86_64.tar.xz
> 9c4903dc3ba9962c4ece95210eb2cff4  ldc2-0.13.0-alpha1-mingw-x86.7z
> a1d0c45d1d46cb4ee9a3856869454891  ldc2-0.13.0-alpha1-mingw-x86.zip
> 103f59a8f5743a8c5349dd9593a2d3fd  ldc2-0.13.0-alpha1-osx-x86_64.tar.gz
> d42390ef6bab21eb634e6ecbb3170fb7  ldc2-0.13.0-alpha1-osx-x86_64.tar.xz
>
> As always, the Win32/MinGW packages require a recent version of the
> mingw-w64 toolchain, see the (new) README file for details.
>
> There is no Win64/MSVC package because I found a severe bug in the Win64/MSVC
> port. I hope to have this fixed for the alpha2 or beta1 release.
>
> Please be sure to report any bugs at
> https://github.com/ldc-developers/ldc/issues, and feel free to drop by
> at the digitalmars.D.ldc forums
> (http://forum.dlang.org/group/digitalmars.D.ldc) for any questions or
> comments.
>
> Thanks to everybody involved in making this happen!
>
> Regards,
> Kai

February 03, 2014
Ilya Yaroshenko:

> There is only -vectorize-slp but no -vectorize.

Isn't -vectorize implicit in -O3 (Perhaps even in -O2)?

Bye,
bearophile
February 03, 2014
On Monday, 3 February 2014 at 00:12:08 UTC, bearophile wrote:
> Ilya Yaroshenko:
>
>> There is only -vectorize-slp but no -vectorize.
>
> Isn't -vectorize implicit in -O3 (Perhaps even in -O2)?
>
> Bye,
> bearophile

No, even with -03 -release =(.
February 03, 2014
On Monday, 3 February 2014 at 00:12:08 UTC, bearophile wrote:
> Ilya Yaroshenko:
>
>> There is only -vectorize-slp but no -vectorize.
>
> Isn't -vectorize implicit in -O3 (Perhaps even in -O2)?
>
> Bye,
> bearophile

No, even with -03 -release =(.

Best Regards,
Ilya
February 03, 2014
On Monday, 3 February 2014 at 07:37:50 UTC, Ilya Yaroshenko wrote:
> On Monday, 3 February 2014 at 00:12:08 UTC, bearophile wrote:
>> Ilya Yaroshenko:
>>
>>> There is only -vectorize-slp but no -vectorize.
>>
>> Isn't -vectorize implicit in -O3 (Perhaps even in -O2)?
>>
>> Bye,
>> bearophile
>
> No, even with -03 -release =(.
>
> Best Regards,
> Ilya

Hi Ilya,

your command line looks ok. I think there is a bug in the command line arguments.
I try to fix it now.

Regards,
Kai
February 04, 2014
On Monday, 3 February 2014 at 17:57:50 UTC, Kai Nacke wrote:
> On Monday, 3 February 2014 at 07:37:50 UTC, Ilya Yaroshenko wrote:
>> On Monday, 3 February 2014 at 00:12:08 UTC, bearophile wrote:
>>> Ilya Yaroshenko:
>>>
>>>> There is only -vectorize-slp but no -vectorize.
>>>
>>> Isn't -vectorize implicit in -O3 (Perhaps even in -O2)?
>>>
>>> Bye,
>>> bearophile
>>
>> No, even with -03 -release =(.
>>
>> Best Regards,
>> Ilya
>
> Hi Ilya,
>
> your command line looks ok. I think there is a bug in the command line arguments.
> I try to fix it now.
>
> Regards,
> Kai

Is fixed in the merge-2.064 branch and will be in next alpha release.

Regards,
Kai
February 04, 2014
Thanks, Kai!
February 05, 2014
> This is a program that compiles and run with dmd and crashes at run-time with the latest ldc2:
>
> http://codepad.org/tnz2aiAK
>
> I have not reduced it much, but the problem could be in the struct State.

Bye,
bearophile
February 05, 2014
On Wednesday, 5 February 2014 at 10:52:05 UTC, bearophile wrote:
>> This is a program that compiles and run with dmd and crashes at run-time with the latest ldc2:
>>
>> http://codepad.org/tnz2aiAK
>>
>> I have not reduced it much, but the problem could be in the struct State.
>
> Bye,
> bearophile

Hi bearophile,

thanks for the example. I saw your other post, too. I am still a bit slow - there is a backlog caused by FOSDEM talk.

Regards,
Kai