June 30, 2013 Re: LDC 0.11.0 Beta 3 | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile | On Sunday, 30 June 2013 at 17:25:50 UTC, bearophile wrote:
> Kai:
>
>> Thanks for the nice test case. I can reproduce it with LDC head and LLVM trunk. I created issue #420 for it.
>
> You are welcome. Have you also seen the two cases above?
>
> import core.simd: double2;
> void main() {
> double2 x = [1.0, 2.0];
> double2 r1 = x + [1.0, 2.0];
> double2 r2 = [1.0, 2.0] + x;
> }
>
>
> import core.simd: double2;
> void main() {
> double x = 1.0, y = 2.0;
> double2 a = [x, y];
> double2 sum = [0.0, 0.0];
> sum += [x, y] / a;
> }
>
>
> Bye,
> bearophile
Thanks for the hint. I am still scanning the thread and try to reproduce the failures.
Kai
|
July 02, 2013 Re: LDC 0.11.0 Beta 3 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kai Nacke | On Sunday, 30 June 2013 at 17:28:12 UTC, Kai Nacke wrote:
> On Sunday, 30 June 2013 at 17:25:50 UTC, bearophile wrote:
>> Kai:
>>
>>> Thanks for the nice test case. I can reproduce it with LDC head and LLVM trunk. I created issue #420 for it.
>>
>> You are welcome. Have you also seen the two cases above?
>>
>> import core.simd: double2;
>> void main() {
>> double2 x = [1.0, 2.0];
>> double2 r1 = x + [1.0, 2.0];
>> double2 r2 = [1.0, 2.0] + x;
>> }
>>
>>
>> import core.simd: double2;
>> void main() {
>> double x = 1.0, y = 2.0;
>> double2 a = [x, y];
>> double2 sum = [0.0, 0.0];
>> sum += [x, y] / a;
>> }
>>
>>
>> Bye,
>> bearophile
>
> Thanks for the hint. I am still scanning the thread and try to reproduce the failures.
>
> Kai
I could not reproduce both failures with LDC head. Maybe it is a 2.062 related problem?
|
July 02, 2013 Re: LDC 0.11.0 Beta 3 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kai Nacke | Kai Nacke: > I could not reproduce both failures with LDC head. Maybe it is a 2.062 related problem? I have just taken and installed the latest version, ldc2 on Windows 32 bit (Vista) (LDC - the LLVM D compiler (0.11.0) based on DMD v2.062 and LLVM 3.3svn)): http://d32gngvpvl2pi1.cloudfront.net/ldc2-0.11.0-mingw-x86.7z I compile with just: ldc2 temp.d And both those programs give the errors :-( test.d(5): Error: cannot implicitly convert expression (cast(__vector(double[2u]))[1, 2] + x) of type double[] to __vector(double[2u]) test.d(6): Error: incompatible types for ((sum) += (cast(__vector(double[2u]))[x, y] / a)): '__vector(double[2u])' and 'double[]' I am using the MinGW in the link given by David Nadlinger (gcc version 4.8.0 (rubenvb-4.8.0)): http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/rubenvb/gcc-4.8-dw2-release/i686-w64-mingw32-gcc-dw2-4.8.0-win32_rubenvb.7z/download Maybe it's a 2.062 problem, I don't know. But while compiling dmd is a breeze, I don't think I want to compile ldc2 myself. If you think this problem is missing in the ldc2 2.063 then let's ignore this problem until the ldc2 2.063 binary has being released and I can test it again :-) Bye, bearophile |
Copyright © 1999-2021 by the D Language Foundation