[Bug libffi/47442] does not build multilib on m68k

schwab@linux-m68k.org gcc-bugzilla@gcc.gnu.org
Tue Jan 25 20:42:00 GMT 2011


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

--- Comment #8 from Andreas Schwab <schwab@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



More information about the Gcc-bugs mailing list