Re: [Bug 162] New: GDC unable to de-virtualise method calls

2014-10-26 Thread Manu via D.gnu
I fought and lost a massive argument spanning years about this. There are very limited cases where the backend is able to do this successfully. On 26 October 2014 20:37, via D.gnu wrote: > Bug ID 162 Summary GDC > unable to de-virtualise met

Re: 2.066 merge

2014-07-14 Thread Manu via D.gnu
On 15 July 2014 01:40, Iain Buclaw via D.gnu wrote: > On 14 July 2014 16:05, Daniel Murphy via D.gnu > wrote: > > "Iain Buclaw" wrote in message > news:phejgytsbkojsczbp...@forum.dlang.org... > > > > > >> Hi, > >> > >> Looks like its that time of the year again. > >> > >> Same as last time, wil

Re: D in AVR backend

2013-09-21 Thread Manu
On 21 September 2013 19:34, Marcelo wrote: > Hello I've just successfully lit a LED with a atmega88 using GDC. > (AVR is a 8bit micro controller with 16bits pointers) > > I had to change GDC to accept a zero critsize and implemented > these stubs for volatile operations on the memmory mapped IO.

Re: To build GDC for Windows 32/64

2013-09-01 Thread Manu
Me too, the 'official' ones are missing dependencies... :/ On 1 Sep 2013 08:15, "Ludovit Lucenic" wrote: > Does anyone here have a working copy of GDC executables for Win32/64 > platform. > Not even necessarily built from latest sources. > If so, please share :-) > Thanks. > > I am looking for a

Re: Changing "target" parameter via attribute

2013-05-28 Thread Manu
Yeah, I'm sure this case was just never considered, and needs to be supported. I had a suspicion it wouldn't work ;) On 28 May 2013 17:36, Johannes Pfau wrote: > Am Tue, 28 May 2013 08:37:12 +1000 > schrieb Manu : > > > Not sure what you mean... > > Using t

Re: Changing "target" parameter via attribute

2013-05-27 Thread Manu
Not sure what you mean... Using template specialisation for each attribute permutation or something? On 27 May 2013 23:20, David Nadlinger wrote: > On Monday, 27 May 2013 at 12:02:28 UTC, Manu wrote: > >> On 27 May 2013 21:40, Iain Buclaw wrote: >> >>> Looks lik

Re: Changing "target" parameter via attribute

2013-05-27 Thread Manu
On 27 May 2013 21:40, Iain Buclaw wrote: > Well it is in... > > > https://github.com/D-Programming-GDC/GDC/commit/15907b95026d451f443b4b6d263c85e0524e517e > > > As for testing: > --- > { > @attribute("target", T) void func(string T)() { } > > func!"sse.4.1"; > } > --- > > Error: undefined id

Re: Changing "target" parameter via attribute

2013-05-27 Thread Manu
For MinGW? I've never successfully managed to build that bloody thing! ;) On 27 May 2013 21:08, Iain Buclaw wrote: > On 27 May 2013 11:47, Manu wrote: > > By 'it', you mean supporting @target? Or handling specific targets + > > mangling? > > > > I

Re: Changing "target" parameter via attribute

2013-05-27 Thread Manu
l. On 27 May 2013 20:38, Iain Buclaw wrote: > On 27 May 2013 11:18, Manu wrote: > > On 27 May 2013 19:01, Iain Buclaw wrote: > >> > >> On 27 May 2013 09:21, Manu wrote: > >> > Actually, I think the C counterpart is actually > >> > __attribute__

Re: Changing "target" parameter via attribute

2013-05-27 Thread Manu
On 27 May 2013 19:01, Iain Buclaw wrote: > On 27 May 2013 09:21, Manu wrote: > > Actually, I think the C counterpart is actually > > __attribute__((__target__("targetstring"))), with bonus underscores ;) > > > > > > On 27 May 2013 18:15, Manu wrote:

Re: Changing "target" parameter via attribute

2013-05-27 Thread Manu
Actually, I think the C counterpart is actually __attribute__((__target__("targetstring"))), with bonus underscores ;) On 27 May 2013 18:15, Manu wrote: > So we talked about this at DConf. > > Working on std.simd, I need to be able to change the target parameter on a &

Changing "target" parameter via attribute

2013-05-27 Thread Manu
So we talked about this at DConf. Working on std.simd, I need to be able to change the target parameter on a per-function basis. GCC supports this via: __attribute__((target("sse2"))) for instance. I need the ability to set this from D, but the trick is, I need to be able to set the target string

Re: The following code bypasses immutabililty with GDC but not DMD

2013-04-11 Thread Manu
This is an interesting problem with the ref-is-not-part-of-the-type design. You can't really have a const(ref) in D, and a ref const(int) is kinda backwards logic. I've never understood why ref isn't part of the type... can someone explain why this is a good thing? It seems to cause all sorts of tr

Re: GDC-4.9 in development

2013-03-23 Thread Manu
Hooray! Welcome Johannes! That guy rocks my world! :P Will switching to 4.9 make it harder to support all the 4.8 (and below) cross compilers out there? Like the console toolchains. On 23 March 2013 20:33, Iain Buclaw wrote: > Hi all, > > Changes this weekend: > > - New gdc-4.8 branch has been

MinGW thread.Fiber

2012-05-24 Thread Manu
I don't know if anyone saw my bug on core.thread.Fiber under MinGW64. I'm curious to know if anyone else can reproduce it? - Manu

Re: MinGW Release. D2.058 x86-64 20120513

2012-05-14 Thread Manu
Awesome. Is this version much different than the prior release other than the details you list? Does it include more recent DMD changes? On 14 May 2012 07:20, Daniel Green wrote: > Please post all issues in D.gnu or on GDC's site > https://bitbucket.org/goshawk/**gdc

Re: Problem with passing ref parameters to properties

2012-05-10 Thread Manu
On 10 May 2012 18:10, SebastianA wrote: > test.d(23): Error: not a property t.vPosition > > when trying that. If I remove the ternary operator and just assign Vec(2, > 2) to the property, it works as expected. Am I missing something here? Why > cannot I write the code as listed above? > Hmmm, wi

Re: MinGW Release. D2.058 x86-64 20120428

2012-05-01 Thread Manu
On 1 May 2012 17:31, Daniel Green wrote: > On 5/1/2012 1:53 AM, Iain Buclaw wrote: > >> no _Dmodule_ref would probably mean no object_.d was compiled in. >> > > In D2.058, the _Dmodule_ref code was moved to minfo.d. I didn't properly > move the GNU specific stuff on the first build, problem didn

Re: MinGW Release. D2.058 x86-64 20120428

2012-04-30 Thread Manu
On 30 April 2012 21:24, Manu wrote: > > I seem to be getting a lot of these with the latest build trying to build > a windows project (Daniel: the same repo I referred to in that bug report) > > c:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.6.1/../../../../lib32/libgphobos2.a(t

Re: MinGW Release. D2.058 x86-64 20120428

2012-04-30 Thread Manu
On 30 April 2012 18:33, Daniel Green wrote: > sqlite.o is easy enough to build and can be put into libgphobos.a. Being > public domain helps, I'll add it to the build process. > libsqlite is quite big, perhaps it would be better to have the script create a lib beside phobos instead of in it? DMD

Re: MinGW Release. D2.058 x86-64 20120428

2012-04-30 Thread Manu
On 30 April 2012 18:40, Iain Buclaw wrote: > On 30 April 2012 16:33, Daniel Green wrote: > > On 4/30/2012 6:18 AM, Manu wrote: > >> > >> I guess the etc.c... libs didn't make the cut :( > > > > > > It was sort of an intermittent release, t

Re: MinGW Release. D2.058 x86-64 20120428

2012-04-30 Thread Manu
I guess the etc.c... libs didn't make the cut :( On 28 April 2012 22:35, Dmitry Olshansky wrote: > On 28.04.2012 21:08, Daniel Green wrote: > >> ** Fixes, previous unresolved _Dmodule_ref ** >> > > Nice, it works so far :) > > And where as previous version promptly segfaulted on my regex benchma

Re: MinGW Release. D2.058 x86-64

2012-04-27 Thread Manu
Hooray! *does a jig* Cheers bloke! :) On 27 April 2012 06:19, Daniel Green wrote: > Please post all issues in D.gnu or on GDC's site > https://bitbucket.org/goshawk/**gdc > > Due to the use of a newer runtime than TDM64-GCC it is **recommended** to > install

etc.c...

2012-04-06 Thread Manu
I have a request for the next binary release of GDC. Can it please contain binaries for the libs in etc.c...? Trying to track down compatible versions of zlib, curl, sqlite for MinGW64 is surprisingly difficult to do! >_< These modules are packaged with phobos as if they're standard issue, so can

Re: libgmp-3.dll missing from windows binary release

2012-03-25 Thread Manu
On 25 March 2012 05:55, Daniel Green wrote: > On 3/24/2012 8:35 PM, Manu wrote: > > Cheers for the info. Here's hoping the release works out well. > > What instabilities are you primarily concerned about with the existing > > release? I've been using it for a coupl

Re: libgmp-3.dll missing from windows binary release

2012-03-24 Thread Manu
On 25 March 2012 01:34, Daniel Green wrote: > First, I want apologize. For the lack of a responses lately and because I > didn't include installation instructions in the latest release notices, but > they are still included in the readme that comes in every release. > > Second, I'd like to offer

Re: libgmp-3.dll missing from windows binary release

2012-03-21 Thread Manu
On 20 March 2012 19:48, Andrej Mitrovic wrote: > On 3/20/12, Andrew Wiley wrote: > > I'm not really sure why Daniel isn't just zipping the full install so > > you don't have to download TDM GCC separately. Might be some licensing > > issue there or something. > > I think it's fine the way it is.

Re: libgmp-3.dll missing from windows binary release

2012-03-20 Thread Manu
On 20 March 2012 07:40, Andrew Wiley wrote: > On Tue, Mar 20, 2012 at 12:34 AM, Kapps wrote: > > On Monday, 19 March 2012 at 10:57:13 UTC, Manu wrote: > >> > >> On 19 March 2012 10:59, Manu wrote: > >> > >>> On 17 March 2012 21:37, Andrej Mit

Re: libgmp-3.dll missing from windows binary release

2012-03-19 Thread Manu
On 19 March 2012 10:59, Manu wrote: > On 17 March 2012 21:37, Andrej Mitrovic wrote: > >> On 3/17/12, Manu wrote: >> > Did find that one, but now missing libppl_c-4.dll >> > This is a bit silly. A binary toolchain needs to have these in the >> archive. >&g

Re: libgmp-3.dll missing from windows binary release

2012-03-19 Thread Manu
On 17 March 2012 21:37, Andrej Mitrovic wrote: > On 3/17/12, Manu wrote: > > Did find that one, but now missing libppl_c-4.dll > > This is a bit silly. A binary toolchain needs to have these in the > archive. > > No point if you can't run it. > > I think I&#x

Re: libgmp-3.dll missing from windows binary release

2012-03-17 Thread Manu
Did find that one, but now missing libppl_c-4.dll This is a bit silly. A binary toolchain needs to have these in the archive. No point if you can't run it. On 16 March 2012 13:39, Manu wrote: > I don't have libgmp-3.dll, and every attempt I make to get it results in > what wou

libgmp-3.dll missing from windows binary release

2012-03-16 Thread Manu
I don't have libgmp-3.dll, and every attempt I make to get it results in what would seem to be an incompatible version of the DLL, producing the message: "The procedure entry point __gmp_get_memory_functions could not be located..." The version of gmp distributed with the current version of mingw i

Re: Multiple return values...

2012-03-08 Thread Manu
** Appologies, wrong forum. Auto-complete filled the wrong address and I didn't notice ** On 8 March 2012 21:40, Manu wrote: > I find myself really wishing for proper multiple return values almost > every day, particularly when I work with maths heavy code, and especially > f

Multiple return values...

2012-03-08 Thread Manu
I find myself really wishing for proper multiple return values almost every day, particularly when I work with maths heavy code, and especially for efficiently returning error codes in functions I'd rather not throw from. Many maths-y functions return some sort of pair; intersections return (ray, t

Re: [Tutorial][Binaries] gdc for android

2012-02-06 Thread Manu
On 6 February 2012 10:11, Johannes Pfau wrote: > Am Mon, 6 Feb 2012 01:48:32 -0600 > schrieb Andrew Wiley : > > > > > Actually, if the Android default is to build against softfloat ABI, > > you may be stuck with it. If Android doesn't require hardfloat to run > > and doesn't let developers provid

Re: [Tutorial][Binaries] gdc for android

2012-02-06 Thread Manu
On 6 February 2012 09:40, Johannes Pfau wrote: > Am Mon, 6 Feb 2012 03:07:31 +0200 > schrieb Manu : > > > On 6 February 2012 02:25, Manu wrote: > > > > > On 6 February 2012 00:04, Johannes Pfau wrote: > > > > > >> Am Sun, 5 F

Re: [Tutorial][Binaries] gdc for android

2012-02-05 Thread Manu
On 6 February 2012 02:25, Manu wrote: > On 6 February 2012 00:04, Johannes Pfau wrote: > >> Am Sun, 5 Feb 2012 18:04:12 +0100 >> schrieb Johannes Pfau : >> >> > I will probably need some more time to get this working... >> > >> >&

Re: [Tutorial][Binaries] gdc for android

2012-02-05 Thread Manu
On 6 February 2012 00:04, Johannes Pfau wrote: > Am Sun, 5 Feb 2012 18:04:12 +0100 > schrieb Johannes Pfau : > > > I will probably need some more time to get this working... > > > > I have some good news: > http://www.mediafire.com/?107we120sh3xx > > I fixed that problem and then the whole build

Re: [Tutorial][Binaries] gdc for android

2012-02-04 Thread Manu
On 5 February 2012 01:17, Johannes Pfau wrote: > Am Sat, 4 Feb 2012 22:17:54 + > schrieb Iain Buclaw : > > > On 4 February 2012 21:59, Manu wrote: > > > On 4 February 2012 21:31, Johannes Pfau wrote: > > >> > > >> Hi, > > >> I

Re: [Tutorial][Binaries] gdc for android

2012-02-04 Thread Manu
On 5 February 2012 00:17, Iain Buclaw wrote: > On 4 February 2012 21:59, Manu wrote: > > On 4 February 2012 21:31, Johannes Pfau wrote: > >> > >> Hi, > >> I tried to rebuild the android ndk with gdc and documented the build > >> process at ht

Re: [Tutorial][Binaries] gdc for android

2012-02-04 Thread Manu
On 4 February 2012 21:31, Johannes Pfau wrote: > Hi, > I tried to rebuild the android ndk with gdc and documented the build > process at https://bitbucket.org/goshawk/gdc/wiki/GDC%20on%20Android > > The tutorial explains how to build a gdc cross compiler for android. It > uses GCC 4.6.2, a recent

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 stoppe

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 :)

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 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

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

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: Dropping support for gcc 4.2.x to 4.4.x

2012-01-04 Thread Manu
This means some of those console toolchains won't work anymore, since they're still on older versions... :( On 4 January 2012 02:33, Iain Buclaw wrote: > Morning, > > I will be dropping support for a few older gcc versions in the next week > and a > bit. I was thinking removing all code for ever