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

Forum post: CLA code compiled with recent compiler not as efficient as older

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: Low Low
    • Code Generation Tools
    • CODEGEN-9063
    • C2000_20.2.1.LTS
    • default
    • Unable to reproduce

      Forum post user reported less efficient assembly for CLA with newer compiler version (280049c project:TI v20.2.1.LTS use opt =0) as compared to older version(28035 project: TI v6.4.2 use opt=0). See this:

      https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1008918/tms320f280049c-how-to-use-temporary-variable-in-280049-s-cla

       

      Attaching the CCS project (Will need to install and link C2000Ware 3.04 or greater to build code).

      Also attaching the preporcessed file generated using -O off and -mf 2.

      The user's test case file has been attached here. [^cla_ex4_pwm_control_cla.pp]

       

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

              Created:
              Updated: