[Issue 697] No const folding on asm db,dw, etc

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jan 23 04:05:42 PST 2007


http://d.puremagic.com/issues/show_bug.cgi?id=697





------- Comment #1 from thomas-dloop at kuehne.cn  2007-01-23 06:05 -------
http://www.digitalmars.com/d/iasm.html
> db, ds, di, dl, df, dd, de
> These pseudo ops are for inserting raw data directly into the code.

The only requirement for inserting something "directly into the code" is for it 
to be compile time constant. This feature is especially interesting for 
inserting template generated code.

Added to DStress as
http://dstress.kuehne.cn/run/a/asm_db_01_A.d
http://dstress.kuehne.cn/run/a/asm_db_01_B.d
http://dstress.kuehne.cn/run/a/asm_db_01_C.d
http://dstress.kuehne.cn/run/a/asm_di_02_A.d
http://dstress.kuehne.cn/run/a/asm_di_02_B.d
http://dstress.kuehne.cn/run/a/asm_di_02_C.d
http://dstress.kuehne.cn/run/a/asm_dl_02_A.d
http://dstress.kuehne.cn/run/a/asm_dl_02_B.d
http://dstress.kuehne.cn/run/a/asm_dl_02_C.d
http://dstress.kuehne.cn/run/a/asm_ds_01_A.d
http://dstress.kuehne.cn/run/a/asm_ds_01_B.d
http://dstress.kuehne.cn/run/a/asm_ds_01_C.d

Thomas


-- 



More information about the Digitalmars-d-bugs mailing list