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

struct field in register is not sign-extended to 32 bits before 32-bit compare

    XMLWordPrintable

Details

    • Bug
    • Status: Fixed
    • High
    • Resolution: Fixed
    • Code Generation Tools
    • CODEGEN-1271
    • SDSCM00052864
    • Hide
      C6000_8.1.0
       ARM_15.12.0.LTS
       ARM_5.2.0
      Show
      C6000_8.1.0  ARM_15.12.0.LTS  ARM_5.2.0
    • Hide
      ARM_5.2.8
       C6000_8.1.2
       ARM_15.12.4.LTS
      Show
      ARM_5.2.8  C6000_8.1.2  ARM_15.12.4.LTS
    • Declare the local struct as volatile
    • Hide
      The compiler can place small structs in registers for fast access. In this case, the compiler fails to sign-extend a 16-bit struct member to 32-bits before a 32-bit comparison. This can happen for structs 32 bits or less, with any integer field 16 bits or less.
      Show
      The compiler can place small structs in registers for fast access. In this case, the compiler fails to sign-extend a 16-bit struct member to 32-bits before a 32-bit comparison. This can happen for structs 32 bits or less, with any integer field 16 bits or less.

    Description

      struct field in register is not sign-extended to 32 bits before 32-bit compare

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: