[PATCH 00/24] MIPS: Add support for reconfigurable FPR size, MIPS MSA and MIPSR6
Bhushan Attarde
bhushan.attarde@imgtec.com
Wed Jun 29 12:46:00 GMT 2016
Hi All,
This patch series (total 24 patches) has following changes:
1. Handles run-time reconfigurable FPR size. MIPS revision 2 onwards MIPS32
and MIPS64 both can have either 32-bit or 64-bit FPRs. This is decided
based on the values of CP1.FIR.F64, CP0.SR.FR and CP0.Config5.FRE bits.
Patch 1 to patch 12 in the series handles this property. This work is based
on the patch submitted earlier by Maciej W. Rozycki. Please refer to
https://sourceware.org/ml/gdb-patches/2012-06/msg00201.html for details. So
this series includes his patch (updated to GDB 7.11 release version) as the
[patch 1] of the series.
2. Adds support to MIPS SIMD Architecture (MSA). The patch 13 to 20
includes changes related to MSA.
3. Adds MIPS revision 6 (MIPSR6) support in GDB. The patch 21 to 24
includes changes related to MIPSR6 support in GDB.
*** BLURB HERE ***
Bhushan Attarde (24):
MIPS: Handle run-time reconfigurable FPR size
Add MIPS32 FPU64 GDB target descriptions
regcache: handle invalidated regcache
Add MIPS Config5 register related support
MIPS: Add config5 to MIPS GDB target descriptions
mips-linux-nat: pick fp64 target description when appropriate
MIPS: Make Linux restart register more dynamic
MIPS: Convert FP mode to enum and put fp registers into fp reggroup
MIPS: Enhance cooked FP format
MIPS: override fscr/fir types and print control registers specially
MIPS: Add support for hybrid fp32/fp64 mode
o32 sigframe unwinding with FR1
Add MIPS MSA GDB target descriptions
Implement core MSA stuff
MIPS: Define msascr/msair types
Pick msa target when appropriate and put msa registers into vector
reggroups.
Add msa support etc to gdbserver
mips-linux-nat: get msa registers
Add MIPS MSA vector branch instruction support
Drop FP and MSA control registers from default info registers
MIPSR6 support for GDB
Support all new ABIs when detecting if an FPU is present
MIPS R6 opcode table shuffle for LDC2/SDC2
MIPS R6 forbidden slot support
gdb/features/Makefile | 11 +-
gdb/features/mips-cp0.xml | 1 +
gdb/features/mips-dsp-linux.c | 85 +-
gdb/features/mips-dsp.xml | 14 +-
gdb/features/mips-fpu.xml | 2 +-
gdb/features/mips-fpu128.xml | 47 +
gdb/features/mips-fpu64-dsp-linux.c | 111 ++
gdb/features/mips-fpu64-dsp-linux.xml | 20 +
gdb/features/mips-fpu64-linux.c | 102 ++
gdb/features/mips-fpu64-linux.xml | 19 +
gdb/features/mips-fpu64.xml | 45 +
gdb/features/mips-linux.c | 71 +-
gdb/features/mips-msa-linux.c | 110 ++
gdb/features/mips-msa-linux.xml | 26 +
gdb/features/mips-msa.xml | 12 +
gdb/features/mips64-cp0.xml | 1 +
gdb/features/mips64-dsp-linux.c | 85 +-
gdb/features/mips64-dsp.xml | 14 +-
gdb/features/mips64-fpu.xml | 2 +-
gdb/features/mips64-fpu128.xml | 47 +
gdb/features/mips64-linux.c | 71 +-
gdb/features/mips64-msa-linux.c | 108 ++
gdb/features/mips64-msa-linux.xml | 24 +
gdb/features/mips64-msa.xml | 12 +
gdb/gdbarch.c | 32 +
gdb/gdbarch.h | 11 +
gdb/gdbarch.sh | 5 +
gdb/gdbserver/Makefile.in | 13 +-
gdb/gdbserver/configure.srv | 13 +
gdb/gdbserver/linux-mips-low.c | 205 ++-
gdb/mips-linux-nat.c | 468 ++++++-
gdb/mips-linux-tdep.c | 117 +-
gdb/mips-linux-tdep.h | 10 -
gdb/mips-tdep.c | 2197 +++++++++++++++++++++++++++----
gdb/mips-tdep.h | 43 +
gdb/regcache.c | 28 +-
gdb/regformats/mips-dsp-linux.dat | 1 +
gdb/regformats/mips-fpu64-dsp-linux.dat | 85 ++
gdb/regformats/mips-fpu64-linux.dat | 78 ++
gdb/regformats/mips-linux.dat | 1 +
gdb/regformats/mips-msa-linux.dat | 80 ++
gdb/regformats/mips64-dsp-linux.dat | 1 +
gdb/regformats/mips64-linux.dat | 1 +
gdb/regformats/mips64-msa-linux.dat | 80 ++
include/elf/common.h | 1 +
include/opcode/mips.h | 13 +
opcodes/micromips-opc.c | 3 +
opcodes/mips-dis.c | 33 +-
opcodes/mips-opc.c | 14 +-
49 files changed, 4061 insertions(+), 512 deletions(-)
create mode 100644 gdb/features/mips-fpu128.xml
create mode 100644 gdb/features/mips-fpu64-dsp-linux.c
create mode 100644 gdb/features/mips-fpu64-dsp-linux.xml
create mode 100644 gdb/features/mips-fpu64-linux.c
create mode 100644 gdb/features/mips-fpu64-linux.xml
create mode 100644 gdb/features/mips-fpu64.xml
create mode 100644 gdb/features/mips-msa-linux.c
create mode 100644 gdb/features/mips-msa-linux.xml
create mode 100644 gdb/features/mips-msa.xml
create mode 100644 gdb/features/mips64-fpu128.xml
create mode 100644 gdb/features/mips64-msa-linux.c
create mode 100644 gdb/features/mips64-msa-linux.xml
create mode 100644 gdb/features/mips64-msa.xml
create mode 100644 gdb/regformats/mips-fpu64-dsp-linux.dat
create mode 100644 gdb/regformats/mips-fpu64-linux.dat
create mode 100644 gdb/regformats/mips-msa-linux.dat
create mode 100644 gdb/regformats/mips64-msa-linux.dat
--
1.9-rc2
More information about the Gdb-patches
mailing list