You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

73 line
1.8KB

  1. /* Definitions for option handling for ARM.
  2. Copyright (C) 1991-2020 Free Software Foundation, Inc.
  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
  6. by the Free Software Foundation; either version 3, or (at your
  7. option) any later version.
  8. GCC is distributed in the hope that it will be useful, but WITHOUT
  9. ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
  10. or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
  11. License for 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. #ifndef ARM_OPTS_H
  20. #define ARM_OPTS_H
  21. #include "arm-flags.h"
  22. #include "arm-isa.h"
  23. #include "arm-cpu.h"
  24. /* Which __fp16 format to use.
  25. The enumeration values correspond to the numbering for the
  26. Tag_ABI_FP_16bit_format attribute.
  27. */
  28. enum arm_fp16_format_type
  29. {
  30. ARM_FP16_FORMAT_NONE = 0,
  31. ARM_FP16_FORMAT_IEEE = 1,
  32. ARM_FP16_FORMAT_ALTERNATIVE = 2
  33. };
  34. /* Which ABI to use. */
  35. enum arm_abi_type
  36. {
  37. ARM_ABI_APCS,
  38. ARM_ABI_ATPCS,
  39. ARM_ABI_AAPCS,
  40. ARM_ABI_IWMMXT,
  41. ARM_ABI_AAPCS_LINUX
  42. };
  43. enum float_abi_type
  44. {
  45. ARM_FLOAT_ABI_SOFT,
  46. ARM_FLOAT_ABI_SOFTFP,
  47. ARM_FLOAT_ABI_HARD
  48. };
  49. /* Which thread pointer access sequence to use. */
  50. enum arm_tp_type {
  51. TP_AUTO,
  52. TP_SOFT,
  53. TP_CP15
  54. };
  55. /* Which TLS scheme to use. */
  56. enum arm_tls_type {
  57. TLS_GNU,
  58. TLS_GNU2
  59. };
  60. #endif