aboutsummaryrefslogtreecommitdiff
path: root/sim/mips/sim-main.h
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@redhat.com>1998-04-07 00:01:31 +0000
committerFrank Ch. Eigler <fche@redhat.com>1998-04-07 00:01:31 +0000
commit2ebb2a6855019589b697d55d06f3b5d7f7c99040 (patch)
tree3cc0cf80aa625e8234c8b5bebbb0af6c48295e6e /sim/mips/sim-main.h
parent0eebcbd7ab81d03d8629148e2ec89c15b2c686dd (diff)
downloadgdb-2ebb2a6855019589b697d55d06f3b5d7f7c99040.zip
gdb-2ebb2a6855019589b697d55d06f3b5d7f7c99040.tar.gz
gdb-2ebb2a6855019589b697d55d06f3b5d7f7c99040.tar.bz2
* R5900 COP2 is now ready for testing. Let loose the dogs!
Mon Apr 6 19:55:56 1998 Frank Ch. Eigler <fche@cygnus.com> * interp.c (cop_[ls]q): Replaced stub with proper COP2 code. * sim-main.h (LOADADDRMASK): Redefine to allow 128-bit accesses for TARGET_SKY. * r5900.igen (SQC2): Thinko.
Diffstat (limited to 'sim/mips/sim-main.h')
-rw-r--r--sim/mips/sim-main.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/sim/mips/sim-main.h b/sim/mips/sim-main.h
index b710386..d4f831a 100644
--- a/sim/mips/sim-main.h
+++ b/sim/mips/sim-main.h
@@ -837,6 +837,17 @@ decode_coproc (SD, CPU, cia, (instruction))
#define PSIZE (WITH_TARGET_ADDRESS_BITSIZE)
#endif
+/* start-sanitize-sky */
+#ifdef TARGET_SKY
+ /* 128-bit accesses are allowed */
+#undef LOADDRMASK
+#define LOADDRMASK AccessLength_QUADWORD
+#undef PSIZE
+#define PSIZE (WITH_TARGET_ADDRESS_BITSIZE)
+#endif /* TARGET_SKY */
+/* end-sanitize-sky */
+
+
INLINE_SIM_MAIN (int) address_translation PARAMS ((SIM_DESC sd, sim_cpu *, address_word cia, address_word vAddr, int IorD, int LorS, address_word *pAddr, int *CCA, int raw));
#define AddressTranslation(vAddr,IorD,LorS,pAddr,CCA,host,raw) \
address_translation (SD, CPU, cia, vAddr, IorD, LorS, pAddr, CCA, raw)