aarch64-option-extensions.def 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. /* Copyright (C) 2012-2015 Free Software Foundation, Inc.
  2. Contributed by ARM Ltd.
  3. This file is part of GCC.
  4. GCC 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, or (at your option)
  7. any later version.
  8. GCC is distributed in the hope that it will be useful, but
  9. WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  11. General Public License for more details.
  12. You should have received a copy of the GNU General Public License
  13. along with GCC; see the file COPYING3. If not see
  14. <http://www.gnu.org/licenses/>. */
  15. /* This is a list of ISA extentsions in AArch64.
  16. Before using #include to read this file, define a macro:
  17. AARCH64_OPT_EXTENSION(EXT_NAME, FLAGS_ON, FLAGS_OFF)
  18. EXT_NAME is the name of the extension, represented as a string constant.
  19. FLAGS_ON are the bitwise-or of the features that the extension adds.
  20. FLAGS_OFF are the bitwise-or of the features that the extension removes. */
  21. /* V8 Architecture Extensions.
  22. This list currently contains example extensions for CPUs that implement
  23. AArch64, and therefore serves as a template for adding more CPUs in the
  24. future. */
  25. AARCH64_OPT_EXTENSION("fp", AARCH64_FL_FP, AARCH64_FL_FPSIMD | AARCH64_FL_CRYPTO)
  26. AARCH64_OPT_EXTENSION("simd", AARCH64_FL_FPSIMD, AARCH64_FL_SIMD | AARCH64_FL_CRYPTO)
  27. AARCH64_OPT_EXTENSION("crypto", AARCH64_FL_CRYPTO | AARCH64_FL_FPSIMD, AARCH64_FL_CRYPTO)
  28. AARCH64_OPT_EXTENSION("crc", AARCH64_FL_CRC, AARCH64_FL_CRC)