hwcap.h 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. /* Defines for bits in AT_HWCAP. ARM Linux version.
  2. Copyright (C) 2012-2023 Free Software Foundation, Inc.
  3. The GNU C Library is free software; you can redistribute it and/or
  4. modify it under the terms of the GNU Lesser General Public
  5. License as published by the Free Software Foundation; either
  6. version 2.1 of the License, or (at your option) any later version.
  7. The GNU C Library is distributed in the hope that it will be useful,
  8. but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  10. Lesser General Public License for more details.
  11. You should have received a copy of the GNU Lesser General Public
  12. License along with the GNU C Library; if not, see
  13. <https://www.gnu.org/licenses/>. */
  14. #if !defined (_SYS_AUXV_H) && !defined (_LINUX_ARM_SYSDEP_H)
  15. # error "Never include <bits/hwcap.h> directly; use <sys/auxv.h> instead."
  16. #endif
  17. /* The following must match the kernel's <asm/hwcap.h>. */
  18. #define HWCAP_ARM_SWP 1
  19. #define HWCAP_ARM_HALF 2
  20. #define HWCAP_ARM_THUMB 4
  21. #define HWCAP_ARM_26BIT 8
  22. #define HWCAP_ARM_FAST_MULT 16
  23. #define HWCAP_ARM_FPA 32
  24. #define HWCAP_ARM_VFP 64
  25. #define HWCAP_ARM_EDSP 128
  26. #define HWCAP_ARM_JAVA 256
  27. #define HWCAP_ARM_IWMMXT 512
  28. #define HWCAP_ARM_CRUNCH 1024
  29. #define HWCAP_ARM_THUMBEE 2048
  30. #define HWCAP_ARM_NEON 4096
  31. #define HWCAP_ARM_VFPv3 8192
  32. #define HWCAP_ARM_VFPv3D16 16384
  33. #define HWCAP_ARM_TLS 32768
  34. #define HWCAP_ARM_VFPv4 65536
  35. #define HWCAP_ARM_IDIVA 131072
  36. #define HWCAP_ARM_IDIVT 262144
  37. #define HWCAP_ARM_VFPD32 524288
  38. #define HWCAP_ARM_LPAE 1048576
  39. #define HWCAP_ARM_EVTSTRM 2097152
  40. #define HWCAP_FPHP 4194304
  41. #define HWCAP_ASIMDHP 8388608
  42. #define HWCAP_ASIMDDP 16777216
  43. #define HWCAP_ASIMDFHM 33554432
  44. #define HWCAP_ASIMDBF16 67108864
  45. #define HWCAP_I8MM 134217728