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

C2000 float to int intrinsics matching error

    XMLWordPrintable

Details

    • Bug
    • Status: Fixed
    • Medium
    • Resolution: Fixed
    • Code Generation Tools
    • CODEGEN-3580
    • Hide
      C2000_15.12.0.LTS
       C2000_6.4.0B1
       C2000_16.9.0.LTS
      Show
      C2000_15.12.0.LTS  C2000_6.4.0B1  C2000_16.9.0.LTS
    • Hide
      C2000_17.9.0.STS
       C2000_15.12.7.LTS
      Show
      C2000_17.9.0.STS  C2000_15.12.7.LTS
    • Hide
      Assign the result to the same signedness as the conversion and subsequently cast it to the other:

        unsigned int x = __f32toui16r(f);
        int y = x;

        int y = __f32toi16r(f);
        unsigned int x = y;
      Show
      Assign the result to the same signedness as the conversion and subsequently cast it to the other:   unsigned int x = __f32toui16r(f);   int y = x;   int y = __f32toi16r(f);   unsigned int x = y;
    • The following intrinsics fail to match depending on whether the result is assigned to a signed or unsigned int. Conversion to un...

    Description

      C2000 float to int intrinsics matching error

      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: