about summary refs log tree commit diff
path: root/tests/ui/asm/aarch64/aarch64-sve.rs
blob: 81c82d5ad00651d751c42e7b9e27eb0914589d04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//@ only-aarch64
//@ build-pass
//@ needs-asm-support

#![crate_type = "rlib"]

// AArch64 test corresponding to arm64ec-sve.rs.

use std::arch::asm;

fn f(x: f64) {
    unsafe {
        asm!("", out("p0") _);
        asm!("", out("ffr") _);
    }
}