This is the mail archive of the newlib@sourceware.org mailing list for the newlib 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]

Re: Patch for faster memcpy on MIPS


On Tue, 11 Dec 2012 11:15:49 -0800, Steve Ellcey wrote:
> I would like to replace the MIPS memcpy.c with a faster assembly language
> memcpy.S.

Hello,

This breaks something for me.

Building cross-compilers from powerpc64 to mips worked before, but now
I get a lot of errors from the assembler:

/home/stevenb/lra_mipsisa64_autotester/cross/combined/newlib/libc/machine/mips/memcpy.S:389:
Error: Illegal operands `ld t4,((4)*8)($5)'
/home/stevenb/lra_mipsisa64_autotester/cross/combined/newlib/libc/machine/mips/memcpy.S:390:
Error: Illegal operands `ld t5,((5)*8)($5)'
etc. (60 errors in total)

(BTW GNU standard is "error: ", not "Error: ".)

This is with a combined tree, configured with:
        ${COMBINED_DIR}/configure \
                --prefix=${GCCINS_DIR} \
                --target=mipsisa64-elf \
                --enable-languages=c,c++,fortran \
                --with-mpfr=/opt/cfarm/mpfr-latest \
                --with-gmp=/opt/cfarm/gmp-latest \
                --with-mpc=/opt/cfarm/mpc-latest \
                --with-cloog=/opt/cfarm/cloog-latest \
                --with-isl=/opt/cfarm/isl-latest \
                2>&1 | tee ${AUTOTESTER_DIR}/configlog

Ciao!
Steven



/home/stevenb/lra_mipsisa64_autotester/cross/build-lra/./gcc/xgcc
-B/home/stevenb/lra_mipsisa64_autotester/cross/build-lra/./gcc/
-nostdinc -B/home/stevenb/lra_mipsisa64_autotester/cross/build-lra/mipsisa64-elf/soft-float/newlib/
-isystem /home/stevenb/lra_mipsisa64_autotester/cross/build-lra/mipsisa64-elf/soft-float/newlib/targ-include
-isystem /home/stevenb/lra_mipsisa64_autotester/cross/combined/newlib/libc/include
-B/home/stevenb/lra_mipsisa64_autotester/cross/build-lra/mipsisa64-elf/soft-float/libgloss/mips
-L/home/stevenb/lra_mipsisa64_autotester/cross/build-lra/mipsisa64-elf/soft-float/libgloss/libnosys
-L/home/stevenb/lra_mipsisa64_autotester/cross/combined/libgloss/mips
-B/home/stevenb/lra_mipsisa64_autotester/cross/install-lra/mipsisa64-elf/bin/
-B/home/stevenb/lra_mipsisa64_autotester/cross/install-lra/mipsisa64-elf/lib/
-isystem /home/stevenb/lra_mipsisa64_autotester/cross/install-lra/mipsisa64-elf/include
-isystem /home/stevenb/lra_mipsisa64_autotester/cross/install-lra/mipsisa64-elf/sys-include
-L/home/stevenb/lra_mipsisa64_autotester/cross/build-lra/./ld
-msoft-float -DPACKAGE_NAME=\"newlib\" -DPACKAGE_TARNAME=\"newlib\"
-DPACKAGE_VERSION=\"2.0.0\" -DPACKAGE_STRING=\"newlib\ 2.0.0\"
-DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -I.
-I/home/stevenb/lra_mipsisa64_autotester/cross/combined/newlib/libc/machine/mips
-DMISSING_SYSCALL_NAMES -fno-builtin     -DMISSING_SYSCALL_NAMES
-fno-builtin   -D_COMPILING_NEWLIB -g -O2  -msoft-float -c -o
lib_a-memcpy.o `test -f 'memcpy.S' || echo
'/home/stevenb/lra_mipsisa64_autotester/cross/combined/newlib/libc/machine/mips/'`memcpy.S
/home/stevenb/lra_mipsisa64_autotester/cross/combined/newlib/libc/machine/mips/memcpy.S:
Assembler messages:
/home/stevenb/lra_mipsisa64_autotester/cross/combined/newlib/libc/machine/mips/memcpy.S:389:
Error: Illegal operands `ld t4,((4)*8)($5)'
/home/stevenb/lra_mipsisa64_autotester/cross/combined/newlib/libc/machine/mips/memcpy.S:390:
Error: Illegal operands `ld t5,((5)*8)($5)'
/home/stevenb/lra_mipsisa64_autotester/cross/combined/newlib/libc/machine/mips/memcpy.S:391:
Error: Illegal operands `ld t6,((6)*8)($5)'
/home/stevenb/lra_mipsisa64_autotester/cross/combined/newlib/libc/machine/mips/memcpy.S:392:
Error: Illegal operands `ld t7,((7)*8)($5)'
/home/stevenb/lra_mipsisa64_autotester/cross/combined/newlib/libc/machine/mips/memcpy.S:399:
Error: Illegal operands `sd t4,((4)*8)($4)'
/home/stevenb/lra_mipsisa64_autotester/cross/combined/newlib/libc/machine/mips/memcpy.S:400:
Error: Illegal operands `sd t5,((5)*8)($4)'
/home/stevenb/lra_mipsisa64_autotester/cross/combined/newlib/libc/machine/mips/memcpy.S:401:
Error: Illegal operands `sd t6,((6)*8)($4)'
/home/stevenb/lra_mipsisa64_autotester/cross/combined/newlib/libc/machine/mips/memcpy.S:402:
Error: Illegal operands `sd t7,((7)*8)($4)'
/home/stevenb/lra_mipsisa64_autotester/cross/combined/newlib/libc/machine/mips/memcpy.S:408:
Error: Illegal operands `ld t4,((12)*8)($5)'
/home/stevenb/lra_mipsisa64_autotester/cross/combined/newlib/libc/machine/mips/memcpy.S:409:
Error: Illegal operands `ld t5,((13)*8)($5)'
/home/stevenb/lra_mipsisa64_autotester/cross/combined/newlib/libc/machine/mips/memcpy.S:410:
Error: Illegal operands `ld t6,((14)*8)($5)'
/home/stevenb/lra_mipsisa64_autotester/cross/combined/newlib/libc/machine/mips/memcpy.S:411:
Error: Illegal operands `ld t7,((15)*8)($5)'
/home/stevenb/lra_mipsisa64_autotester/cross/combined/newlib/libc/machine/mips/memcpy.S:417:
Error: Illegal operands `sd t4,((12)*8)($4)'
/home/stevenb/lra_mipsisa64_autotester/cross/combined/newlib/libc/machine/mips/memcpy.S:418:
Error: Illegal operands `sd t5,((13)*8)($4)'
/home/stevenb/lra_mipsisa64_autotester/cross/combined/newlib/libc/machine/mips/memcpy.S:419:
Error: Illegal operands `sd t6,((14)*8)($4)'
/home/stevenb/lra_mipsisa64_autotester/cross/combined/newlib/libc/machine/mips/memcpy.S:420:
Error: Illegal operands `sd t7,((15)*8)($4)'
/home/stevenb/lra_mipsisa64_autotester/cross/combined/newlib/libc/machine/mips/memcpy.S:442:
Error: Illegal operands `ld t4,((4)*8)($5)'
/home/stevenb/lra_mipsisa64_autotester/cross/combined/newlib/libc/machine/mips/memcpy.S:443:
Error: Illegal operands `ld t5,((5)*8)($5)'
/home/stevenb/lra_mipsisa64_autotester/cross/combined/newlib/libc/machine/mips/memcpy.S:444:
Error: Illegal operands `ld t6,((6)*8)($5)'
/home/stevenb/lra_mipsisa64_autotester/cross/combined/newlib/libc/machine/mips/memcpy.S:445:
Error: Illegal operands `ld t7,((7)*8)($5)'
/home/stevenb/lra_mipsisa64_autotester/cross/combined/newlib/libc/machine/mips/memcpy.S:451:
Error: Illegal operands `sd t4,((4)*8)($4)'
/home/stevenb/lra_mipsisa64_autotester/cross/combined/newlib/libc/machine/mips/memcpy.S:452:
Error: Illegal operands `sd t5,((5)*8)($4)'
/home/stevenb/lra_mipsisa64_autotester/cross/combined/newlib/libc/machine/mips/memcpy.S:453:
Error: Illegal operands `sd t6,((6)*8)($4)'
/home/stevenb/lra_mipsisa64_autotester/cross/combined/newlib/libc/machine/mips/memcpy.S:454:
Error: Illegal operands `sd t7,((7)*8)($4)'
/home/stevenb/lra_mipsisa64_autotester/cross/combined/newlib/libc/machine/mips/memcpy.S:561:
Error: Illegal operands `ldl t4,((4)*8)($5)'
/home/stevenb/lra_mipsisa64_autotester/cross/combined/newlib/libc/machine/mips/memcpy.S:562:
Error: Illegal operands `ldl t5,((5)*8)($5)'
/home/stevenb/lra_mipsisa64_autotester/cross/combined/newlib/libc/machine/mips/memcpy.S:563:
Error: Illegal operands `ldl t6,((6)*8)($5)'
/home/stevenb/lra_mipsisa64_autotester/cross/combined/newlib/libc/machine/mips/memcpy.S:564:
Error: Illegal operands `ldl t7,((7)*8)($5)'
/home/stevenb/lra_mipsisa64_autotester/cross/combined/newlib/libc/machine/mips/memcpy.S:569:
Error: Illegal operands `ldr t4,(((5)*8)-1)($5)'
/home/stevenb/lra_mipsisa64_autotester/cross/combined/newlib/libc/machine/mips/memcpy.S:570:
Error: Illegal operands `ldr t5,(((6)*8)-1)($5)'
/home/stevenb/lra_mipsisa64_autotester/cross/combined/newlib/libc/machine/mips/memcpy.S:571:
Error: Illegal operands `ldr t6,(((7)*8)-1)($5)'
/home/stevenb/lra_mipsisa64_autotester/cross/combined/newlib/libc/machine/mips/memcpy.S:572:
Error: Illegal operands `ldr t7,(((8)*8)-1)($5)'
/home/stevenb/lra_mipsisa64_autotester/cross/combined/newlib/libc/machine/mips/memcpy.S:578:
Error: Illegal operands `sd t4,((4)*8)($4)'
/home/stevenb/lra_mipsisa64_autotester/cross/combined/newlib/libc/machine/mips/memcpy.S:579:
Error: Illegal operands `sd t5,((5)*8)($4)'
/home/stevenb/lra_mipsisa64_autotester/cross/combined/newlib/libc/machine/mips/memcpy.S:580:
Error: Illegal operands `sd t6,((6)*8)($4)'
/home/stevenb/lra_mipsisa64_autotester/cross/combined/newlib/libc/machine/mips/memcpy.S:581:
Error: Illegal operands `sd t7,((7)*8)($4)'
/home/stevenb/lra_mipsisa64_autotester/cross/combined/newlib/libc/machine/mips/memcpy.S:586:
Error: Illegal operands `ldl t4,((12)*8)($5)'
/home/stevenb/lra_mipsisa64_autotester/cross/combined/newlib/libc/machine/mips/memcpy.S:587:
Error: Illegal operands `ldl t5,((13)*8)($5)'
/home/stevenb/lra_mipsisa64_autotester/cross/combined/newlib/libc/machine/mips/memcpy.S:588:
Error: Illegal operands `ldl t6,((14)*8)($5)'
/home/stevenb/lra_mipsisa64_autotester/cross/combined/newlib/libc/machine/mips/memcpy.S:589:
Error: Illegal operands `ldl t7,((15)*8)($5)'
/home/stevenb/lra_mipsisa64_autotester/cross/combined/newlib/libc/machine/mips/memcpy.S:594:
Error: Illegal operands `ldr t4,(((13)*8)-1)($5)'
/home/stevenb/lra_mipsisa64_autotester/cross/combined/newlib/libc/machine/mips/memcpy.S:595:
Error: Illegal operands `ldr t5,(((14)*8)-1)($5)'
/home/stevenb/lra_mipsisa64_autotester/cross/combined/newlib/libc/machine/mips/memcpy.S:596:
Error: Illegal operands `ldr t6,(((15)*8)-1)($5)'
/home/stevenb/lra_mipsisa64_autotester/cross/combined/newlib/libc/machine/mips/memcpy.S:597:
Error: Illegal operands `ldr t7,(((16)*8)-1)($5)'
/home/stevenb/lra_mipsisa64_autotester/cross/combined/newlib/libc/machine/mips/memcpy.S:603:
Error: Illegal operands `sd t4,((12)*8)($4)'
/home/stevenb/lra_mipsisa64_autotester/cross/combined/newlib/libc/machine/mips/memcpy.S:604:
Error: Illegal operands `sd t5,((13)*8)($4)'
/home/stevenb/lra_mipsisa64_autotester/cross/combined/newlib/libc/machine/mips/memcpy.S:605:
Error: Illegal operands `sd t6,((14)*8)($4)'
/home/stevenb/lra_mipsisa64_autotester/cross/combined/newlib/libc/machine/mips/memcpy.S:606:
Error: Illegal operands `sd t7,((15)*8)($4)'
/home/stevenb/lra_mipsisa64_autotester/cross/combined/newlib/libc/machine/mips/memcpy.S:627:
Error: Illegal operands `ldl t4,((4)*8)($5)'
/home/stevenb/lra_mipsisa64_autotester/cross/combined/newlib/libc/machine/mips/memcpy.S:628:
Error: Illegal operands `ldl t5,((5)*8)($5)'
/home/stevenb/lra_mipsisa64_autotester/cross/combined/newlib/libc/machine/mips/memcpy.S:629:
Error: Illegal operands `ldl t6,((6)*8)($5)'
/home/stevenb/lra_mipsisa64_autotester/cross/combined/newlib/libc/machine/mips/memcpy.S:630:
Error: Illegal operands `ldl t7,((7)*8)($5)'
/home/stevenb/lra_mipsisa64_autotester/cross/combined/newlib/libc/machine/mips/memcpy.S:635:
Error: Illegal operands `ldr t4,(((5)*8)-1)($5)'
/home/stevenb/lra_mipsisa64_autotester/cross/combined/newlib/libc/machine/mips/memcpy.S:636:
Error: Illegal operands `ldr t5,(((6)*8)-1)($5)'
/home/stevenb/lra_mipsisa64_autotester/cross/combined/newlib/libc/machine/mips/memcpy.S:637:
Error: Illegal operands `ldr t6,(((7)*8)-1)($5)'
/home/stevenb/lra_mipsisa64_autotester/cross/combined/newlib/libc/machine/mips/memcpy.S:638:
Error: Illegal operands `ldr t7,(((8)*8)-1)($5)'
/home/stevenb/lra_mipsisa64_autotester/cross/combined/newlib/libc/machine/mips/memcpy.S:644:
Error: Illegal operands `sd t4,((4)*8)($4)'
/home/stevenb/lra_mipsisa64_autotester/cross/combined/newlib/libc/machine/mips/memcpy.S:645:
Error: Illegal operands `sd t5,((5)*8)($4)'
/home/stevenb/lra_mipsisa64_autotester/cross/combined/newlib/libc/machine/mips/memcpy.S:646:
Error: Illegal operands `sd t6,((6)*8)($4)'
/home/stevenb/lra_mipsisa64_autotester/cross/combined/newlib/libc/machine/mips/memcpy.S:647:
Error: Illegal operands `sd t7,((7)*8)($4)'


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