xref: /openbmc/qemu/tests/tcg/aarch64/test-2150.c (revision 2bfd3c48)
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /* See https://gitlab.com/qemu-project/qemu/-/issues/2150 */
3 
4 int 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 }
13