From: Michael Hayes Date: Thu, 1 Apr 1999 16:16:53 +0000 (+0000) Subject: * config/c4x/c4x.h: Added more comments. X-Git-Tag: prereleases/libgcj-0.1~128 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4adf744bb421f09a46cf1a3eaa67dc3c816fd427;p=thirdparty%2Fgcc.git * config/c4x/c4x.h: Added more comments. From-SVN: r26107 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7c683827024b..7b482c8447f0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +Fri Apr 2 12:16:15 1999 Michael Hayes + + * config/c4x/c4x.h: Added more comments. + Fri Apr 2 11:58:22 1999 Michael Hayes * 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 a72d6dbc307b..347ce2c141b4 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