qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 00/12] target/mips/mips-defs: Simplify ISA definitions
@ 2020-12-16 16:27 Philippe Mathieu-Daudé
  2020-12-16 16:27 ` [PATCH v2 01/12] target/mips/mips-defs: Reorder CPU_MIPS5 definition Philippe Mathieu-Daudé
                   ` (11 more replies)
  0 siblings, 12 replies; 26+ messages in thread
From: Philippe Mathieu-Daudé @ 2020-12-16 16:27 UTC (permalink / raw)
  To: qemu-devel
  Cc: Aleksandar Rikalo, Paul Burton, Richard Henderson, Laurent Vivier,
	Jiaxun Yang, Philippe Mathieu-Daudé, Aurelien Jarno

v2: Do not use MIPS3 for 64R1 (Jiaxun)

As we don't need to duplicate 32/64-bit ISA defititions,
this series remove the duplicated 64-bit variants,
simplifying the overall.

Changes done automatically with my editor using "find
and replace".

While the 'ISA_MIPS_Rx' form is shorter than 'ISA_MIPS_RELx',
which one is the clearer?

Regards,

Phil.

$ git backport-diff -u v1 -r ..v2
Key:
[----] : patches are identical
[####] : number of functional differences between upstream/downstream patch
[down] : patch is downstream-only
The flags [FC] indicate (F)unctional and (C)ontextual differences, respectively

001/12:[----] [--] 'target/mips/mips-defs: Reorder CPU_MIPS5 definition'
002/12:[0013] [FC] 'target/mips/mips-defs: Use ISA_MIPS3 for ISA_MIPS64'
003/12:[down] 'target/mips/mips-defs: Use ISA_MIPS32 definition to check Release 1'
004/12:[----] [--] 'target/mips/mips-defs: Use ISA_MIPS32R2 definition to check Release 2'
005/12:[----] [--] 'target/mips/mips-defs: Use ISA_MIPS32R3 definition to check Release 3'
006/12:[----] [--] 'target/mips/mips-defs: Use ISA_MIPS32R5 definition to check Release 5'
007/12:[----] [--] 'target/mips/mips-defs: Use ISA_MIPS32R6 definition to check Release 6'
008/12:[0010] [FC] 'target/mips/mips-defs: Rename ISA_MIPS32 as ISA_MIPS_R1'
009/12:[----] [--] 'target/mips/mips-defs: Rename ISA_MIPS32R2 as ISA_MIPS_R2'
010/12:[----] [--] 'target/mips/mips-defs: Rename ISA_MIPS32R3 as ISA_MIPS_R3'
011/12:[----] [--] 'target/mips/mips-defs: Rename ISA_MIPS32R5 as ISA_MIPS_R5'
012/12:[----] [--] 'target/mips/mips-defs: Rename ISA_MIPS32R6 as ISA_MIPS_R6'

Philippe Mathieu-Daudé (12):
  target/mips/mips-defs: Reorder CPU_MIPS5 definition
  target/mips/mips-defs: Use ISA_MIPS3 for ISA_MIPS64
  target/mips/mips-defs: Use ISA_MIPS32 definition to check Release 1
  target/mips/mips-defs: Use ISA_MIPS32R2 definition to check Release 2
  target/mips/mips-defs: Use ISA_MIPS32R3 definition to check Release 3
  target/mips/mips-defs: Use ISA_MIPS32R5 definition to check Release 5
  target/mips/mips-defs: Use ISA_MIPS32R6 definition to check Release 6
  target/mips/mips-defs: Rename ISA_MIPS32 as ISA_MIPS_R1
  target/mips/mips-defs: Rename ISA_MIPS32R2 as ISA_MIPS_R2
  target/mips/mips-defs: Rename ISA_MIPS32R3 as ISA_MIPS_R3
  target/mips/mips-defs: Rename ISA_MIPS32R5 as ISA_MIPS_R5
  target/mips/mips-defs: Rename ISA_MIPS32R6 as ISA_MIPS_R6

 target/mips/internal.h     |   8 +-
 target/mips/mips-defs.h    |  40 +--
 hw/mips/boston.c           |   2 +-
 linux-user/elfload.c       |   2 +-
 linux-user/mips/cpu_loop.c |   6 +-
 target/mips/cp0_helper.c   |  18 +-
 target/mips/cp0_timer.c    |   4 +-
 target/mips/cpu.c          |  12 +-
 target/mips/fpu_helper.c   |   4 +-
 target/mips/tlb_helper.c   |   6 +-
 target/mips/translate.c    | 620 ++++++++++++++++++-------------------
 11 files changed, 357 insertions(+), 365 deletions(-)

-- 
2.26.2



^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2020-12-16 23:45 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-16 16:27 [PATCH v2 00/12] target/mips/mips-defs: Simplify ISA definitions Philippe Mathieu-Daudé
2020-12-16 16:27 ` [PATCH v2 01/12] target/mips/mips-defs: Reorder CPU_MIPS5 definition Philippe Mathieu-Daudé
2020-12-16 19:11   ` Richard Henderson
2020-12-16 16:27 ` [PATCH v2 02/12] target/mips/mips-defs: Use ISA_MIPS3 for ISA_MIPS64 Philippe Mathieu-Daudé
2020-12-16 19:08   ` Richard Henderson
2020-12-16 23:42     ` Philippe Mathieu-Daudé
2020-12-16 16:27 ` [PATCH v2 03/12] target/mips/mips-defs: Use ISA_MIPS32 definition to check Release 1 Philippe Mathieu-Daudé
2020-12-16 19:12   ` Richard Henderson
2020-12-16 16:27 ` [PATCH v2 04/12] target/mips/mips-defs: Use ISA_MIPS32R2 definition to check Release 2 Philippe Mathieu-Daudé
2020-12-16 19:12   ` Richard Henderson
2020-12-16 16:27 ` [PATCH v2 05/12] target/mips/mips-defs: Use ISA_MIPS32R3 definition to check Release 3 Philippe Mathieu-Daudé
2020-12-16 19:13   ` Richard Henderson
2020-12-16 16:27 ` [PATCH v2 06/12] target/mips/mips-defs: Use ISA_MIPS32R5 definition to check Release 5 Philippe Mathieu-Daudé
2020-12-16 19:13   ` Richard Henderson
2020-12-16 16:27 ` [PATCH v2 07/12] target/mips/mips-defs: Use ISA_MIPS32R6 definition to check Release 6 Philippe Mathieu-Daudé
2020-12-16 19:13   ` Richard Henderson
2020-12-16 16:27 ` [PATCH v2 08/12] target/mips/mips-defs: Rename ISA_MIPS32 as ISA_MIPS_R1 Philippe Mathieu-Daudé
2020-12-16 19:13   ` Richard Henderson
2020-12-16 16:27 ` [PATCH v2 09/12] target/mips/mips-defs: Rename ISA_MIPS32R2 as ISA_MIPS_R2 Philippe Mathieu-Daudé
2020-12-16 19:14   ` Richard Henderson
2020-12-16 16:27 ` [PATCH v2 10/12] target/mips/mips-defs: Rename ISA_MIPS32R3 as ISA_MIPS_R3 Philippe Mathieu-Daudé
2020-12-16 19:14   ` Richard Henderson
2020-12-16 16:27 ` [PATCH v2 11/12] target/mips/mips-defs: Rename ISA_MIPS32R5 as ISA_MIPS_R5 Philippe Mathieu-Daudé
2020-12-16 19:14   ` Richard Henderson
2020-12-16 16:27 ` [PATCH v2 12/12] target/mips/mips-defs: Rename ISA_MIPS32R6 as ISA_MIPS_R6 Philippe Mathieu-Daudé
2020-12-16 19:15   ` Richard Henderson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).