diff options
author | Nick Clifton <nickc@redhat.com> | 2003-03-30 10:39:22 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2003-03-30 10:39:22 +0000 |
commit | 3a3d6f654d63d306828ad47e9204b8e3ea2685ec (patch) | |
tree | b054945d59bb3776896d69fe3f60ed6336c3e721 /sim/arm/armemu.c | |
parent | 71900fe836550b5de69842ebaa243b8bd762e594 (diff) | |
download | gdb-3a3d6f654d63d306828ad47e9204b8e3ea2685ec.zip gdb-3a3d6f654d63d306828ad47e9204b8e3ea2685ec.tar.gz gdb-3a3d6f654d63d306828ad47e9204b8e3ea2685ec.tar.bz2 |
Remove use of __IWMMXT__.
Diffstat (limited to 'sim/arm/armemu.c')
-rw-r--r-- | sim/arm/armemu.c | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/sim/arm/armemu.c b/sim/arm/armemu.c index 53fc992..d12ad10 100644 --- a/sim/arm/armemu.c +++ b/sim/arm/armemu.c @@ -19,9 +19,7 @@ #include "armdefs.h" #include "armemu.h" #include "armos.h" -#ifdef __IWMMXT__ #include "iwmmxt.h" -#endif static ARMword GetDPRegRHS (ARMul_State *, ARMword); static ARMword GetDPSRegRHS (ARMul_State *, ARMword); @@ -377,14 +375,12 @@ ARMul_Emulate26 (ARMul_State * state) if (state->EventSet) ARMul_EnvokeEvent (state); -#if 0 - /* Enable this for a helpful bit of debugging when tracing is needed. */ +#if 0 /* Enable this for a helpful bit of debugging when tracing is needed. */ fprintf (stderr, "pc: %x, instr: %x\n", pc & ~1, instr); if (instr == 0) abort (); #endif -#ifdef __IWMMXT__ -#if 0 +#if 0 /* Enable this code to help track down stack alignment bugs. */ { static ARMword old_sp = -1; @@ -396,7 +392,6 @@ ARMul_Emulate26 (ARMul_State * state) } } #endif -#endif if (state->Exception) { @@ -509,12 +504,10 @@ ARMul_Emulate26 (ARMul_State * state) else if ((instr & 0xFC70F000) == 0xF450F000) /* The PLD instruction. Ignored. */ goto donext; -#ifdef __IWMMXT__ else if ( ((instr & 0xfe500f00) == 0xfc100100) || ((instr & 0xfe500f00) == 0xfc000100)) /* wldrw and wstrw are unconditional. */ goto mainswitch; -#endif else /* UNDEFINED in v5, UNPREDICTABLE in v3, v4, non executed in v1, v2. */ ARMul_UndefInstr (state, instr); @@ -712,10 +705,9 @@ check_PMUintr: goto donext; } } -#ifdef __IWMMXT__ + if (ARMul_HandleIwmmxt (state, instr)) goto donext; -#endif } switch ((int) BITS (20, 27)) |