Skip to content

tests/tcg/aarch64: Fix inline assemblies for clang

Akihiko Odaki qemu-arm qemu-devel 3 versions – In review

Get series with b4
b4 am [email protected] change-id 20240624-tcg-bf8116e80afa

Versions newest first

  1. v3 Latest7 patches 1 replyIn review
  2. v26 patches 8 repliesSuperseded
  3. v16 patches 5 repliesSuperseded

Changes in v3 from the cover letter

- Added patch "tests/tcg/aarch64: Use -fno-integrated-as".
- Added patch "tests/tcg/aarch64: Specify -Wa,-march=armv9-a+sme".
- Dropped patch "tests/docker: Specify --userns keep-id for Podman" as it is already queued.
- Link to v2: https://lore.kernel.org/r/[email protected]

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7tests/tcg/aarch64: Use -fno-integrated-astests/tcg/aarch64/Makefile.target+7 -10 replies
2/7tests/tcg/aarch64: Specify -Wa,-march=armv9-a+smetests/tcg/aarch64/Makefile.target+1 -00 replies
3/7tests/tcg/aarch64: Fix test architecture specificationtests/tcg/aarch64/Makefile.target tests/tcg/aarch64/sme-smopa-2.c+15 -50 replies
4/7tests/tcg/aarch64: Explicitly specify register widthtests/tcg/aarch64/bti-1.c tests/tcg/aarch64/bti-3.c+6 -60 replies
5/7tests/tcg/aarch64: Fix irg operand typetests/tcg/aarch64/mte-1.c+1 -10 replies
6/7tests/tcg/aarch64: Do not use x constrainttests/tcg/arm/fcvt.c+7 -70 replies
7/7tests/tcg/arm: Manually bit-cast half-precision numberstests/tcg/arm/fcvt.c+3 -11 reply

Reviews trailers per patch

4 of 7 patches have a Reviewed-by or Acked-by.

PatchPhilippe Mathieu-DaudéRichard Henderson
1/7
2/7
3/7
4/7R-b R-b
5/7R-b
6/7R-b
7/7R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/7] tests/tcg/aarch64: Fix inline assemblies for clang

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.

---
Changes in v3:
- Added patch "tests/tcg/aarch64: Use -fno-integrated-as".
- Added patch "tests/tcg/aarch64: Specify -Wa,-march=armv9-a+sme".
- Dropped patch "tests/docker: Specify --userns keep-id for Podman" as it is already queued.
- Link to v2: https://lore.kernel.org/r/[email protected]

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/[email protected]

---
Akihiko Odaki (7):
tests/tcg/aarch64: Use -fno-integrated-as tests/tcg/aarch64: Specify -Wa,-march=armv9-a+sme 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              | 18 ++++++++++--------
 tests/tcg/aarch64/Makefile.target | 21 +++++++++++++++++++--
 6 files changed, 37 insertions(+), 18 deletions(-)

---
base-commit: 046a64b9801343e2e89eef10c7a48eec8d8c0d4f
change-id: 20240624-tcg-bf8116e80afa

Best regards,

Signature · 1 line
Akihiko Odaki <[email protected]>