Thread overview |
---|
January 09, 2007 [Issue 824] New: "mov EAX, func;" and "lea EAX, func;" generate incorrect code | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=824 Summary: "mov EAX, func;" and "lea EAX, func;" generate incorrect code Product: D Version: 1.00 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P3 Component: DMD AssignedTo: bugzilla@digitalmars.com ReportedBy: thomas-dloop@kuehne.cn # void foo(){} # # void bar(){ # asm{ # mov ECX, foo; # lea EDX, foo; # } # } DMD-1.00 generates the following code for bar: 804a0c4: 55 push ebp 804a0c5: 8b ec mov ebp,esp 804a0c7: 8b 00 mov eax,DWORD PTR [eax] 804a0c9: 8b c0 mov eax,eax 804a0cb: 5d pop ebp 804a0cc: c3 ret -- |
January 28, 2007 [Issue 824] "mov EAX, func;" and "lea EAX, func;" generate incorrect code | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=824 bugzilla@digitalmars.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #1 from bugzilla@digitalmars.com 2007-01-27 18:56 ------- Fixed DMD 1.001 -- |
February 15, 2007 [Issue 824] "mov EAX, func;" and "lea EAX, func;" generate incorrect code | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=824 ------- Comment #2 from thomas-dloop@kuehne.cn 2007-02-15 03:42 ------- Added to DStress as http://dstress.kuehne.cn/run/a/asm_lea_02_A.d http://dstress.kuehne.cn/run/a/asm_mov_04_A.d -- |
Copyright © 1999-2021 by the D Language Foundation