aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Hayes <m.hayes@elec.canterbury.ac.nz>1999-04-01 16:16:53 +0000
committerMichael Hayes <m.hayes@gcc.gnu.org>1999-04-01 16:16:53 +0000
commit4adf744bb421f09a46cf1a3eaa67dc3c816fd427 (patch)
treec2df378861e95ead714afe1d2a177302a7ec160c
parent305902b0060c25d10dd886506e6593ee680b8be1 (diff)
downloadgcc-4adf744bb421f09a46cf1a3eaa67dc3c816fd427.zip
gcc-4adf744bb421f09a46cf1a3eaa67dc3c816fd427.tar.gz
gcc-4adf744bb421f09a46cf1a3eaa67dc3c816fd427.tar.bz2
* config/c4x/c4x.h: Added more comments.
From-SVN: r26107
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/c4x/c4x.h13
2 files changed, 14 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 7c68382..7b482c8 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+Fri Apr 2 12:16:15 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
+
+ * config/c4x/c4x.h: Added more comments.
+
Fri Apr 2 11:58:22 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
* config/c4x/c4x.c (c4x_emit_move_sequence): Force invalid QImode
diff --git a/gcc/config/c4x/c4x.h b/gcc/config/c4x/c4x.h
index a72d6db..347ce2c 100644
--- a/gcc/config/c4x/c4x.h
+++ b/gcc/config/c4x/c4x.h
@@ -1589,11 +1589,18 @@ extern struct rtx_def *c4x_gen_compare_reg ();
#define HAVE_PRE_MODIFY_DISP 1
#define HAVE_POST_MODIFY_DISP 1
-#define HAVE_MULTIPLE_PACK 2
-
-/* What about LABEL_REF? */
+/* The number of insns that can be packed into a single opcode. */
+#define MULTIPACK_INSNS 2
+
+/* Recognize any constant value that is a valid address.
+ We could allow arbitrary constant addresses in the large memory
+ model but for the small memory model we can only accept addresses
+ within the data page. I suppose we could also allow
+ CONST PLUS SYMBOL_REF. */
#define CONSTANT_ADDRESS_P(X) (GET_CODE (X) == SYMBOL_REF)
+/* Maximum number of registers that can appear in a valid memory
+ address. */
#define MAX_REGS_PER_ADDRESS 2
/* The macros REG_OK_FOR..._P assume that the arg is a REG rtx