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

C28 high priority fpu interrupt routines may not always save/restore RB register when isr uses RPTB

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • Code Generation Tools
    • CODEGEN-9423
    • Hide
      C2000_16.9.0.LTS
      C2000_18.1.0.LTS
      C2000_15.12.0.LTS
      C2000_6.4.0
      C2000_21.6.0.LTS
      C2000_18.12.0.LTS
      C2000_20.2.0.LTS
      Show
      C2000_16.9.0.LTS C2000_18.1.0.LTS C2000_15.12.0.LTS C2000_6.4.0 C2000_21.6.0.LTS C2000_18.12.0.LTS C2000_20.2.0.LTS
    • Hide
      C2000_21.12.0.STS
      C2000_21.6.1.LTS*
      C2000_20.2.6.LTS*
      Show
      C2000_21.12.0.STS C2000_21.6.1.LTS* C2000_20.2.6.LTS*
    • default
    • Hide
      If a high priority fpu interrupt routine uses the RPTB instruction but does not save/restore RB register, then work arounds to force the RB register save/restore include: add a function call to the interrupt, or add additional code that requires using save-on-call registers.
      Show
      If a high priority fpu interrupt routine uses the RPTB instruction but does not save/restore RB register, then work arounds to force the RB register save/restore include: add a function call to the interrupt, or add additional code that requires using save-on-call registers.

      If a high priority fpu interrupt routine does not make any function calls, does not use any save-on-call registers, and uses the RPTB instruction, then the interrupt routine will not include RB register save/restores .

      For high priority fpu interrupt routines, the RB register should be save/restored if the interrupt routine uses the RPTB instruction.

      However, high priority fpu interrupt routines will only save/restore RB for below cases:  

      • the interrupt routine makes any function calls since all save-on-call registers are saved/restored
      • the interrupt routine generates any save-on-call register save/restores

       

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

              Created:
              Updated:
              Resolved: