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

Compiler generates assembly code that is rejected by the assembler

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Not Prioritized Not Prioritized

      The attached source file contains these lines ...

      int se0_advance_helper_int(){
          return static_cast<int>(__SE0ADV(float));
      }
      

      Build it ...

      % cl7x -@options.txt demo.cpp
      "demo.asm", ERROR!   at line 68: [E0003] Invalid instruction
                         VSPTRUNC .L1X   SE0++,A4          ; [A_L1] |4|
      
      1 Assembly Error, No Assembly Warnings
      
      Errors in Source - Assembler Aborted
      
      >> Compilation failure
      

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

              Created:
              Updated:
              Resolved: