[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[RFC PATCH 31/42] default-configs: Support o32 ABI with R5900 64-bit MIP

From: Philippe Mathieu-Daudé
Subject: [RFC PATCH 31/42] default-configs: Support o32 ABI with R5900 64-bit MIPS CPU
Date: Sun, 14 Feb 2021 18:59:01 +0100

MIPS o32 ABI on 64-bit CPUs looks like a ILP32-on-64bit data
model, allowing 64-bit arithmetic and data movement instructions.

Since this ABI seems to have only ever been used for the
development of the PS2 with the "Sony Linux Toolkit for
Playstation 2" targetting the R5900 CPU (little-endian),
we name this user-mode target 'r5900o32el'.

Inspired-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
v2: Rename qemu-mips64o32el -> qemu-r5900o32el (Fredrik)
 docs/user/main.rst                                | 3 +++
 default-configs/targets/r5900o32el-linux-user.mak | 7 +++++++
 2 files changed, 10 insertions(+)
 create mode 100644 default-configs/targets/r5900o32el-linux-user.mak

diff --git a/docs/user/main.rst b/docs/user/main.rst
index 8dfe232a3af..405acb8155e 100644
--- a/docs/user/main.rst
+++ b/docs/user/main.rst
@@ -221,6 +221,9 @@ Other binaries
    * ``qemu-mipsn32el`` executes 32-bit little endian MIPS binaries (MIPS N32
+   * ``qemu-r5900o32el`` executes 64-bit little endian MIPS R5900 binaries 
+     O32 ABI).
 -  user mode (NiosII)
    * ``qemu-nios2`` TODO.
diff --git a/default-configs/targets/r5900o32el-linux-user.mak 
new file mode 100644
index 00000000000..ecd57ff949f
--- /dev/null
+++ b/default-configs/targets/r5900o32el-linux-user.mak
@@ -0,0 +1,7 @@

reply via email to

[Prev in Thread] Current Thread [Next in Thread]