DMD 1.034 and 2.018 releases

Walter Bright newshound1 at digitalmars.com
Sun Aug 10 10:57:20 PDT 2008


bearophile wrote:
> Walter Bright:
>> If this happens, then it's worth verifying that the asm code is
>> actually being run by inserting a printf in it.
> 
> I presume I'll have to recompile Phobos for that.

Not really, it's easier to just copy that particular function out of the
library and paste it into your test module, that way it's easier to
experiment with.

>>> And I haven't seen yet SS2 asm in my compiled programs :-)
>> The dmd compiler doesn't generate SS2 instructions. But the
>> routines in internal\array*.d do.
> 
> I know. I was talking about the parts of the code that for example
> adds the arrays; according to the phobos source code they use SSE2
> but in the final source code produces they are absent.

I don't know what you mean. The SSE2 instructions are in 
internal/arrayint.d, and they do get compiled in.


More information about the Digitalmars-d-announce mailing list