There seems to be a small error in one of the MIPS specific
header files that causes 1.0.7 to fail to compile on my
MIPS machine.

config/mips/common.h contains a movn instruction inside
a .set mips2 directive. According to my compiler and
reference manual the movn instruction is a mips 4 one.

Here is a patch.

Warwick
-- 
Warwick Hunter                    Agile TV Corporation
Voice: +61 7 5584 5912            Fax: +61 7 5575 9550
mailto:[EMAIL PROTECTED]           http://www.agile.tv

--- kaffe-1.0.7-rc1/config/mips/common.h        Wed Mar  7 10:38:17 2001
+++ kaffe-1.0.7-rc1/config/mips/common.h.atv    Thu Jun  6 05:52:25 2002
@@ -52,7 +52,7 @@
                                                \
        asm volatile(                           \
        "       .set    noreorder\n"            \
-       "       .set    mips2\n"                \
+       "       .set    mips4\n"                \
        "1:     ll      %0, %3\n"               \
        "       xor     %1, %0, %4\n"           \
        "       sltiu   %1, %1, 1\n"            \

Reply via email to