C7000 Host Emulation SE load of scalar floating point has incorrect value

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Medium
    • Code Generation Tools
    • CODEGEN-14555
    • Hide
      C7000_1.4.0.LTS
      C7000_6.0.0.STS
      C7000_2.1.0.LTS
      C7000_5.0.0.LTS
      C7000_2.0.0.STS
      C7000_3.0.0.STS
      C7000_3.1.0.LTS
      C7000_4.0.0.STS
      C7000_4.1.0.LTS
      Show
      C7000_1.4.0.LTS C7000_6.0.0.STS C7000_2.1.0.LTS C7000_5.0.0.LTS C7000_2.0.0.STS C7000_3.0.0.STS C7000_3.1.0.LTS C7000_4.0.0.STS C7000_4.1.0.LTS
    • Hide
      C7000_6.x.0.LTS*
      C7000_4.1.2.LTS*
      C7000_5.0.2.LTS*
      Show
      C7000_6.x.0.LTS* C7000_4.1.2.LTS* C7000_5.0.2.LTS*
    • default
    • Hide
      Load the value as an integral type and then re-interpret the value as a float. For example, instead of
      {noformat}float tmp = __SE0ADV(float);{noformat}
      Instead use
      {noformat}float tmp = __as_float(__SE0ADV(int));{noformat}
      Show
      Load the value as an integral type and then re-interpret the value as a float. For example, instead of {noformat}float tmp = __SE0ADV(float);{noformat} Instead use {noformat}float tmp = __as_float(__SE0ADV(int));{noformat}

      When the Streaming Engine (SE) is used in C7000 Host Emulation to load a scalar floating point value, similar to below, incorrect results will be generated.

      float tmp = __SE0ADV(float);

      The resulting value will instead be the encoding of the float read as an integer and converted to a float.

      For example, 1.0f is encoded as 0x3F800000. The base-10 representation is 1065353216, which will be converted to float. Therefore instead of reading 1.0f, the SE will instead read 1065353216.0f.

      The cl7x compiler itself is not affected – only C7000 Host Emulation.

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

              Created:
              Updated:
              Resolved:

                Connection: Intermediate to External PROD System
                EXTSYNC-5984 - C7000 Host Emulation SE load of sca...
                SYNCHRONIZED
                • Last Sync Date: