Re: D vectors

2012-01-09 Thread Trass3r
On Tuesday, 10 January 2012 at 01:52:57 UTC, Andrej Mitrovic wrote: Turns out i was right to be worried about ebp - see the vtst() function below... On DMD head I get an ICE, yay! Internal error: backend/cod3.c 446 Like this?: http://d.puremagic.com/issues/show_bug.cgi?id=7254

Re: MinGW GCC-4.6.1 GDC r9841510e8ba6 32 and 64-bit

2012-01-09 Thread Daniel Green
64-bit is ready. 64-Bit Binary https://bitbucket.org/goshawk/gdc/downloads/gcc-4.6.1-tdm64-1-gdc-9841510e8ba6-20120109.7z Running the testsuite had additional failures. # MinGW64 -m32 failures DISABLED_TESTS += test34 variadic # MinGW64 -m64 failures # ICE DISABLED_TESTS += dhry DISABLED_TE

Re: D vectors

2012-01-09 Thread Iain Buclaw
On 10 January 2012 00:46, Artur Skawina wrote: > On 01/10/12 00:43, Iain Buclaw wrote: >> ^Manu got an itchy knees to try out vector support. ;) >> > > BTW, how are vector literals supposed to work in D? > > Turns out i was right to be worried about ebp - see the vtst() > function below... > > ---

Re: D vectors

2012-01-09 Thread Andrej Mitrovic
> Turns out i was right to be worried about ebp - see the vtst() > function below... On DMD head I get an ICE, yay! Internal error: backend/cod3.c 446

D vectors

2012-01-09 Thread Artur Skawina
On 01/10/12 00:43, Iain Buclaw wrote: > ^Manu got an itchy knees to try out vector support. ;) > BTW, how are vector literals supposed to work in D? Turns out i was right to be worried about ebp - see the vtst() function below... -- alias __vector(int[4]) i4;

Re: MinGW GCC-4.6.1 GDC r9841510e8ba6 32 and 64-bit

2012-01-09 Thread Manu
On 10 January 2012 01:37, Daniel Green wrote: > On 1/9/2012 4:35 PM, Manu wrote: > >> Awww damn it! I was all excited, thought you'd saved me the pain... >> until I realised this isn't the latest version :( >> > > GDC is under active development. It may no longer be the tip, but it's > only a fe

Re: MinGW GCC-4.6.1 GDC r9841510e8ba6 32 and 64-bit

2012-01-09 Thread Iain Buclaw
On 9 January 2012 23:37, Daniel Green wrote: > On 1/9/2012 4:35 PM, Manu wrote: >> >> Awww damn it! I was all excited, thought you'd saved me the pain... >> until I realised this isn't the latest version :( > > > GDC is under active development.  It may no longer be the tip, but it's only > a few

Re: MinGW GCC-4.6.1 GDC r9841510e8ba6 32 and 64-bit

2012-01-09 Thread Daniel Green
On 1/9/2012 4:35 PM, Manu wrote: Awww damn it! I was all excited, thought you'd saved me the pain... until I realised this isn't the latest version :( GDC is under active development. It may no longer be the tip, but it's only a few revisions from it.

Re: System programming in D (Was: The God Language)

2012-01-09 Thread Iain Buclaw
On 9 January 2012 22:28, Artur Skawina wrote: > On 01/09/12 20:05, Iain Buclaw wrote: >> On 9 January 2012 18:15, Artur Skawina wrote: >>> >>> [1] I guess omitting the frame pointer manipulation for (at least) just >>> nonthrowing leaf functions that don't use any stack slots wouldn't be easy?

Re: System programming in D (Was: The God Language)

2012-01-09 Thread Artur Skawina
On 01/09/12 20:05, Iain Buclaw wrote: > On 9 January 2012 18:15, Artur Skawina wrote: >> >> [1] I guess omitting the frame pointer manipulation for (at least) just >> nonthrowing leaf functions that don't use any stack slots wouldn't be easy? >> (the vector extensions will probably make this eve

Re: MinGW GCC-4.6.1 GDC r9841510e8ba6 32 and 64-bit

2012-01-09 Thread Manu
On 9 January 2012 21:56, Daniel Green wrote: > Please post all issues in D.gnu or on GDC's site > https://bitbucket.org/goshawk/**gdc > > Posted updated binaries for MinGW32 and MinGW64. > * Requires TDM GCC 4.6.1 32 or 64-bit edition. > * GDC revision 984151

Re: MinGW GCC-4.6.1 GDC r9841510e8ba6 32 and 64-bit

2012-01-09 Thread Robert Clipsham
On 09/01/2012 19:56, Daniel Green wrote: Am I correct in assuming that DMD passes all the tests in the testsuite when it is tagged for release? Yes, as well as all druntime and phobos unittests (and regression testing of a few projects that people do of their own accord when a beta is announc

MinGW GCC-4.6.1 GDC r9841510e8ba6 32 and 64-bit

2012-01-09 Thread Daniel Green
Please post all issues in D.gnu or on GDC's site https://bitbucket.org/goshawk/gdc Posted updated binaries for MinGW32 and MinGW64. * Requires TDM GCC 4.6.1 32 or 64-bit edition. * GDC revision 9841510e8ba6. * Contains modified binutils and runtime files for TLS. * 7-zip format: http://7-zi

Re: System programming in D (Was: The God Language)

2012-01-09 Thread Iain Buclaw
On 9 January 2012 18:15, Artur Skawina wrote: > On 01/09/12 10:53, Iain Buclaw wrote: >> On 5 January 2012 11:40, Artur Skawina wrote: >>> IOW gdc completely gives up on inlining the function/method because of the >>> "in". >>> Actually, "bool empty2(T)(const T[] a)" is enough to trigger the cal

Re: System programming in D (Was: The God Language)

2012-01-09 Thread Artur Skawina
On 01/09/12 10:53, Iain Buclaw wrote: > On 5 January 2012 11:40, Artur Skawina wrote: >> IOW gdc completely gives up on inlining the function/method because of the >> "in". >> Actually, "bool empty2(T)(const T[] a)" is enough to trigger the call. >> >> This means that eg array.empty never gets in

Re: System programming in D (Was: The God Language)

2012-01-09 Thread Iain Buclaw
On 5 January 2012 11:40, Artur Skawina wrote: > On 01/05/12 02:34, Iain Buclaw wrote: >> Regardless, there is little reason to want to use a forced inline with >> gdc.  Just like in c++ when you define all methods in the class >> definition, gdc considers all methods as candidates for inlining. >>