Add support for arm64ec
This commit is contained in:
parent
42ff3b3b23
commit
30182128c9
3 changed files with 6 additions and 3 deletions
|
|
@ -461,7 +461,7 @@ mod c {
|
|||
]);
|
||||
}
|
||||
|
||||
if target_arch == "aarch64" && consider_float_intrinsics {
|
||||
if (target_arch == "aarch64" || target_arch == "arm64ec") && consider_float_intrinsics {
|
||||
sources.extend(&[
|
||||
("__comparetf2", "comparetf2.c"),
|
||||
("__extenddftf2", "extenddftf2.c"),
|
||||
|
|
|
|||
|
|
@ -59,7 +59,7 @@ pub mod mem;
|
|||
#[cfg(target_arch = "arm")]
|
||||
pub mod arm;
|
||||
|
||||
#[cfg(target_arch = "aarch64")]
|
||||
#[cfg(any(target_arch = "aarch64", target_arch = "arm64ec"))]
|
||||
pub mod aarch64;
|
||||
|
||||
#[cfg(all(target_arch = "aarch64", target_os = "linux", not(feature = "no-asm"),))]
|
||||
|
|
|
|||
|
|
@ -1,5 +1,8 @@
|
|||
#![feature(decl_macro)] // so we can use pub(super)
|
||||
#![cfg(all(target_arch = "aarch64", not(feature = "no-asm")))]
|
||||
#![cfg(all(
|
||||
any(target_arch = "aarch64", target_arch = "arm64ec"),
|
||||
not(feature = "no-asm")
|
||||
))]
|
||||
|
||||
/// Translate a byte size to a Rust type.
|
||||
macro int_ty {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue