Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
target-feature
/
asm-implied-features-issue-128125.rs
blob: 2b4f1d7df856317940c737b7d04da86ed438197c [
file
] [
log
] [
blame
] [
edit
]
//@ only-x86_64
//@ build-pass
#![
allow
(
dead_code
)]
#[
target_feature
(
enable
=
"avx2"
)]
unsafe
fn
demo
(
v
:
std
::
arch
::
x86_64
::
__m256i
)
{
std
::
arch
::
asm
!(
"/* {v} */"
,
v
=
in
(
ymm_reg
)
v
);
}
fn
main
()
{}