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

ARM compiler error with 64-bit constant decomposed into 2 16-bit constants

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • Code Generation Tools
    • CODEGEN-5924
    • Hide
      ARM_18.1.0.LTS
       ARM_18.12.0.LTS
       ARM_19.6.0.STS
      Show
      ARM_18.1.0.LTS  ARM_18.12.0.LTS  ARM_19.6.0.STS
    • Hide
      ARM_19.6.0.STS
       ARM_18.1.6.LTS
       ARM_18.12.2.LTS
      Show
      ARM_19.6.0.STS  ARM_18.1.6.LTS  ARM_18.12.2.LTS
    • Hide
      One workaround is to change the negative constant in the assembly file to its unsigned equivalent and recompile the assembly file. In this case, the option to keep the assembly file must be used. The negative constant causing the compiler error should be converted to its binary representation, and that representation converted to an unsigned number.
      Show
      One workaround is to change the negative constant in the assembly file to its unsigned equivalent and recompile the assembly file. In this case, the option to keep the assembly file must be used. The negative constant causing the compiler error should be converted to its binary representation, and that representation converted to an unsigned number.
    • Hide
      A load of a 64-bit source constant such as the following example, which can be broken into 2 16-bit constants for bits 0-15 and 32-47 (bits 16-31 and 48-64 are 0), may incorrectly emit a negative constant in the assembly file, causing the assembler to issue an error.
      For example:
      unsigned long long x = 0xca0600006274;
      Show
      A load of a 64-bit source constant such as the following example, which can be broken into 2 16-bit constants for bits 0-15 and 32-47 (bits 16-31 and 48-64 are 0), may incorrectly emit a negative constant in the assembly file, causing the assembler to issue an error. For example: unsigned long long x = 0xca0600006274;

      ARM compiler error with 64-bit constant decomposed into 2 16-bit constants

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

              Created:
              Updated:
              Resolved: