diff options
| author | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2020-12-14 01:32:12 +0100 |
|---|---|---|
| committer | Laurent Vivier <laurent@vivier.eu> | 2020-12-17 10:34:59 +0100 |
| commit | 388765a05bde86de9d9b66348afed6551c58f091 (patch) | |
| tree | 899871a522f0ccdb60a047667c348491e06df027 /linux-user/syscall.c | |
| parent | 7d9a3d96f57dfed441622ebb9d1516473d51f919 (diff) | |
| download | focaccia-qemu-388765a05bde86de9d9b66348afed6551c58f091.tar.gz focaccia-qemu-388765a05bde86de9d9b66348afed6551c58f091.zip | |
linux-user/elfload: Introduce MIPS GET_FEATURE_REG_SET() macro
ISA features are usually denoted in read-only bits from CPU registers. Add the GET_FEATURE_REG_SET() macro which checks if a CPU register has bits set. Use the macro to check for MSA (which sets the MSAP bit of the Config3 register when the ASE implementation is present). Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <20201214003215.344522-4-f4bug@amsat.org> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'linux-user/syscall.c')
0 files changed, 0 insertions, 0 deletions