~linaro-toolchain-dev/cortex-strings/trunk

« back to all changes in this revision

Viewing changes to src/linaro-a9/memcpy.S

  • Committer: Will Newton
  • Date: 2013-06-27 16:50:54 UTC
  • Revision ID: will.newton@linaro.org-20130627165054-5on4p2aztiey44nh
Tweak memcpy for performance with misaligned buffers.

Show diffs side-by-side

added added

removed removed

Lines of Context:
239
239
.Lcpy_not_short:
240
240
        /* At least 64 bytes to copy, but don't know the alignment yet.  */
241
241
        str     tmp2, [sp, #-FRAME_SIZE]!
242
 
        and     tmp2, src, #3
243
 
        and     tmp1, dst, #3
 
242
        and     tmp2, src, #7
 
243
        and     tmp1, dst, #7
244
244
        cmp     tmp1, tmp2
245
245
        bne     .Lcpy_notaligned
246
246