sh-modes.def 1.3 KB

123456789101112131415161718192021222324252627282930313233
  1. /* SH extra machine modes.
  2. Copyright (C) 2003-2015 Free Software Foundation, Inc.
  3. This file is part of GCC.
  4. GCC is free software; you can redistribute it and/or modify
  5. it 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,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. GNU 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. /* PDI mode is used to represent a function address in a target register. */
  16. PARTIAL_INT_MODE (DI, 64, PDI);
  17. /* Vector modes. */
  18. VECTOR_MODE (INT, QI, 2); /* V2QI */
  19. VECTOR_MODES (INT, 4); /* V4QI V2HI */
  20. VECTOR_MODES (INT, 8); /* V8QI V4HI V2SI */
  21. VECTOR_MODES (INT, 16); /* V16QI V8HI V4SI V2DI */
  22. VECTOR_MODES (FLOAT, 8); /* V4HF V2SF */
  23. VECTOR_MODES (FLOAT, 16); /* V8HF V4SF V2DF */
  24. VECTOR_MODE (INT, DI, 4); /* V4DI */
  25. VECTOR_MODE (INT, DI, 8); /* V8DI */
  26. VECTOR_MODE (FLOAT, SF, 16); /* V16SF */