]> git.ipfire.org Git - thirdparty/valgrind.git/commit
arm64: change configure dotprod test to a run test
authorPaul Floyd <pjfloyd@wanadoo.fr>
Sun, 10 May 2026 13:10:58 +0000 (15:10 +0200)
committerPaul Floyd <pjfloyd@wanadoo.fr>
Sun, 10 May 2026 13:10:58 +0000 (15:10 +0200)
commitcd8a547aa8a4ee5ae0133b576c6146dbbba554f3
treea205938e3a02cfa7dc703055b9e0b6f04a601dbf
parent9420cd78c31af10f57ce60eab669745113943db1
arm64: change configure dotprod test to a run test

We were testing for dotprod with AC_COMPILE_IFELSE. That's wrong, it just
checks that the compiler accepts -march=armv8.2-a+dotprod and that the
assembler handles dotprod opcodes. Changed it to AC_RUN_IFELSE which
additionally checks that the binary runs. Valgrind should be checking
for this in VG_(machine_get_hwcaps), storing it in VexArchInfo and
checking it in guest_arm64_toIR.c (it looks like we check it but don't
store 'dp' in vai.hwcaps and in general VEX doesnt check whether it
should try to decode these extensions).
configure.ac