tilegx-modes.def 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. /* TILE-Gx extra machine modes.
  2. Copyright (C) 2011-2015 Free Software Foundation, Inc.
  3. Contributed by Walter Lee (walt@tilera.com)
  4. This file is part of GCC.
  5. GCC is free software; you can redistribute it and/or modify it
  6. under the terms of the GNU General Public License as published
  7. by the Free Software Foundation; either version 3, or (at your
  8. option) any later version.
  9. GCC is distributed in the hope that it will be useful, but WITHOUT
  10. ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
  11. or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
  12. License for more details.
  13. You should have received a copy of the GNU General Public License
  14. along with GCC; see the file COPYING3. If not see
  15. <http://www.gnu.org/licenses/>. */
  16. /* Extra modes for handling struct returns in up to 10 registers. */
  17. INT_MODE (R3I, 24);
  18. INT_MODE (R5I, 40);
  19. INT_MODE (R6I, 48);
  20. INT_MODE (R7I, 56);
  21. INT_MODE (R8I, 64);
  22. INT_MODE (R9I, 72);
  23. INT_MODE (R10I, 80);
  24. /* Vector modes. */
  25. VECTOR_MODES (INT, 8); /* V8QI V4HI V2SI */
  26. VECTOR_MODE (INT, QI, 16); /* V16QI */
  27. VECTOR_MODE (INT, HI, 8); /* V8HI */
  28. VECTOR_MODE (INT, SI, 4); /* V4SI */
  29. VECTOR_MODE (INT, HI, 2); /* V2HI */
  30. VECTOR_MODE (INT, QI, 4); /* V4QI */