diff options
Diffstat (limited to 'sim/arm/armcopro.c')
-rw-r--r-- | sim/arm/armcopro.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sim/arm/armcopro.c b/sim/arm/armcopro.c index b974789..5fb72bf 100644 --- a/sim/arm/armcopro.c +++ b/sim/arm/armcopro.c @@ -19,6 +19,9 @@ #include "armos.h" #include "armemu.h" #include "ansidecl.h" +#ifdef __IWMMXT__ +#include "iwmmxt.h" +#endif /* Dummy Co-processors. */ @@ -1365,6 +1368,16 @@ ARMul_CoProInit (ARMul_State * state) MMUMRC, MMUMCR, NULL, MMURead, MMUWrite); } +#ifdef __IWMMXT__ + if (state->is_iWMMXt) + { + ARMul_CoProAttach (state, 0, NULL, NULL, IwmmxtLDC, IwmmxtSTC, + NULL, NULL, IwmmxtCDP, NULL, NULL); + + ARMul_CoProAttach (state, 1, NULL, NULL, NULL, NULL, + IwmmxtMRC, IwmmxtMCR, IwmmxtCDP, NULL, NULL); + } +#endif /* No handlers below here. */ /* Call all the initialisation routines. */ |