• Arguably missed optimization: empty loop causes rendering to miss deadline
    In our testing work we've encountered an issue where inserting an empty loop: for(int temp = 0; temp < C; temp++) { } leads to a problem when C is large. The issue is detailed in full here, where the...
  • When does arm-none-eabi-gcc optimize away empty loops?
    I am used to gcc optimizing away the sort of "for (i=0; i<DELAYCOUNT; i++) ;" loops that people sometimes try to use for delays. But arm gcc seems to be very inconsistent in this area. the following...
  • Arguably missed optimization: empty loop causes rendering to miss deadline
    In our testing work we've encountered an issue where inserting an empty loop: for(int temp = 0; temp < C; temp++) { } leads to a problem when C is large. The issue is detailed in full here, where the...
  • When does arm-none-eabi-gcc optimize away empty loops?
    I am used to gcc optimizing away the sort of "for (i=0; i<DELAYCOUNT; i++) ;" loops that people sometimes try to use for delays. But arm gcc seems to be very inconsistent in this area. the following...
  • Cannot step over empty FOR loop
    Dear all, I'm currently evaluating uVision4.74 as a preparation for a course in embedded systems, so we would like to test the simulation capabilities of this IDE for the TM4C123GH6PM microcontroller...