qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/4] Improve Mips target
@ 2024-11-12 16:41 Aleksandar Rakic
  2024-11-12 16:41 ` Aleksandar Rakic
                   ` (4 more replies)
  0 siblings, 5 replies; 16+ messages in thread
From: Aleksandar Rakic @ 2024-11-12 16:41 UTC (permalink / raw)
  To: qemu-devel
  Cc: aleksandar.rakic, djordje.todorovic, cfu, arikalo, peter.maydell,
	philmd, aurelien, jiaxun.yang, kwolf, hreitz, pbonzini,
	alex.bennee, pierrick.bouvier, berrange

This patch series adds support for emulation of CRC32 instructions for
the Mips target in QEMU, skips NaN mode check for soft-float, adds a CLI
flag for enabling an MSA feature, and enables the MSA for
MIPS64R2-generic.

There aren't tests for these improvements.

The patch 1/8 "Add CP0 MemoryMapID register implementation" from v2 has
been dropped from v3 since it has been accepted and integrated into the
master branch.

The patch 3/8 "GTM19-448: Fix script to work without realpath" from v2
will be sent separately as it is a fix to a general bug and is intended
for other maintainers.

The patch 5/8 "Add micromips to P5600" from v2 has been dropped from v3
since the latest document for P5600 with eventually updated field
CP0_Config3_ISA that would support microMIPS hasn't been found.

The patch 6/8 "Revert use of clock_gettime for benchmarking" from v2 has
been dropped from v3 because it seems that clock_gettime and
CLOCK_MONOTONIC exist in MinGW headers and that QEMU builds with MinGW.

The patch 7/8 "target/mips: Enable MSA ASE for mips32r6-generic" from v2
has been dropped from v3 since it has been accepted and integrated into
the master branch.

When it comes to the patch 8/8 "target/mips: Enable MSA ASE for
mips64R2-generic" from v2, the cpu Loongson-3A4000 supports both
mips64r2 and the MSA, so I'm not sure whether to drop this patch.

Regarding the DSPRAM for I6500, I heard that the IP for the DSPRAM for
mips64r6 hasn't been published, but in the document "MIPS64® I6500
Multiprocessing System Programmer’s Guide" the DSPRAM is elaborated, so
I don't know whether to add support for the DSPRAM.

Most of the following patches are cherry-picked from the branch
mips_rel/4_1_0/master on the MIPS' repository:
https://github.com/MIPS/gnutools-qemu/
Further details on individual changes are included in the respective
patches. An instance of a pipeline of QEMU CI jobs run with input
variable QEMU_CI=1 for this patch series is available here:
https://gitlab.com/rakicaleksandar1999/qemu/-/pipelines/1533819034
and for the master branch is available here:
https://gitlab.com/rakicaleksandar1999/qemu/-/pipelines/1533465414

We are open for a discussion.


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

end of thread, other threads:[~2025-01-22  8:38 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-12 16:41 [PATCH v3 0/4] Improve Mips target Aleksandar Rakic
2024-11-12 16:41 ` Aleksandar Rakic
2024-11-12 16:41 ` [PATCH v3 1/4] Add support for emulation of CRC32 instructions Aleksandar Rakic
2024-12-11 15:14   ` Aleksandar Rakic
2025-01-17 12:00     ` Aleksandar Rakic
2025-01-22  7:22   ` Philippe Mathieu-Daudé
2025-01-22  7:27   ` Philippe Mathieu-Daudé
2025-01-22  8:38     ` Philippe Mathieu-Daudé
2024-11-12 16:41 ` [PATCH v3 2/4] Skip NaN mode check for soft-float Aleksandar Rakic
2024-12-11 15:17   ` Aleksandar Rakic
2025-01-17 12:02     ` Aleksandar Rakic
2024-11-12 16:41 ` [PATCH v3 3/4] target/mips: Enable MSA ASE using a CLI flag Aleksandar Rakic
2024-12-11 15:19   ` Aleksandar Rakic
2025-01-17 12:03     ` Aleksandar Rakic
2024-11-12 16:41 ` [PATCH v3 4/4] target/mips: Enable MSA ASE for mips64R2-generic Aleksandar Rakic
2024-11-12 19:29   ` Philippe Mathieu-Daudé

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).