Commit 8f422192 by Michael Hayes Committed by Michael Hayes

c4x.h (BCT_CHECK_LOOP_ITERATIONS): Remove.

	* config/c4x/c4x.h (BCT_CHECK_LOOP_ITERATIONS): Remove.
	(HAVE_GAS_HIDDEN): Undefine as interim measure.

From-SVN: r76617
parent b7c707d1
2004-01-26 Michael Hayes <m.hayes@elec.canterbury.ac.nz> 2004-01-26 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
* config/c4x/c4x.h (BCT_CHECK_LOOP_ITERATIONS): Remove.
(HAVE_GAS_HIDDEN): Undefine as interim measure.
2004-01-26 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
* config/c4x/c4x.c (c4x_legitimate_address_p): Invalidate direct * config/c4x/c4x.c (c4x_legitimate_address_p): Invalidate direct
memory references if TARGET_EXPOSE_LDP nonzero. memory references if TARGET_EXPOSE_LDP nonzero.
......
...@@ -306,11 +306,14 @@ extern int target_flags; ...@@ -306,11 +306,14 @@ extern int target_flags;
#define TARGET_C40 (target_flags & C40_FLAG) #define TARGET_C40 (target_flags & C40_FLAG)
#define TARGET_C44 (target_flags & C44_FLAG) #define TARGET_C44 (target_flags & C44_FLAG)
/* Define some options to control code generation. */ /* Nonzero to use load_immed_addr pattern rather than forcing memory
addresses into memory. */
#define TARGET_LOAD_ADDRESS (1 || (! TARGET_C3X && ! TARGET_SMALL)) #define TARGET_LOAD_ADDRESS (1 || (! TARGET_C3X && ! TARGET_SMALL))
/* Nonzero to convert direct memory references into HIGH/LO_SUM pairs /* Nonzero to convert direct memory references into HIGH/LO_SUM pairs
during RTL generation. */ during RTL generation. */
#define TARGET_EXPOSE_LDP 0 #define TARGET_EXPOSE_LDP 0
/* Nonzero to force loading of direct memory references into a register. */ /* Nonzero to force loading of direct memory references into a register. */
#define TARGET_LOAD_DIRECT_MEMS 0 #define TARGET_LOAD_DIRECT_MEMS 0
...@@ -320,8 +323,6 @@ extern int target_flags; ...@@ -320,8 +323,6 @@ extern int target_flags;
#define TARGET_RPTS_CYCLES(CYCLES) (TARGET_RPTS || (CYCLES) < c4x_rpts_cycles) #define TARGET_RPTS_CYCLES(CYCLES) (TARGET_RPTS || (CYCLES) < c4x_rpts_cycles)
#define BCT_CHECK_LOOP_ITERATIONS !(TARGET_LOOP_UNSIGNED)
/* -mcpu=XX with XX = target DSP version number. */ /* -mcpu=XX with XX = target DSP version number. */
extern const char *c4x_rpts_cycles_string, *c4x_cpu_version_string; extern const char *c4x_rpts_cycles_string, *c4x_cpu_version_string;
...@@ -1284,6 +1285,7 @@ CUMULATIVE_ARGS; ...@@ -1284,6 +1285,7 @@ CUMULATIVE_ARGS;
#define LEGITIMIZE_ADDRESS(X, OLDX, MODE, WIN) \ #define LEGITIMIZE_ADDRESS(X, OLDX, MODE, WIN) \
{ \ { \
rtx new; \ rtx new; \
\
new = c4x_legitimize_address (X, MODE); \ new = c4x_legitimize_address (X, MODE); \
if (new != NULL_RTX) \ if (new != NULL_RTX) \
{ \ { \
...@@ -1918,3 +1920,8 @@ enum c4x_builtins ...@@ -1918,3 +1920,8 @@ enum c4x_builtins
C4X_BUILTIN_FRIEEE, /* frieee (only C4x) */ C4X_BUILTIN_FRIEEE, /* frieee (only C4x) */
C4X_BUILTIN_RCPF /* fast_invf (only C4x) */ C4X_BUILTIN_RCPF /* fast_invf (only C4x) */
}; };
/* Hack to overcome use of libgcc2.c using auto-host.h to determine
HAVE_GAS_HIDDEN. */
#undef HAVE_GAS_HIDDEN
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment