Skip to content

Commit 6d8e99c

Browse files
japaricgnzlbg
authored andcommitted
acle/hints: gate sevl on 'v8' rather than on 'aarch64'
addresses #557 (comment)
1 parent 4987923 commit 6d8e99c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/core_arch/src/acle/hints.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ pub unsafe fn __sev() {
4646
/// instruction. In a multiprocessor system, it is not required to affect the
4747
/// other processors.
4848
// LLVM says "instruction requires: armv8"
49-
#[cfg(target_arch = "aarch64")]
49+
#[cfg(target_feature = "v8")]
5050
#[inline(always)]
5151
pub unsafe fn __sevl() {
5252
hint(HINT_SEVL);

0 commit comments

Comments
 (0)