qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/6] tests/tcg/aarch64: Fix inline assemblies for clang
@ 2024-06-27 13:58 Akihiko Odaki
  2024-06-27 13:58 ` [PATCH v2 1/6] tests/tcg/arm: Fix fcvt result messages Akihiko Odaki
                   ` (6 more replies)
  0 siblings, 7 replies; 15+ messages in thread
From: Akihiko Odaki @ 2024-06-27 13:58 UTC (permalink / raw)
  To: Peter Maydell, Alex Bennée, Philippe Mathieu-Daudé
  Cc: qemu-arm, qemu-devel, Akihiko Odaki

Unlike GCC, clang checks if the operands in assembly matches with the
type in C. It also does not support "x" constraint for AArch64 and
complains about them.

Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
---
Changes in v2:
- Removed spurious a compiler flag change for normal SME tests.
- Fixed sme-i16i64 detection.
- Link to v1: https://lore.kernel.org/r/20240626-tcg-v1-0-0bad656307d8@daynix.com

---
Akihiko Odaki (6):
      tests/tcg/arm: Fix fcvt result messages
      tests/tcg/aarch64: Fix test architecture specification
      tests/tcg/aarch64: Explicitly specify register width
      tests/tcg/aarch64: Fix irg operand type
      tests/tcg/aarch64: Do not use x constraint
      tests/tcg/arm: Manually bit-cast half-precision numbers

 tests/tcg/aarch64/bti-1.c         |   6 +-
 tests/tcg/aarch64/bti-3.c         |   6 +-
 tests/tcg/aarch64/mte-1.c         |   2 +-
 tests/tcg/aarch64/sme-smopa-2.c   |   2 +-
 tests/tcg/arm/fcvt.c              |  20 +-
 tests/tcg/aarch64/Makefile.target |  11 +-
 tests/tcg/aarch64/fcvt.ref        | 604 +++++++++++++++++++-------------------
 7 files changed, 330 insertions(+), 321 deletions(-)
---
base-commit: 046a64b9801343e2e89eef10c7a48eec8d8c0d4f
change-id: 20240624-tcg-bf8116e80afa

Best regards,
-- 
Akihiko Odaki <akihiko.odaki@daynix.com>



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

end of thread, other threads:[~2024-06-29  8:56 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-27 13:58 [PATCH v2 0/6] tests/tcg/aarch64: Fix inline assemblies for clang Akihiko Odaki
2024-06-27 13:58 ` [PATCH v2 1/6] tests/tcg/arm: Fix fcvt result messages Akihiko Odaki
2024-06-28 12:33   ` Alex Bennée
2024-06-28 17:11   ` Richard Henderson
2024-06-27 13:58 ` [PATCH v2 2/6] tests/tcg/aarch64: Fix test architecture specification Akihiko Odaki
2024-06-28 17:18   ` Richard Henderson
2024-06-27 13:58 ` [PATCH v2 3/6] tests/tcg/aarch64: Explicitly specify register width Akihiko Odaki
2024-06-28 17:19   ` Richard Henderson
2024-06-29  8:54     ` Akihiko Odaki
2024-06-27 13:58 ` [PATCH v2 4/6] tests/tcg/aarch64: Fix irg operand type Akihiko Odaki
2024-06-28 17:19   ` Richard Henderson
2024-06-27 13:58 ` [PATCH v2 5/6] tests/tcg/aarch64: Do not use x constraint Akihiko Odaki
2024-06-28 17:20   ` Richard Henderson
2024-06-27 13:58 ` [PATCH v2 6/6] tests/tcg/arm: Manually bit-cast half-precision numbers Akihiko Odaki
2024-06-28 12:30 ` [PATCH v2 0/6] tests/tcg/aarch64: Fix inline assemblies for clang Alex Bennée

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