[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 0/6] linux-user: Rework get_elf_hwcap() and support MIPS Loong
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH v3 0/6] linux-user: Rework get_elf_hwcap() and support MIPS Loongson 2F/3E |
Date: |
Tue, 1 Dec 2020 20:28:01 +0100 |
Missing review: #4
Since v2:
- Use extract32() in GET_FEATURE_REG_EQU (rth)
Introduce the GET_FEATURE_REG_SET() and GET_FEATURE_REG_EQU()
macros to check if an instruction set is supported by a CPU
using CP0 read-only bits (instead of QEMU insn_flags which
is not always coherent - we might remove it soon).
Use these macros to test for MSA ASE and Release 6.
Update the ELF HWCAP bits and set the Loongson instructions
so we can run 2F/3E userland binaries.
Philippe Mathieu-Daudé (6):
linux-user/elfload: Move GET_FEATURE macro out of get_elf_hwcap() body
linux-user/elfload: Rename MIPS GET_FEATURE() as GET_FEATURE_INSN()
linux-user/elfload: Introduce MIPS GET_FEATURE_REG_SET() macro
linux-user/elfload: Introduce MIPS GET_FEATURE_REG_EQU() macro
linux-user/elfload: Update HWCAP bits from linux 5.7
linux-user: Add support for MIPS Loongson 2F/3E
linux-user/elfload.c | 42 +++++++++++++++++++++++++++++++++++-------
1 file changed, 35 insertions(+), 7 deletions(-)
--
2.26.2
- [PATCH v3 0/6] linux-user: Rework get_elf_hwcap() and support MIPS Loongson 2F/3E,
Philippe Mathieu-Daudé <=
- [PATCH v3 1/6] linux-user/elfload: Move GET_FEATURE macro out of get_elf_hwcap() body, Philippe Mathieu-Daudé, 2020/12/01
- [PATCH v3 2/6] linux-user/elfload: Rename MIPS GET_FEATURE() as GET_FEATURE_INSN(), Philippe Mathieu-Daudé, 2020/12/01
- [PATCH v3 3/6] linux-user/elfload: Introduce MIPS GET_FEATURE_REG_SET() macro, Philippe Mathieu-Daudé, 2020/12/01
- [PATCH v3 4/6] linux-user/elfload: Introduce MIPS GET_FEATURE_REG_EQU() macro, Philippe Mathieu-Daudé, 2020/12/01
- [PATCH v3 5/6] linux-user/elfload: Update HWCAP bits from linux 5.7, Philippe Mathieu-Daudé, 2020/12/01
- [PATCH v3 6/6] linux-user: Add support for MIPS Loongson 2F/3E, Philippe Mathieu-Daudé, 2020/12/01