[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] e788cd: elf: Add machine type value for Loong
From: |
Richard Henderson |
Subject: |
[Qemu-commits] [qemu/qemu] e788cd: elf: Add machine type value for LoongArch |
Date: |
Tue, 21 Dec 2021 14:53:52 -0800 |
Branch: refs/heads/master
Home: https://github.com/qemu/qemu
Commit: e788cd297273098af26c8f6a4971df70cfa11e01
https://github.com/qemu/qemu/commit/e788cd297273098af26c8f6a4971df70cfa11e01
Author: WANG Xuerui <git@xen0n.name>
Date: 2021-12-21 (Tue, 21 Dec 2021)
Changed paths:
M include/elf.h
Log Message:
-----------
elf: Add machine type value for LoongArch
This is already officially allocated as recorded in GNU binutils
repo [1], and the description is updated in [2]. Add to enable further
work.
[1]:
https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=4cf2ad720078a9f490dd5b5bc8893a926479196e
[2]:
https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=01a8c731aacbdbed0eb5682d13cc074dc7e25fb3
Signed-off-by: WANG Xuerui <git@xen0n.name>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20211221054105.178795-2-git@xen0n.name>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: afa33258f322b3f50e16b4fac8d32302f45c3462
https://github.com/qemu/qemu/commit/afa33258f322b3f50e16b4fac8d32302f45c3462
Author: WANG Xuerui <git@xen0n.name>
Date: 2021-12-21 (Tue, 21 Dec 2021)
Changed paths:
M MAINTAINERS
Log Message:
-----------
MAINTAINERS: Add tcg/loongarch64 entry with myself as maintainer
I ported the initial code, so I should maintain it of course.
Signed-off-by: WANG Xuerui <git@xen0n.name>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20211221054105.178795-3-git@xen0n.name>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: 6cb14e4de295e2d097d22289884f75a146938ecb
https://github.com/qemu/qemu/commit/6cb14e4de295e2d097d22289884f75a146938ecb
Author: WANG Xuerui <git@xen0n.name>
Date: 2021-12-21 (Tue, 21 Dec 2021)
Changed paths:
A tcg/loongarch64/tcg-target.h
Log Message:
-----------
tcg/loongarch64: Add the tcg-target.h file
Support for all optional TCG ops are initially marked disabled; the bits
are to be set in individual commits later.
Signed-off-by: WANG Xuerui <git@xen0n.name>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20211221054105.178795-4-git@xen0n.name>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: 71bb0283f5734053a962feac42f20ab70c370f28
https://github.com/qemu/qemu/commit/71bb0283f5734053a962feac42f20ab70c370f28
Author: WANG Xuerui <git@xen0n.name>
Date: 2021-12-21 (Tue, 21 Dec 2021)
Changed paths:
A tcg/loongarch64/tcg-insn-defs.c.inc
Log Message:
-----------
tcg/loongarch64: Add generated instruction opcodes and encoding helpers
Signed-off-by: WANG Xuerui <git@xen0n.name>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Acked-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20211221054105.178795-5-git@xen0n.name>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: 1bcfbf03dfa38c727312166081c0921590e798be
https://github.com/qemu/qemu/commit/1bcfbf03dfa38c727312166081c0921590e798be
Author: WANG Xuerui <git@xen0n.name>
Date: 2021-12-21 (Tue, 21 Dec 2021)
Changed paths:
A tcg/loongarch64/tcg-target.c.inc
Log Message:
-----------
tcg/loongarch64: Add register names, allocation order and input/output sets
Signed-off-by: WANG Xuerui <git@xen0n.name>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20211221054105.178795-6-git@xen0n.name>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: ba0cdd8040015cd519053ca7740e24a4c7826347
https://github.com/qemu/qemu/commit/ba0cdd8040015cd519053ca7740e24a4c7826347
Author: WANG Xuerui <git@xen0n.name>
Date: 2021-12-21 (Tue, 21 Dec 2021)
Changed paths:
A tcg/loongarch64/tcg-target-con-str.h
M tcg/loongarch64/tcg-target.c.inc
Log Message:
-----------
tcg/loongarch64: Define the operand constraints
Signed-off-by: WANG Xuerui <git@xen0n.name>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20211221054105.178795-7-git@xen0n.name>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: bf8c1c8140c748a3fcddf2b5367457a34cc82fa9
https://github.com/qemu/qemu/commit/bf8c1c8140c748a3fcddf2b5367457a34cc82fa9
Author: WANG Xuerui <git@xen0n.name>
Date: 2021-12-21 (Tue, 21 Dec 2021)
Changed paths:
M tcg/loongarch64/tcg-target.c.inc
Log Message:
-----------
tcg/loongarch64: Implement necessary relocation operations
Signed-off-by: WANG Xuerui <git@xen0n.name>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20211221054105.178795-8-git@xen0n.name>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: fae2361dc996ad68591ac8871d2c14f3a174ee3c
https://github.com/qemu/qemu/commit/fae2361dc996ad68591ac8871d2c14f3a174ee3c
Author: WANG Xuerui <git@xen0n.name>
Date: 2021-12-21 (Tue, 21 Dec 2021)
Changed paths:
M tcg/loongarch64/tcg-target.c.inc
Log Message:
-----------
tcg/loongarch64: Implement the memory barrier op
Signed-off-by: WANG Xuerui <git@xen0n.name>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20211221054105.178795-9-git@xen0n.name>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: dacc51720db9ccb89201c2f800cdc26d4d9c106c
https://github.com/qemu/qemu/commit/dacc51720db9ccb89201c2f800cdc26d4d9c106c
Author: WANG Xuerui <git@xen0n.name>
Date: 2021-12-21 (Tue, 21 Dec 2021)
Changed paths:
M tcg/loongarch64/tcg-target.c.inc
Log Message:
-----------
tcg/loongarch64: Implement tcg_out_mov and tcg_out_movi
Signed-off-by: WANG Xuerui <git@xen0n.name>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20211221054105.178795-10-git@xen0n.name>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: e3b15766b9020c8f7e52fc5d0d92b24a4626073b
https://github.com/qemu/qemu/commit/e3b15766b9020c8f7e52fc5d0d92b24a4626073b
Author: WANG Xuerui <git@xen0n.name>
Date: 2021-12-21 (Tue, 21 Dec 2021)
Changed paths:
A tcg/loongarch64/tcg-target-con-set.h
M tcg/loongarch64/tcg-target.c.inc
Log Message:
-----------
tcg/loongarch64: Implement goto_ptr
Signed-off-by: WANG Xuerui <git@xen0n.name>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20211221054105.178795-11-git@xen0n.name>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: 6be08fcfc3525dd61ad249d6a33add9ba5634b58
https://github.com/qemu/qemu/commit/6be08fcfc3525dd61ad249d6a33add9ba5634b58
Author: WANG Xuerui <git@xen0n.name>
Date: 2021-12-21 (Tue, 21 Dec 2021)
Changed paths:
M tcg/loongarch64/tcg-target-con-set.h
M tcg/loongarch64/tcg-target.c.inc
M tcg/loongarch64/tcg-target.h
Log Message:
-----------
tcg/loongarch64: Implement sign-/zero-extension ops
Signed-off-by: WANG Xuerui <git@xen0n.name>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20211221054105.178795-12-git@xen0n.name>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: 97b2fafbf707658e666cea85856148fb02e7628b
https://github.com/qemu/qemu/commit/97b2fafbf707658e666cea85856148fb02e7628b
Author: WANG Xuerui <git@xen0n.name>
Date: 2021-12-21 (Tue, 21 Dec 2021)
Changed paths:
M tcg/loongarch64/tcg-target-con-set.h
M tcg/loongarch64/tcg-target.c.inc
M tcg/loongarch64/tcg-target.h
Log Message:
-----------
tcg/loongarch64: Implement not/and/or/xor/nor/andc/orc ops
Signed-off-by: WANG Xuerui <git@xen0n.name>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20211221054105.178795-13-git@xen0n.name>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: 7257809f62d8e01b6e54046b3893c80a8fbfa1b4
https://github.com/qemu/qemu/commit/7257809f62d8e01b6e54046b3893c80a8fbfa1b4
Author: WANG Xuerui <git@xen0n.name>
Date: 2021-12-21 (Tue, 21 Dec 2021)
Changed paths:
M tcg/loongarch64/tcg-target-con-set.h
M tcg/loongarch64/tcg-target.c.inc
M tcg/loongarch64/tcg-target.h
Log Message:
-----------
tcg/loongarch64: Implement deposit/extract ops
Signed-off-by: WANG Xuerui <git@xen0n.name>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20211221054105.178795-14-git@xen0n.name>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: 4ab2aff0dbcf43ca3360dd52a4910b012a39d22e
https://github.com/qemu/qemu/commit/4ab2aff0dbcf43ca3360dd52a4910b012a39d22e
Author: WANG Xuerui <git@xen0n.name>
Date: 2021-12-21 (Tue, 21 Dec 2021)
Changed paths:
M tcg/loongarch64/tcg-target.c.inc
M tcg/loongarch64/tcg-target.h
Log Message:
-----------
tcg/loongarch64: Implement bswap{16,32,64} ops
Signed-off-by: WANG Xuerui <git@xen0n.name>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20211221054105.178795-15-git@xen0n.name>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: fde693016064ce5cb954b5c132daf59f5cdbf17d
https://github.com/qemu/qemu/commit/fde693016064ce5cb954b5c132daf59f5cdbf17d
Author: WANG Xuerui <git@xen0n.name>
Date: 2021-12-21 (Tue, 21 Dec 2021)
Changed paths:
M tcg/loongarch64/tcg-target-con-set.h
M tcg/loongarch64/tcg-target.c.inc
M tcg/loongarch64/tcg-target.h
Log Message:
-----------
tcg/loongarch64: Implement clz/ctz ops
Signed-off-by: WANG Xuerui <git@xen0n.name>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20211221054105.178795-16-git@xen0n.name>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: a164010b052abfd720110c46bc6835065de0e351
https://github.com/qemu/qemu/commit/a164010b052abfd720110c46bc6835065de0e351
Author: WANG Xuerui <git@xen0n.name>
Date: 2021-12-21 (Tue, 21 Dec 2021)
Changed paths:
M tcg/loongarch64/tcg-target-con-set.h
M tcg/loongarch64/tcg-target.c.inc
M tcg/loongarch64/tcg-target.h
Log Message:
-----------
tcg/loongarch64: Implement shl/shr/sar/rotl/rotr ops
Signed-off-by: WANG Xuerui <git@xen0n.name>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20211221054105.178795-17-git@xen0n.name>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: 39f54ce5c425047086b74ac7892ae492c9d02e9c
https://github.com/qemu/qemu/commit/39f54ce5c425047086b74ac7892ae492c9d02e9c
Author: WANG Xuerui <git@xen0n.name>
Date: 2021-12-21 (Tue, 21 Dec 2021)
Changed paths:
M tcg/loongarch64/tcg-target-con-set.h
M tcg/loongarch64/tcg-target.c.inc
Log Message:
-----------
tcg/loongarch64: Implement add/sub ops
The neg_i{32,64} ops is fully expressible with sub, so omitted for
simplicity.
Signed-off-by: WANG Xuerui <git@xen0n.name>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20211221054105.178795-18-git@xen0n.name>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: ff13c19689452a045c7df3e476b625d5ff1f7fb6
https://github.com/qemu/qemu/commit/ff13c19689452a045c7df3e476b625d5ff1f7fb6
Author: WANG Xuerui <git@xen0n.name>
Date: 2021-12-21 (Tue, 21 Dec 2021)
Changed paths:
M tcg/loongarch64/tcg-target-con-set.h
M tcg/loongarch64/tcg-target.c.inc
M tcg/loongarch64/tcg-target.h
Log Message:
-----------
tcg/loongarch64: Implement mul/mulsh/muluh/div/divu/rem/remu ops
Signed-off-by: WANG Xuerui <git@xen0n.name>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20211221054105.178795-19-git@xen0n.name>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: 94505c02f4fa8ef6469b692477b9b75d5f3c1f51
https://github.com/qemu/qemu/commit/94505c02f4fa8ef6469b692477b9b75d5f3c1f51
Author: WANG Xuerui <git@xen0n.name>
Date: 2021-12-21 (Tue, 21 Dec 2021)
Changed paths:
M tcg/loongarch64/tcg-target-con-set.h
M tcg/loongarch64/tcg-target.c.inc
Log Message:
-----------
tcg/loongarch64: Implement br/brcond ops
Signed-off-by: WANG Xuerui <git@xen0n.name>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20211221054105.178795-20-git@xen0n.name>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: 9ee775cf29dfdf6cffa9b4280bda9aa0e535d99d
https://github.com/qemu/qemu/commit/9ee775cf29dfdf6cffa9b4280bda9aa0e535d99d
Author: WANG Xuerui <git@xen0n.name>
Date: 2021-12-21 (Tue, 21 Dec 2021)
Changed paths:
M tcg/loongarch64/tcg-target-con-set.h
M tcg/loongarch64/tcg-target.c.inc
Log Message:
-----------
tcg/loongarch64: Implement setcond ops
Signed-off-by: WANG Xuerui <git@xen0n.name>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20211221054105.178795-21-git@xen0n.name>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: a26d99d72f0c26a38a067b6b3596d03f612ac8c5
https://github.com/qemu/qemu/commit/a26d99d72f0c26a38a067b6b3596d03f612ac8c5
Author: WANG Xuerui <git@xen0n.name>
Date: 2021-12-21 (Tue, 21 Dec 2021)
Changed paths:
M tcg/loongarch64/tcg-target.c.inc
Log Message:
-----------
tcg/loongarch64: Implement tcg_out_call
Signed-off-by: WANG Xuerui <git@xen0n.name>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20211221054105.178795-22-git@xen0n.name>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: 251ebcd8129d73b7099fbe5e9231aaaa96767cb5
https://github.com/qemu/qemu/commit/251ebcd8129d73b7099fbe5e9231aaaa96767cb5
Author: WANG Xuerui <git@xen0n.name>
Date: 2021-12-21 (Tue, 21 Dec 2021)
Changed paths:
M tcg/loongarch64/tcg-target-con-set.h
M tcg/loongarch64/tcg-target.c.inc
Log Message:
-----------
tcg/loongarch64: Implement simple load/store ops
Signed-off-by: WANG Xuerui <git@xen0n.name>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20211221054105.178795-23-git@xen0n.name>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: d3a1727c194edec6a8cd113eb23f83fc27663744
https://github.com/qemu/qemu/commit/d3a1727c194edec6a8cd113eb23f83fc27663744
Author: WANG Xuerui <git@xen0n.name>
Date: 2021-12-21 (Tue, 21 Dec 2021)
Changed paths:
M tcg/loongarch64/tcg-target-con-set.h
M tcg/loongarch64/tcg-target.c.inc
Log Message:
-----------
tcg/loongarch64: Add softmmu load/store helpers, implement qemu_ld/qemu_st ops
Signed-off-by: WANG Xuerui <git@xen0n.name>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20211221054105.178795-24-git@xen0n.name>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: 697a59805933ca58f20d407ee2cb0f2a2c19fba1
https://github.com/qemu/qemu/commit/697a59805933ca58f20d407ee2cb0f2a2c19fba1
Author: WANG Xuerui <git@xen0n.name>
Date: 2021-12-21 (Tue, 21 Dec 2021)
Changed paths:
M tcg/loongarch64/tcg-target.c.inc
Log Message:
-----------
tcg/loongarch64: Implement tcg_target_qemu_prologue
Signed-off-by: WANG Xuerui <git@xen0n.name>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20211221054105.178795-25-git@xen0n.name>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: 30d420e4d35eca26e61c57b21ddc5c9f34894846
https://github.com/qemu/qemu/commit/30d420e4d35eca26e61c57b21ddc5c9f34894846
Author: WANG Xuerui <git@xen0n.name>
Date: 2021-12-21 (Tue, 21 Dec 2021)
Changed paths:
M tcg/loongarch64/tcg-target.c.inc
Log Message:
-----------
tcg/loongarch64: Implement exit_tb/goto_tb
Signed-off-by: WANG Xuerui <git@xen0n.name>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20211221054105.178795-26-git@xen0n.name>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: 8df89cf0ae5f5ff658a27bdf8a045679eaf763c1
https://github.com/qemu/qemu/commit/8df89cf0ae5f5ff658a27bdf8a045679eaf763c1
Author: WANG Xuerui <git@xen0n.name>
Date: 2021-12-21 (Tue, 21 Dec 2021)
Changed paths:
M tcg/loongarch64/tcg-target.c.inc
Log Message:
-----------
tcg/loongarch64: Implement tcg_target_init
Signed-off-by: WANG Xuerui <git@xen0n.name>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20211221054105.178795-27-git@xen0n.name>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: a9ae47486a001420606fae9cd10b7764ec4dbf7d
https://github.com/qemu/qemu/commit/a9ae47486a001420606fae9cd10b7764ec4dbf7d
Author: WANG Xuerui <git@xen0n.name>
Date: 2021-12-21 (Tue, 21 Dec 2021)
Changed paths:
M tcg/loongarch64/tcg-target.c.inc
Log Message:
-----------
tcg/loongarch64: Register the JIT
Signed-off-by: WANG Xuerui <git@xen0n.name>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20211221054105.178795-28-git@xen0n.name>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: 6016b7b46edb714a53a31536b30ead9c3aafaef7
https://github.com/qemu/qemu/commit/6016b7b46edb714a53a31536b30ead9c3aafaef7
Author: WANG Xuerui <git@xen0n.name>
Date: 2021-12-21 (Tue, 21 Dec 2021)
Changed paths:
A common-user/host/loongarch64/safe-syscall.inc.S
Log Message:
-----------
common-user: Add safe syscall handling for loongarch64 hosts
Signed-off-by: WANG Xuerui <git@xen0n.name>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20211221054105.178795-29-git@xen0n.name>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: ad812c3bd6504948ee387f3e94eca7f28e8cd56f
https://github.com/qemu/qemu/commit/ad812c3bd6504948ee387f3e94eca7f28e8cd56f
Author: WANG Xuerui <git@xen0n.name>
Date: 2021-12-21 (Tue, 21 Dec 2021)
Changed paths:
A linux-user/host/loongarch64/host-signal.h
Log Message:
-----------
linux-user: Implement CPU-specific signal handler for loongarch64 hosts
Signed-off-by: WANG Xuerui <git@xen0n.name>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20211221054105.178795-30-git@xen0n.name>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: dfcf900ba67040ea9aa839aa38b33b4c091721d8
https://github.com/qemu/qemu/commit/dfcf900ba67040ea9aa839aa38b33b4c091721d8
Author: WANG Xuerui <git@xen0n.name>
Date: 2021-12-21 (Tue, 21 Dec 2021)
Changed paths:
M configure
M meson.build
Log Message:
-----------
configure, meson.build: Mark support for loongarch64 hosts
Example output of `uname -a` on an initial Gentoo LA64 port, running
the upstream submission version of Linux (with some very minor patches
not influencing output here):
> Linux <hostname> 5.14.0-10342-g37a00851b145 #5 SMP PREEMPT Tue Aug 10
> 12:56:24 PM CST 2021 loongarch64 GNU/Linux
And the same on the vendor-supplied Loongnix 20 system, with an early
in-house port of Linux, and using the old-world ABI:
> Linux <hostname> 4.19.167-rc5.lnd.1-loongson-3 #1 SMP Sat Apr 17 07:32:32 UTC
> 2021 loongarch64 loongarch64 loongarch64 GNU/Linux
So a name of "loongarch64" matches both, fortunately.
Signed-off-by: WANG Xuerui <git@xen0n.name>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20211221054105.178795-31-git@xen0n.name>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: 8c5f94cd4182753959c8be8de415120dc879d8f0
https://github.com/qemu/qemu/commit/8c5f94cd4182753959c8be8de415120dc879d8f0
Author: Richard Henderson <richard.henderson@linaro.org>
Date: 2021-12-21 (Tue, 21 Dec 2021)
Changed paths:
M MAINTAINERS
A common-user/host/loongarch64/safe-syscall.inc.S
M configure
M include/elf.h
A linux-user/host/loongarch64/host-signal.h
M meson.build
A tcg/loongarch64/tcg-insn-defs.c.inc
A tcg/loongarch64/tcg-target-con-set.h
A tcg/loongarch64/tcg-target-con-str.h
A tcg/loongarch64/tcg-target.c.inc
A tcg/loongarch64/tcg-target.h
Log Message:
-----------
Merge tag 'pull-loong-20211221-2' of https://gitlab.com/rth7680/qemu into
staging
Initial commit of tcg/loongarch64
# gpg: Signature made Tue 21 Dec 2021 01:19:00 PM PST
# gpg: using RSA key 7A481E78868B4DB6A85A05C064DF38E8AF7E215F
# gpg: issuer "richard.henderson@linaro.org"
# gpg: Good signature from "Richard Henderson <richard.henderson@linaro.org>"
[unknown]
# gpg: WARNING: This key is not certified with a trusted signature!
# gpg: There is no indication that the signature belongs to the owner.
# Primary key fingerprint: 7A48 1E78 868B 4DB6 A85A 05C0 64DF 38E8 AF7E 215F
* tag 'pull-loong-20211221-2' of https://gitlab.com/rth7680/qemu: (30 commits)
configure, meson.build: Mark support for loongarch64 hosts
linux-user: Implement CPU-specific signal handler for loongarch64 hosts
common-user: Add safe syscall handling for loongarch64 hosts
tcg/loongarch64: Register the JIT
tcg/loongarch64: Implement tcg_target_init
tcg/loongarch64: Implement exit_tb/goto_tb
tcg/loongarch64: Implement tcg_target_qemu_prologue
tcg/loongarch64: Add softmmu load/store helpers, implement qemu_ld/qemu_st ops
tcg/loongarch64: Implement simple load/store ops
tcg/loongarch64: Implement tcg_out_call
tcg/loongarch64: Implement setcond ops
tcg/loongarch64: Implement br/brcond ops
tcg/loongarch64: Implement mul/mulsh/muluh/div/divu/rem/remu ops
tcg/loongarch64: Implement add/sub ops
tcg/loongarch64: Implement shl/shr/sar/rotl/rotr ops
tcg/loongarch64: Implement clz/ctz ops
tcg/loongarch64: Implement bswap{16,32,64} ops
tcg/loongarch64: Implement deposit/extract ops
tcg/loongarch64: Implement not/and/or/xor/nor/andc/orc ops
tcg/loongarch64: Implement sign-/zero-extension ops
...
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Compare: https://github.com/qemu/qemu/compare/5316e12bb2b4...8c5f94cd4182