dsp.c 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. /* Simulation code for the MIPS DSP ASE.
  2. Copyright (C) 2005-2022 Free Software Foundation, Inc.
  3. Contributed by MIPS Technologies, Inc. Written by Chao-ying Fu.
  4. This file is part of GDB, the GNU debugger.
  5. This program is free software; you can redistribute it and/or modify
  6. it under the terms of the GNU General Public License as published by
  7. the Free Software Foundation; either version 3 of the License, or
  8. (at your option) any later version.
  9. This program is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. GNU General Public License for more details.
  13. You should have received a copy of the GNU General Public License
  14. along with this program. If not, see <http://www.gnu.org/licenses/>. */
  15. /* This must come before any other includes. */
  16. #include "defs.h"
  17. #include "sim-main.h"
  18. int DSPLO_REGNUM[4] =
  19. {
  20. AC0LOIDX,
  21. AC1LOIDX,
  22. AC2LOIDX,
  23. AC3LOIDX,
  24. };
  25. int DSPHI_REGNUM[4] =
  26. {
  27. AC0HIIDX,
  28. AC1HIIDX,
  29. AC2HIIDX,
  30. AC3HIIDX,
  31. };