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

memset is slower than optimal for 32-bit types

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: Low Low

      When length is 256 or less, calls to memset are inlined.  For values larger than 256, no combination of compiler options or source changes cause memset to be inlined.

      When the memory location written to is a 32-bit type, instructions that write 32-bits to memory at once should be used.  But 16-bit writes to memory are always used.

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

              Created:
              Updated: