spu-modes.def 1.2 KB

123456789101112131415161718192021222324252627282930
  1. /* Copyright (C) 2006-2015 Free Software Foundation, Inc.
  2. This file is free software; you can redistribute it and/or modify it under
  3. the terms of the GNU General Public License as published by the Free
  4. Software Foundation; either version 3 of the License, or (at your option)
  5. any later version.
  6. This file is distributed in the hope that it will be useful, but WITHOUT
  7. ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  8. FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
  9. for more details.
  10. You should have received a copy of the GNU General Public License
  11. along with GCC; see the file COPYING3. If not see
  12. <http://www.gnu.org/licenses/>. */
  13. /* Vector modes. */
  14. VECTOR_MODES (INT, 2); /* V2QI */
  15. VECTOR_MODES (INT, 4); /* V4QI V2HI */
  16. VECTOR_MODES (INT, 8); /* V8QI V4HI V2SI */
  17. VECTOR_MODES (INT, 16); /* V16QI V8HI V4SI V2DI */
  18. VECTOR_MODES (FLOAT, 8); /* V4HF V2SF */
  19. VECTOR_MODES (FLOAT, 16); /* V8HF V4SF V2DF */
  20. /* cse_insn needs an INT_MODE larger than WORD_MODE, otherwise some
  21. parts of it will go into an infinite loop. */
  22. INT_MODE (OI, 32);