This website requires JavaScript.
Explore
Help
Sign In
RepoMirrors
/
musl
mirror of
git://git.musl-libc.org/musl
Watch
1
Star
0
Fork
You've already forked musl
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
c9ebff4736
musl
/
arch
/
mipsn32
/
bits
/
hwcap.h
4 lines
99 B
C
Raw
Normal View
History
Unescape
Escape
add bits/hwcap.h and include it in sys/auxv.h aarch64, arm, mips, mips64, mipsn32, powerpc, powerpc64 and sh have cpu feature bits defined in linux for AT_HWCAP auxv entry, so expose those in sys/auxv.h it seems the mips hwcaps were never exposed to userspace neither by linux nor by glibc, but that's most likely an oversight.
2016-10-09 18:42:02 +00:00
#
define HWCAP_MIPS_R6 (1 << 0)
#
define HWCAP_MIPS_MSA (1 << 1)
mips: add HWCAP_ flags from linux v4.17 new in linux commit 256211f2b0b251e532d1899b115e374feb16fa7a
2018-06-09 22:58:19 +00:00
#
define HWCAP_MIPS_CRC32 (1 << 2)