newCTFE Status July 2017

Stefan Koch via Digitalmars-d digitalmars-d at puremagic.com
Fri Jul 14 03:40:34 PDT 2017


On Thursday, 13 July 2017 at 12:45:19 UTC, Stefan Koch wrote:
> [ ... ]

Hi Guys,

I've just added stack-map support to my debug output
Although this is purely internal,
I am proud enough of the improvement to post it.

The following is Bytecode part of a foreach-loop.

Printout without stackMap
290:	Line #21
292:	Set SP[208], #0
294:	Set SP[212], SP[20]
296:	Lt SP[208, SP[212]
298:	Flg SP[216]
300:	JmpZ SP[216, &358
302:	Set SP[220, SP[208]
304:	Line #23


Prinout with stackMap:
290:	Line #21
292:	Set __key64, #0
294:	Set __limit65, resultLength
296:	Lt __key64, __limit65
298:	Flg SP[216]
300:	JmpZ SP[216], &358
302:	Set i, __key64
304:	Line #23


I really wish I had added the stackMap 6 months ago :)

I really don't miss the heaps of paper handwritten address to 
name translation tables.

Cheers,
Stefan


More information about the Digitalmars-d mailing list