Uploaded image for project: 'Embedded Software & Tools'
  1. Embedded Software & Tools
  2. EXT_EP-9100

Loop with early exit may peel incorrectly when unrolling (as with -mf3 or above)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • Code Generation Tools
    • CODEGEN-5387
    • Hide
      C2000_16.9.0.LTS
       ARM_16.9.0.LTS
       ARM_18.1.0.LTS
      Show
      C2000_16.9.0.LTS  ARM_16.9.0.LTS  ARM_18.1.0.LTS
    • Hide
      ARM_18.12.0.LTS
       C2000_18.12.0.LTS
      Show
      ARM_18.12.0.LTS  C2000_18.12.0.LTS
    • Add "#pragma UNROLL(1)" to the affected loop to inhibit unrolling, or compile with --opt_for_speed=2 or lower which inhibits unrolling of all loops.
    • The compiler may unroll loops to speed them up. If it doesn't know the exact trip count, it needs to "peel" some iterations to ...

      Loop with early exit may peel incorrectly when unrolling (as with -mf3 or above)

            syncuser TI User
            syncuser TI User
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: