update LLVM target features (#102)

Signed-off-by: xermicus <cyrill@parity.io>
This commit is contained in:
Cyrill Leutwiler authored and GitHub committed 2024-10-29 18:17:29 +01:00
1 parent f985f42370
commit a4043ecde7
2 files changed
+10 -10

No files matched your search

@@ -39,9 +39,9 @@ impl TargetMachine {
/// LLVM target features.
#[cfg(feature = "riscv-zbb")]
pub const VM_FEATURES: &'static str = "+zbb,+e,+m,+c";
pub const VM_FEATURES: &'static str = "+zbb,+a,+e,+m,+c,+fast-unaligned-access,+xtheadcondmov";
#[cfg(not(feature = "riscv-zbb"))]
pub const VM_FEATURES: &'static str = "+e,+m,+c";
pub const VM_FEATURES: &'static str = "+a,+e,+m,+c,+fast-unaligned-access,+xtheadcondmov";
/// A shortcut constructor.
/// A separate instance for every optimization level is created.