aboutsummaryrefslogtreecommitdiff
path: root/tests/tcg/aarch64/test-2150.c
blob: fb86c11958681d02c2dff60676878cad13f6343f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* SPDX-License-Identifier: GPL-2.0-or-later */
/* See https://gitlab.com/qemu-project/qemu/-/issues/2150 */

int main()
{
    asm volatile(
        "movi     v6.4s, #1\n"
        "movi     v7.4s, #0\n"
        "sub      v6.2d, v7.2d, v6.2d\n"
        : : : "v6", "v7");
    return 0;
}