Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Disassembly of Release Code

Disassembly of Release Code

Scheduled Pinned Locked Moved C / C++ / MFC
c++questiondebuggingtutorialannouncement
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    LionAM
    wrote on last edited by
    #1

    Hello! How can I view the (optimized) Release Assembly Code in Visual C++ 6 with debug info - or at least with function names? Or how can I find a special function? I noticed that the debug code is quite inefficient - for example redundant jumps, even local variables are never kept in registers, the this-pointer is moved to an register in nearly every code-line, sometimes several times, and so on... Is the release code better? It speeds up the execution (of my Raytracer) a little bit, but not as much as I hoped. Alex

    V 1 Reply Last reply
    0
    • L LionAM

      Hello! How can I view the (optimized) Release Assembly Code in Visual C++ 6 with debug info - or at least with function names? Or how can I find a special function? I noticed that the debug code is quite inefficient - for example redundant jumps, even local variables are never kept in registers, the this-pointer is moved to an register in nearly every code-line, sometimes several times, and so on... Is the release code better? It speeds up the execution (of my Raytracer) a little bit, but not as much as I hoped. Alex

      V Offline
      V Offline
      Viorel
      wrote on last edited by
      #2

      I think you should go to Project --> Settings --> C/C++ --> Category: Listing Files --> Listing file type and select Assembly with Source Code. In this case the compiler will generate ASM files and you can investigate them. I hope it helps.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups