Faster code with another compiler
        Posted  
        
            by Andrei
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Andrei
        
        
        
        Published on 2010-06-03T09:29:49Z
        Indexed on 
            2010/06/03
            9:34 UTC
        
        
        Read the original article
        Hit count: 245
        
I'm using the standard gcc compiler in math software development with C-language. I don't know that much about compilers or compiler options, and I was just wondering, is it possible to make faster executables using another compiler or choosing better options? The default Makefile sets options -ffast-math and -O3 and I think both of them have some impact in the overall calculation time. My software is using memory quite extensively, so I imagine some options related to memory management might do the trick?
Any ideas?
© Stack Overflow or respective owner