Skip to content

Commit

Permalink
acle/hints: gate sevl on 'v8' rather than on 'aarch64'
Browse files Browse the repository at this point in the history
addresses #557 (comment)
  • Loading branch information
japaric authored and gnzlbg committed Feb 18, 2019
1 parent 4987923 commit 6d8e99c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/core_arch/src/acle/hints.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ pub unsafe fn __sev() {
/// instruction. In a multiprocessor system, it is not required to affect the
/// other processors.
// LLVM says "instruction requires: armv8"
#[cfg(target_arch = "aarch64")]
#[cfg(target_feature = "v8")]
#[inline(always)]
pub unsafe fn __sevl() {
hint(HINT_SEVL);
Expand Down

0 comments on commit 6d8e99c

Please sign in to comment.