Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

linux glibc update arm64 HWCAP2 list including the last 6.1 kernel en… #3081

Merged
merged 1 commit into from
Jan 22, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions src/unix/linux_like/android/b64/aarch64/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,31 @@ pub const HWCAP2_SVESHA3: ::c_ulong = 1 << 5;
pub const HWCAP2_SVESM4: ::c_ulong = 1 << 6;
pub const HWCAP2_FLAGM2: ::c_ulong = 1 << 7;
pub const HWCAP2_FRINT: ::c_ulong = 1 << 8;
pub const HWCAP2_SVEI8MM: ::c_ulong = 1 << 9;
pub const HWCAP2_SVEF32MM: ::c_ulong = 1 << 10;
pub const HWCAP2_SVEF64MM: ::c_ulong = 1 << 11;
pub const HWCAP2_SVEBF16: ::c_ulong = 1 << 12;
pub const HWCAP2_I8MM: ::c_ulong = 1 << 13;
pub const HWCAP2_BF16: ::c_ulong = 1 << 14;
pub const HWCAP2_DGH: ::c_ulong = 1 << 15;
pub const HWCAP2_RNG: ::c_ulong = 1 << 16;
pub const HWCAP2_BTI: ::c_ulong = 1 << 17;
pub const HWCAP2_MTE: ::c_ulong = 1 << 18;
pub const HWCAP2_ECV: ::c_ulong = 1 << 19;
pub const HWCAP2_AFP: ::c_ulong = 1 << 20;
pub const HWCAP2_RPRES: ::c_ulong = 1 << 21;
pub const HWCAP2_MTE3: ::c_ulong = 1 << 22;
pub const HWCAP2_SME: ::c_ulong = 1 << 23;
pub const HWCAP2_SME_I16I64: ::c_ulong = 1 << 24;
pub const HWCAP2_SME_F64F64: ::c_ulong = 1 << 25;
pub const HWCAP2_SME_I8I32: ::c_ulong = 1 << 26;
pub const HWCAP2_SME_F16F32: ::c_ulong = 1 << 27;
pub const HWCAP2_SME_B16F32: ::c_ulong = 1 << 28;
pub const HWCAP2_SME_F32F32: ::c_ulong = 1 << 29;
pub const HWCAP2_SME_FA64: ::c_ulong = 1 << 30;
pub const HWCAP2_WFXT: ::c_ulong = 1 << 31;
pub const HWCAP2_EBF16: ::c_ulong = 1 << 32;
pub const HWCAP2_SVE_EBF16: ::c_ulong = 1 << 33;

pub const SYS_io_setup: ::c_long = 0;
pub const SYS_io_destroy: ::c_long = 1;
Expand Down