Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

C vs. ASM (size vs speed) (Developers)

posted by Rugxulo Homepage, Usono, 07.04.2009, 13:35
(edited by Rugxulo on 07.04.2009, 13:46)

> > (And to dispel another myth: if GCC is always better than assembly
> > optimization, then why is GCC compiled by itself so slow??)
>
> http://compilers.iecc.com/comparch/article/03-11-086

I really hope that the GCC devs still test on stuff older than a Core 2. (Sometimes I regret that developers have such fast machines because I think it makes them lazy ... or blind perhaps.)

EDIT: Headers vs. units still doesn't explain why successive GCCs keep getting slower, even with -O0. It shouldn't have to do that much more these days than it did ten years ago (for C89, at least), right?

 

Complete thread:

Back to the forum
Board view  Mix view
22753 Postings in 2119 Threads, 402 registered users (1 online)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum