aboutsummaryrefslogtreecommitdiff
path: root/sim/arm/wrapper.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2003-03-30 10:39:22 +0000
committerNick Clifton <nickc@redhat.com>2003-03-30 10:39:22 +0000
commit3a3d6f654d63d306828ad47e9204b8e3ea2685ec (patch)
treeb054945d59bb3776896d69fe3f60ed6336c3e721 /sim/arm/wrapper.c
parent71900fe836550b5de69842ebaa243b8bd762e594 (diff)
downloadgdb-3a3d6f654d63d306828ad47e9204b8e3ea2685ec.zip
gdb-3a3d6f654d63d306828ad47e9204b8e3ea2685ec.tar.gz
gdb-3a3d6f654d63d306828ad47e9204b8e3ea2685ec.tar.bz2
Remove use of __IWMMXT__.
Diffstat (limited to 'sim/arm/wrapper.c')
-rw-r--r--sim/arm/wrapper.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sim/arm/wrapper.c b/sim/arm/wrapper.c
index 46410c3..bba6f7f 100644
--- a/sim/arm/wrapper.c
+++ b/sim/arm/wrapper.c
@@ -505,7 +505,6 @@ sim_store_register (sd, rn, memory, length)
memcpy (&DSPsc, memory, sizeof DSPsc);
return sizeof DSPsc;
-#ifdef __IWMMXT__
case SIM_ARM_IWMMXT_COP0R0_REGNUM:
case SIM_ARM_IWMMXT_COP0R1_REGNUM:
case SIM_ARM_IWMMXT_COP0R2_REGNUM:
@@ -539,7 +538,7 @@ sim_store_register (sd, rn, memory, length)
case SIM_ARM_IWMMXT_COP1R14_REGNUM:
case SIM_ARM_IWMMXT_COP1R15_REGNUM:
return Store_Iwmmxt_Register (rn - SIM_ARM_IWMMXT_COP0R0_REGNUM, memory);
-#endif
+
default:
return 0;
}
@@ -619,7 +618,6 @@ sim_fetch_register (sd, rn, memory, length)
memcpy (memory, & DSPsc, sizeof DSPsc);
return sizeof DSPsc;
-#ifdef __IWMMXT__
case SIM_ARM_IWMMXT_COP0R0_REGNUM:
case SIM_ARM_IWMMXT_COP0R1_REGNUM:
case SIM_ARM_IWMMXT_COP0R2_REGNUM:
@@ -653,7 +651,7 @@ sim_fetch_register (sd, rn, memory, length)
case SIM_ARM_IWMMXT_COP1R14_REGNUM:
case SIM_ARM_IWMMXT_COP1R15_REGNUM:
return Fetch_Iwmmxt_Register (rn - SIM_ARM_IWMMXT_COP0R0_REGNUM, memory);
-#endif
+
default:
return 0;
}