mirror of
https://github.com/pezkuwichain/revive.git
synced 2026-06-12 21:01:01 +00:00
update LLVM target features (#102)
Signed-off-by: xermicus <cyrill@parity.io>
This commit is contained in:
@@ -1,10 +1,10 @@
|
|||||||
{
|
{
|
||||||
"Baseline": 989,
|
"Baseline": 967,
|
||||||
"Computation": 4153,
|
"Computation": 4022,
|
||||||
"DivisionArithmetics": 40614,
|
"DivisionArithmetics": 31787,
|
||||||
"ERC20": 47348,
|
"ERC20": 44233,
|
||||||
"Events": 1781,
|
"Events": 1743,
|
||||||
"FibonacciIterative": 3035,
|
"FibonacciIterative": 2927,
|
||||||
"Flipper": 3448,
|
"Flipper": 3408,
|
||||||
"SHA1": 33553
|
"SHA1": 26009
|
||||||
}
|
}
|
||||||
@@ -39,9 +39,9 @@ impl TargetMachine {
|
|||||||
|
|
||||||
/// LLVM target features.
|
/// LLVM target features.
|
||||||
#[cfg(feature = "riscv-zbb")]
|
#[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"))]
|
#[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 shortcut constructor.
|
||||||
/// A separate instance for every optimization level is created.
|
/// A separate instance for every optimization level is created.
|
||||||
|
|||||||
Reference in New Issue
Block a user