[U-Boot-Users] Compiler optimizations and debugging

Wolfgang Denk wd at denx.de
Thu Mar 20 19:01:52 CET 2003


In message <3E79FBA1.2090707 at paulidav.org> Vladimir Gurevich wrote:
> 
> As far as "non-sequential" code execution in the debugger, you
> can try to ADD the following flags to gcc command line:
> 
>      -fno-schedule-insns -fno-schedule-insns2
> 
> This should disable instruction reordering (as well as slow down
> the execution quite noticeably since your pipeline will be stalled
> too often).

100% correct. See also section "8.2.5. Tips and Tricks" in
http://www.denx.de/re/DPLG.html

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
Do you suppose the reason the ends of the `Intel Inside'  logo  don't
match up is that it was drawn on a Pentium?




More information about the U-Boot mailing list