[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] eab158: RISC-V: Convert cpu definition to fut
From: |
GitHub |
Subject: |
[Qemu-commits] [qemu/qemu] eab158: RISC-V: Convert cpu definition to future model |
Date: |
Thu, 29 Mar 2018 03:21:11 -0700 |
Branch: refs/heads/master
Home: https://github.com/qemu/qemu
Commit: eab158625703457b8aa6ce6c1b88a0e2c4899cc5
https://github.com/qemu/qemu/commit/eab158625703457b8aa6ce6c1b88a0e2c4899cc5
Author: Michael Clark <address@hidden>
Date: 2018-03-28 (Wed, 28 Mar 2018)
Changed paths:
M target/riscv/cpu.c
Log Message:
-----------
RISC-V: Convert cpu definition to future model
- Model borrowed from target/sh4/cpu.c
- Rewrote riscv_cpu_list to use object_class_get_list
- Dropped 'struct RISCVCPUInfo' and used TypeInfo array
- Replaced riscv_cpu_register_types with DEFINE_TYPES
- Marked base class as abstract
- Fixes -cpu list
Cc: Igor Mammedov <address@hidden>
Cc: Sagar Karandikar <address@hidden>
Cc: Bastian Koppelmann <address@hidden>
Cc: Palmer Dabbelt <address@hidden>
Signed-off-by: Michael Clark <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Igor Mammedov <address@hidden>
Commit: 33b4f859f1e1ea6722d10c3e9c0e3d85afb44ff4
https://github.com/qemu/qemu/commit/33b4f859f1e1ea6722d10c3e9c0e3d85afb44ff4
Author: Michael Clark <address@hidden>
Date: 2018-03-28 (Wed, 28 Mar 2018)
Changed paths:
M disas/riscv.c
Log Message:
-----------
RISC-V: Fix incorrect disassembly for addiw
This fixes a bug in the disassembler constraints used
to lift instructions into pseudo-instructions, whereby
addiw instructions are always lifted to sext.w instead
of just lifting addiw with a zero immediate.
An associated fix has been made to the metadata used to
machine generate the disseasembler:
https://github.com/michaeljclark/riscv-meta/
commit/4a6b2f3898430768acfe201405224d2ea31e1477
Cc: Sagar Karandikar <address@hidden>
Cc: Bastian Koppelmann <address@hidden>
Cc: Palmer Dabbelt <address@hidden>
Cc: Peter Maydell <address@hidden>
Signed-off-by: Michael Clark <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Commit: 47d3b60858d90ac8a0cc3a72af7f95c96781125a
https://github.com/qemu/qemu/commit/47d3b60858d90ac8a0cc3a72af7f95c96781125a
Author: Peter Maydell <address@hidden>
Date: 2018-03-28 (Wed, 28 Mar 2018)
Changed paths:
M disas/riscv.c
M target/riscv/cpu.c
Log Message:
-----------
Merge remote-tracking branch
'remotes/riscv/tags/riscv-qemu-2.12-important-fixes' into staging
RISC-V: Important fixes for QEMU 2.12
This series includes changes that are considered important.
i.e. correct user-visible bugs that are exercised by common
operations such as -cpu list (CPU model changes) or -d in_asm
(fix for disassembly of addiw)
# gpg: Signature made Wed 28 Mar 2018 21:34:57 BST
# gpg: using DSA key 6BF1D7B357EF3E4F
# gpg: Good signature from "Michael Clark <address@hidden>"
# gpg: aka "Michael Clark <address@hidden>"
# gpg: aka "Michael Clark <address@hidden>"
# 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: 7C99 930E B17C D8BA 073D 5EFA 6BF1 D7B3 57EF 3E4F
* remotes/riscv/tags/riscv-qemu-2.12-important-fixes:
RISC-V: Fix incorrect disassembly for addiw
RISC-V: Convert cpu definition to future model
Signed-off-by: Peter Maydell <address@hidden>
Compare: https://github.com/qemu/qemu/compare/043289bef4d9...47d3b60858d9
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [qemu/qemu] eab158: RISC-V: Convert cpu definition to future model,
GitHub <=