mersenneforum.org  

Go Back   mersenneforum.org > Extra Stuff > Programming

Reply
 
Thread Tools
Old 2015-10-28, 04:20   #1
Xyzzy
 
Xyzzy's Avatar
 
"Mike"
Aug 2002

2×3×1,361 Posts
Default C2ASM

We found a very cool utility to visually compare C code with what it compiles to.

Example: http://goo.gl/ICuQr3

Xyzzy is offline   Reply With Quote
Old 2015-10-28, 12:19   #2
R.D. Silverman
 
R.D. Silverman's Avatar
 
Nov 2003

22·5·373 Posts
Default

Quote:
Originally Posted by Xyzzy View Post
We found a very cool utility to visually compare C code with what it compiles to.

Example: http://goo.gl/ICuQr3

Nice.
R.D. Silverman is offline   Reply With Quote
Old 2015-10-28, 20:58   #3
Ken_g6
 
Ken_g6's Avatar
 
Jan 2005
Caught in a sieve

5×79 Posts
Default

I agree. My only little gripe with it is that it doesn't optimize well at all, and adding -O3 breaks it.
Ken_g6 is offline   Reply With Quote
Old 2015-10-28, 21:55   #4
frmky
 
frmky's Avatar
 
Jul 2003
So Cal

2·3·349 Posts
Default

I haven't tried anything beyond the included examples, but it seems to support -O3 and appropriate -march selections.
frmky is offline   Reply With Quote
Reply

Thread Tools


All times are UTC. The time now is 11:43.

Sat May 15 11:43:05 UTC 2021 up 37 days, 6:23, 0 users, load averages: 1.90, 1.71, 1.58

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.