dmd codegen improvements

rsw0x via Digitalmars-d digitalmars-d at puremagic.com
Wed Aug 19 13:57:16 PDT 2015


On Wednesday, 19 August 2015 at 20:54:39 UTC, qznc wrote:
> On Wednesday, 19 August 2015 at 11:22:09 UTC, Dmitry Olshansky 
> wrote:
>> On 18-Aug-2015 15:37, Vladimir Panteleev wrote:
>>> [...]
>>
>> How about stress-testing with some simple fuzzer:
>> 1. Generate a sequence of pluasable expressions/functions.
>> 2. Spit out results via printf.
>> 3. Permute -O -inline and compare the outputs.
>
> Tools like csmith [0] are surprisingly good at finding ICEs, 
> but useless for performance regressions.
> A "dsmith" would probably find lots of bugs in the dmd backend.
>
> [0] https://embed.cs.utah.edu/csmith/

fwiw, llvm/clang uses their own in-library fuzzer.
http://blog.llvm.org/2015/04/fuzz-all-clangs.html


More information about the Digitalmars-d mailing list