mode-classes.def 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. /* Machine mode class definitions for GCC.
  2. Copyright (C) 2003-2019 Free Software Foundation, Inc.
  3. This file is part of GCC.
  4. GCC is free software; you can redistribute it and/or modify it under
  5. the terms of the GNU General Public License as published by the Free
  6. Software Foundation; either version 3, or (at your option) any later
  7. version.
  8. GCC is distributed in the hope that it will be useful, but WITHOUT ANY
  9. WARRANTY; without even the implied warranty of MERCHANTABILITY or
  10. FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
  11. 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. #define MODE_CLASSES \
  16. DEF_MODE_CLASS (MODE_RANDOM), /* other */ \
  17. DEF_MODE_CLASS (MODE_CC), /* condition code in a register */ \
  18. DEF_MODE_CLASS (MODE_INT), /* integer */ \
  19. DEF_MODE_CLASS (MODE_PARTIAL_INT), /* integer with padding bits */ \
  20. DEF_MODE_CLASS (MODE_FRACT), /* signed fractional number */ \
  21. DEF_MODE_CLASS (MODE_UFRACT), /* unsigned fractional number */ \
  22. DEF_MODE_CLASS (MODE_ACCUM), /* signed accumulator */ \
  23. DEF_MODE_CLASS (MODE_UACCUM), /* unsigned accumulator */ \
  24. DEF_MODE_CLASS (MODE_FLOAT), /* floating point */ \
  25. DEF_MODE_CLASS (MODE_DECIMAL_FLOAT), /* decimal floating point */ \
  26. DEF_MODE_CLASS (MODE_COMPLEX_INT), /* complex numbers */ \
  27. DEF_MODE_CLASS (MODE_COMPLEX_FLOAT), \
  28. DEF_MODE_CLASS (MODE_VECTOR_BOOL), /* vectors of single bits */ \
  29. DEF_MODE_CLASS (MODE_VECTOR_INT), /* SIMD vectors */ \
  30. DEF_MODE_CLASS (MODE_VECTOR_FRACT), /* SIMD vectors */ \
  31. DEF_MODE_CLASS (MODE_VECTOR_UFRACT), /* SIMD vectors */ \
  32. DEF_MODE_CLASS (MODE_VECTOR_ACCUM), /* SIMD vectors */ \
  33. DEF_MODE_CLASS (MODE_VECTOR_UACCUM), /* SIMD vectors */ \
  34. DEF_MODE_CLASS (MODE_VECTOR_FLOAT)