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.od...@daynix.com> --- 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/20240627-tcg-v2-0-1690a8133...@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-0bad65630...@daynix.com --- 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, -- Akihiko Odaki <akihiko.od...@daynix.com>