This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/46644] Built-in memcpy() does not test for unaligned destination address on ARM


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46644

--- Comment #1 from Emmanuel Blot <eblot.ml at gmail dot com> 2010-11-24 19:17:01 UTC ---
Sorry, output assembler in last example (32-bit) is:


00000000 <memcpy_test>:
   0:    e59f3014     ldr    r3, [pc, #20]    ; 1c <memcpy_test+0x1c>
   4:    e5932000     ldr    r2, [r3]
   8:    e59f3010     ldr    r3, [pc, #16]    ; 20 <memcpy_test+0x20>
   c:    e5922000     ldr    r2, [r2]
  10:    e5933000     ldr    r3, [r3]
  14:    e5832000     str    r2, [r3]
  18:    e12fff1e     bx    lr


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]