www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.ide - Suggestion: Show Generated Asm

reply Eric Poggel <dnewsgroup2 yage3d.net> writes:
My apologies if this has been suggested before (I'm new to this list), 
but it would be a nice IDE feature to select a function or a module and 
show the assembly that's generated for it.  This would be great for 
optimizing.
Nov 30 2010
parent reply Michal Minich <michal.minich gmail.com> writes:
On Wed, 01 Dec 2010 01:48:06 -0500, Eric Poggel wrote:

 My apologies if this has been suggested before (I'm new to this list),
 but it would be a nice IDE feature to select a function or a module and
 show the assembly that's generated for it.  This would be great for
 optimizing.

Visual Studio can show you disassembly while debugging, Use VisualD with c2pdb http://www.dsource.org/projects/visuald use Obj2Asm http://www.digitalmars.com/ctg/obj2asm.html
Nov 30 2010
parent Eric Poggel <dnewsgroup2 yage3d.net> writes:
On 12/1/2010 2:29 AM, Michal Minich wrote:
 On Wed, 01 Dec 2010 01:48:06 -0500, Eric Poggel wrote:

 My apologies if this has been suggested before (I'm new to this list),
 but it would be a nice IDE feature to select a function or a module and
 show the assembly that's generated for it.  This would be great for
 optimizing.

Visual Studio can show you disassembly while debugging, Use VisualD with c2pdb http://www.dsource.org/projects/visuald use Obj2Asm http://www.digitalmars.com/ctg/obj2asm.html

I use VisualD (along with Descent) and this is perfect. I expected an unreadable wall of assembly, but the original statements are inserted above each block of asm.
Dec 03 2010