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

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • 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.

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

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

              Created:
              Updated:
              Resolved: