From d9986fbadb6c50b826e39e5f690bcf0b4cd6a20b Mon Sep 17 00:00:00 2001 From: Mike Pall Date: Sat, 28 May 2016 05:10:55 +0200 Subject: MIPS64, part 1: Add MIPS64 support to interpreter. Contributed by Djordje Kovacevic and Stefan Pejic from RT-RK.com. Sponsored by Cisco Systems, Inc. --- doc/install.html | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'doc/install.html') diff --git a/doc/install.html b/doc/install.html index 9963010d..38c9a6bb 100644 --- a/doc/install.html +++ b/doc/install.html @@ -148,7 +148,7 @@ operating systems, CPUs and compilers: XEDK (Xbox 360) -MIPS +MIPS32
MIPS64
GCC 4.3+ GCC 4.3+   @@ -386,7 +386,7 @@ important to compile with the proper CPU or architecture settings:
  • The best way to get consistent results is to specify the correct settings when building the toolchain yourself.
  • For a pre-built, generic toolchain add -mcpu=... or -march=... and other necessary flags to TARGET_CFLAGS.
  • For ARM it's important to have the correct -mfloat-abi=... setting, too. Otherwise LuaJIT may not run at the full performance of your target CPU.
  • -
  • For MIPS it's important to select a supported ABI (o32 on MIPS32) and consistently compile your project either with hard-float or soft-float compiler settings. Do not use -mips16.
  • +
  • For MIPS it's important to select a supported ABI (o32 on MIPS32, n64 on MIPS64) and consistently compile your project either with hard-float or soft-float compiler settings. Do not use -mips16.
  • Here are some examples for targets with a different CPU than the host: @@ -409,10 +409,15 @@ make CROSS=aarch64-linux- # PPC make HOST_CC="gcc -m32" CROSS=powerpc-linux-gnu- -# MIPS big-endian +# MIPS32 big-endian make HOST_CC="gcc -m32" CROSS=mips-linux- -# MIPS little-endian +# MIPS32 little-endian make HOST_CC="gcc -m32" CROSS=mipsel-linux- + +# MIPS64 big-endian +make CROSS=mips-linux- TARGET_CFLAGS="-mips64r2 -mabi=64" +# MIPS64 little-endian +make CROSS=mipsel-linux- TARGET_CFLAGS="-mips64r2 -mabi=64"

    You can cross-compile for Android using the Android NDK. -- cgit v1.2.3-55-g6feb