Add loongarch64 with d feature to f32::midpoint fast path
This patch enables the optimized implementation of `f32::midpoint` for `loongarch64` targets that support the `d`feature. Targets with reliable 64-bit float support can safely use the faster and more accurate computation via `f64`, avoiding the fallback branchy version.
This commit is contained in:
parent
6f69710780
commit
b2858f3132
1 changed files with 1 additions and 0 deletions
|
|
@ -999,6 +999,7 @@ impl f32 {
|
|||
target_arch = "x86_64",
|
||||
target_arch = "aarch64",
|
||||
all(any(target_arch = "riscv32", target_arch = "riscv64"), target_feature = "d"),
|
||||
all(target_arch = "loongarch64", target_feature = "d"),
|
||||
all(target_arch = "arm", target_feature = "vfp2"),
|
||||
target_arch = "wasm32",
|
||||
target_arch = "wasm64",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue