]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* config/c4x/c4x.h: Added more comments.
authorMichael Hayes <m.hayes@elec.canterbury.ac.nz>
Thu, 1 Apr 1999 16:16:53 +0000 (16:16 +0000)
committerMichael Hayes <m.hayes@gcc.gnu.org>
Thu, 1 Apr 1999 16:16:53 +0000 (16:16 +0000)
From-SVN: r26107

gcc/ChangeLog
gcc/config/c4x/c4x.h

index 7c683827024b6a93c6b69c6e0151e34feddf5ef8..7b482c8447f0d87dbee95a5cb14a2a4275ef29dd 100644 (file)
@@ -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
index a72d6dbc307b1825d450ebde9c6f5a1f071ecd54..347ce2c141b4498f2c57b4d22dc3aeaa298b2a10 100644 (file)
@@ -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