I've sent this patch to the mailing list but it fixes the attached test case and has been tested with risu patterns.
** Patch added: "fix" https://bugs.launchpad.net/qemu/+bug/1308381/+attachment/4085353/+files/0001-target-arm-A64-fix-unallocated-test-of-scalar-SQXTUN.patch -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1308381 Title: illegal instructions for AArch64 ARMv8 Status in QEMU: New Bug description: The test case is in the attachment. To reproduce as following (I tried both GCC and Clang): $aarch64-linux-gnu-gcc qemu.c -o test $./test qemu: uncaught target signal 4 (Illegal instruction) - core dumped Illegal instruction (core dumped) In the test case, 3 intrinsics are tested: vqmovunh_s16, vqmovuns_s32, vqmovund_s64. They will be compiled into instructions: SQXTUN Bd, Hn SQXTUN Hd, Sn SQXTUN Sd, Dn. QEMU is get from trunk git://git.qemu.org/qemu.git. Other instructions work well. It seems that these instructions are not supported in QEMU. Is this a bug? To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1308381/+subscriptions