- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I've just analysedsome assembly code generated by Ifort 9.0, and find no correspodent source code in the .s file. That cause me pain.
I know some other compiler such as open64 doprovide detailed information in .s file. What about ICC?
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ifort and icc supply comments, of the form #source_line.xxxx, so you can key back to the corresponding source code. Also, if you use -g option, e.g.
ifort -O -g yoursource.f
then
objdump -S yoursource.o
shows a mixture of source and disassembly, just as it would with gfortran.
ifort -O -g yoursource.f
then
objdump -S yoursource.o
shows a mixture of source and disassembly, just as it would with gfortran.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page