]> git.proxmox.com Git - mirror_qemu.git/blame - tests/tcg/aarch64/test-2150.c
tcg/optimize: Do not attempt to constant fold neg_vec
[mirror_qemu.git] / tests / tcg / aarch64 / test-2150.c
CommitLineData
e25fe886
RH
1/* SPDX-License-Identifier: GPL-2.0-or-later */
2/* See https://gitlab.com/qemu-project/qemu/-/issues/2150 */
3
4int main()
5{
6 asm volatile(
7 "movi v6.4s, #1\n"
8 "movi v7.4s, #0\n"
9 "sub v6.2d, v7.2d, v6.2d\n"
10 : : : "v6", "v7");
11 return 0;
12}