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

25·257 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

1000001110102 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



All times are UTC. The time now is 21:54.


Fri Jul 16 21:54:48 UTC 2021 up 49 days, 19:42, 2 users, load averages: 2.47, 2.20, 2.02

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.