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

--- Comment #8 from Andreas Schwab <sch...@linux-m68k.org> 2011-01-25 20:05:54 
UTC ---
>+#ifdef __rtems__
>+void rtems_cache_flush_multiple_data_lines( const void *, size_t );
>+#else

Include the header that declares it.

>+      cmp.l   #0, %a1

        cmp.w    #0, %a1

>+      move.l  %d0,(%a1)
>+      move.l  %d1,4(%a1)

    move.l    %d0,(%a1)+
    move.l    %d1,(%a1)

>+      move.l  %d0,(%a1)
>+      move.l  %d1,4(%a1)
>+      move.l  %d2,8(%a1)

    move.l    %d0,(%a1)+
    move.l    %d1,(%a1)+
    move.l    %d2,(%a1)

>+      move.l  (%a0),%d0
>+      move.l  4(%a0),%d1

    move.l    (%a0)+,%d0
    move.l    (%a0),%d1

>+      move.l  (%a0),%d0
>+      move.l  4(%a0),%d1
>+      move.l  8(%a0),%d2

    move.l    (%a0)+,%d0
    move.l    (%a0)+,%d1
    move.l    (%a0),%d2

Reply via email to