disabling loop unrolling in GCC

disabling loop unrolling in GCC

Shachar Shemesh shachar at shemesh.biz
Mon Dec 21 15:54:54 IST 2009


Aviv Greenberg wrote:
> Just out of curiousity: why do you care about the resulting assembly?
> It's a strong indication that you are doing something wrong :)
>   
First, we have found several bugs in GCC as a result of "caring about 
the assembly". Lets agree that it's an indication that someone is doing 
something wrong.

The reason I'm trying to disable this optimization is because it causes 
the code to be too big to fit onto the available ROM on which the code 
needs to be flashed. The X86 version I gave here shows the problem, but 
is no the platform on which the problem was diagnosed.

Shachar

-- 
Shachar Shemesh
Lingnu Open Source Consulting Ltd.
http://www.lingnu.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cs.huji.ac.il/pipermail/linux-il/attachments/20091221/edb622ac/attachment.html>


More information about the Linux-il mailing list