Re: Recent changes to GDC.

2012-01-27 Thread Kagamin
On Sunday, 15 January 2012 at 22:34:28 UTC, Iain Buclaw wrote: * GDC's default calling convention has now been switched back to that of the default for the target platform. The D_InlineAsm family of version identifiers are now turned off by default as we no longer pretend to follow DMD's callin

Re: Recent changes to GDC.

2012-01-26 Thread Kagamin
On Monday, 16 January 2012 at 14:42:08 UTC, Artur Skawina wrote: As you still cannot easily call D code from C, without the equivalent of "extern(D)", why not default to a more sane calling conventions, such as regparm on 32-bit x86? The requirement for this kind of compatibility was simply a

Re: Recent changes to GDC.

2012-01-17 Thread Manu
On 17 January 2012 06:27, Daniel Green wrote: > On 1/16/2012 3:34 PM, Manu wrote: > >> I went through that stuff you submitted the patch for, then I also ran >> into a conflict between linux sockets and windows sockets, and that's as >> far as I got when I stopped. >> > > The only posix file that

Re: Recent changes to GDC.

2012-01-16 Thread Daniel Green
On 1/16/2012 3:34 PM, Manu wrote: I went through that stuff you submitted the patch for, then I also ran into a conflict between linux sockets and windows sockets, and that's as far as I got when I stopped. The only posix file that gave me trouble was `core/sys/posix/sys/un.d`. GDC turns it i

Re: Recent changes to GDC.

2012-01-16 Thread Iain Buclaw
On 16 January 2012 23:08, Artur Skawina wrote: > On 01/16/12 21:49, Iain Buclaw wrote: >> On 16 January 2012 19:14, Artur Skawina wrote: >>> On 01/16/12 17:43, Iain Buclaw wrote: On 16 January 2012 14:41, Artur Skawina wrote: > On 01/15/12 23:34, Iain Buclaw wrote: >> * Merged in th

Re: Recent changes to GDC.

2012-01-16 Thread Artur Skawina
On 01/16/12 21:49, Iain Buclaw wrote: > On 16 January 2012 19:14, Artur Skawina wrote: >> On 01/16/12 17:43, Iain Buclaw wrote: >>> On 16 January 2012 14:41, Artur Skawina wrote: On 01/15/12 23:34, Iain Buclaw wrote: > * Merged in the work Walter has done for __vector type support. Ther

Re: Recent changes to GDC.

2012-01-16 Thread Iain Buclaw
On 16 January 2012 19:14, Artur Skawina wrote: > On 01/16/12 17:43, Iain Buclaw wrote: >> On 16 January 2012 14:41, Artur Skawina wrote: >>> On 01/15/12 23:34, Iain Buclaw wrote: * Merged in the work Walter has done for __vector type support.  There are now newly available GCC builtins

Re: Recent changes to GDC.

2012-01-16 Thread Manu
On 16 January 2012 18:56, Daniel Green wrote: > On 1/16/2012 4:03 AM, Manu wrote: > >> I had creeping problems building phobos (MinGW) last night stemming from >> D_InlineAsm being removed. Didn't manage to get it working in the end, >> gave up and went to bed :) >> > > https://bitbucket.org/gosh

Re: Recent changes to GDC.

2012-01-16 Thread Trass3r
If you want cross-module inlining, compile all sources in one command. gdc file1.d file2.d -o myapp So 'gdc -c file1.d' won't inline small functions from file2? Why?

Re: Recent changes to GDC.

2012-01-16 Thread Daniel Green
On 1/16/2012 1:42 PM, Iain Buclaw wrote: Cool. Do you have anything in your MinGW patch queue that might be worth merging in? Maybe. I'm merging some of the trivial changes now. In addition there is TLS support but that requires patches to the runtime, bintutils and GCC. Support for C99 st

Re: Recent changes to GDC.

2012-01-16 Thread Artur Skawina
On 01/16/12 17:43, Iain Buclaw wrote: > On 16 January 2012 14:41, Artur Skawina wrote: >> On 01/15/12 23:34, Iain Buclaw wrote: >>> * Merged in the work Walter has done for __vector type support. There are >>> now newly available GCC builtins for vector operations via gcc.builtins >>> module. >

Re: Recent changes to GDC.

2012-01-16 Thread Iain Buclaw
On 16 January 2012 16:56, Daniel Green wrote: > On 1/16/2012 4:03 AM, Manu wrote: >> >> I had creeping problems building phobos (MinGW) last night stemming from >> D_InlineAsm being removed. Didn't manage to get it working in the end, >> gave up and went to bed :) > > > https://bitbucket.org/gosha

Re: Recent changes to GDC.

2012-01-16 Thread Daniel Green
On 1/16/2012 4:03 AM, Manu wrote: I had creeping problems building phobos (MinGW) last night stemming from D_InlineAsm being removed. Didn't manage to get it working in the end, gave up and went to bed :) https://bitbucket.org/goshawk/gdc/changeset/dc87c7212d70 Some of the stack functions need

Re: Recent changes to GDC.

2012-01-16 Thread Iain Buclaw
On 16 January 2012 14:41, Artur Skawina wrote: > On 01/15/12 23:34, Iain Buclaw wrote: >> * Merged in the work Walter has done for __vector type support.  There are >> now newly available GCC builtins for vector operations via gcc.builtins >> module. > > Allowing !=128 bits wide types would be j

Re: Recent changes to GDC.

2012-01-16 Thread Manu
On 16 January 2012 16:41, Artur Skawina wrote: > On 01/15/12 23:34, Iain Buclaw wrote: > > * Merged in the work Walter has done for __vector type support. There > are now newly available GCC builtins for vector operations via gcc.builtins > module. > > Allowing !=128 bits wide types would be jus

Re: Recent changes to GDC.

2012-01-16 Thread Artur Skawina
On 01/15/12 23:34, Iain Buclaw wrote: > * Merged in the work Walter has done for __vector type support. There are > now newly available GCC builtins for vector operations via gcc.builtins > module. Allowing !=128 bits wide types would be just a matter of removing the frontend restrictions, righ

Re: Recent changes to GDC.

2012-01-16 Thread Iain Buclaw
On 16 January 2012 09:03, Manu wrote: > I had creeping problems building phobos (MinGW) last night stemming > from D_InlineAsm being removed. Didn't manage to get it working in the end, > gave up and went to bed :) > > Please raise bug report with build logs, thanks. -- Iain Buclaw *(p < e ?

Re: Recent changes to GDC.

2012-01-16 Thread Manu
I had creeping problems building phobos (MinGW) last night stemming from D_InlineAsm being removed. Didn't manage to get it working in the end, gave up and went to bed :) On 16 January 2012 00:34, Iain Buclaw wrote: > I've done a recent blitz of changes through the GDC codebase, some which > ch