1. 02 8月, 2013 1 次提交
    • C
      tile: optimize and clean up string functions · c53c70a9
      Chris Metcalf 提交于
      This change cleans up the string code in a number of ways:
      
      - For memcpy(), fix bug in prefetch and increase distance to 3 lines;
        optimize for unaligned data; do all loads before wh64 to make memcpy
        safe for forward-overlapping calls; etc.  Performance is improved.
      
      - Use new copy_byte() function on tilegx to spread a single byte value
        out into a full word using the shufflebytes instruction.
      
      - Clean up header include ordering to be more canonical, and remove
        spurious #undefs of function names.
      Signed-off-by: NChris Metcalf <cmetcalf@tilera.com>
      c53c70a9
  2. 16 10月, 2010 1 次提交
    • C
      arch/tile: minor whitespace/naming changes for string support files · 29507663
      Chris Metcalf 提交于
      Our internal process shares memcpy, memset, etc., with libc, and
      we did some minor tweaking as part of moving from uclibc to glibc,
      which is now reflected in the kernel versions of these files.
      
      There are no semantic changes in this commit, just whitespace
      (memcpy_32.S now properly uses tabs), naming (memmove.c instead
      of memmove_32.c, since TILE-Gx shares the file with TILEPro),
      and a couple of other minor tweaks.
      Signed-off-by: NChris Metcalf <cmetcalf@tilera.com>
      29507663
  3. 05 6月, 2010 1 次提交