hwcap.h 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /* Copyright (C) 2011-2015 Free Software Foundation, Inc.
  2. Contributed by Richard Henderson <rth@redhat.com>.
  3. This file is part of the GNU Transactional Memory Library (libitm).
  4. Libitm is free software; you can redistribute it and/or modify it
  5. under the terms of the GNU General Public License as published by
  6. the Free Software Foundation; either version 3 of the License, or
  7. (at your option) any later version.
  8. Libitm is distributed in the hope that it will be useful, but WITHOUT ANY
  9. WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
  10. FOR A PARTICULAR PURPOSE. See the GNU General Public License for
  11. more details.
  12. Under Section 7 of GPL version 3, you are granted additional
  13. permissions described in the GCC Runtime Library Exception, version
  14. 3.1, as published by the Free Software Foundation.
  15. You should have received a copy of the GNU General Public License and
  16. a copy of the GCC Runtime Library Exception along with this program;
  17. see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
  18. <http://www.gnu.org/licenses/>. */
  19. /* The following must match the kernel's <asm/procinfo.h>. */
  20. #define HWCAP_ARM_SWP 1
  21. #define HWCAP_ARM_HALF 2
  22. #define HWCAP_ARM_THUMB 4
  23. #define HWCAP_ARM_26BIT 8
  24. #define HWCAP_ARM_FAST_MULT 16
  25. #define HWCAP_ARM_FPA 32
  26. #define HWCAP_ARM_VFP 64
  27. #define HWCAP_ARM_EDSP 128
  28. #define HWCAP_ARM_JAVA 256
  29. #define HWCAP_ARM_IWMMXT 512
  30. #define HWCAP_ARM_CRUNCH 1024
  31. #define HWCAP_ARM_THUMBEE 2048
  32. #define HWCAP_ARM_NEON 4096
  33. #define HWCAP_ARM_VFPv3 8192
  34. #define HWCAP_ARM_VFPv3D16 16384