From 436bcda146cf914b1211274a158c1b4b9d2a68a2 Mon Sep 17 00:00:00 2001 From: Geoffrey Keating Date: Wed, 9 Jul 2003 00:58:58 +0000 Subject: [PATCH] expr.c (MOVE_MAX_PIECES): Move from here... * expr.c (MOVE_MAX_PIECES): Move from here... * defaults.h (MOVE_MAX_PIECES): ... to here. From-SVN: r69118 --- gcc/ChangeLog | 5 +++++ gcc/defaults.h | 11 +++++++++++ gcc/expr.c | 11 ----------- 3 files changed, 16 insertions(+), 11 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b76684b902b5..2d68c4139cb2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2003-07-08 Geoffrey Keating + + * expr.c (MOVE_MAX_PIECES): Move from here... + * defaults.h (MOVE_MAX_PIECES): ... to here. + 2003-07-08 Matt Kraai * Makefile.in (stage1-start): Handle an empty SUBDIRS. diff --git a/gcc/defaults.h b/gcc/defaults.h index 20dc172faa43..b968ea645ebd 100644 --- a/gcc/defaults.h +++ b/gcc/defaults.h @@ -664,4 +664,15 @@ You Lose! You must define PREFERRED_DEBUGGING_TYPE! #define STORE_FLAG_VALUE 1 #endif +/* This macro is used to determine what the largest unit size that + move_by_pieces can use is. */ + +/* MOVE_MAX_PIECES is the number of bytes at a time which we can + move efficiently, as opposed to MOVE_MAX which is the maximum + number of bytes we can move with a single instruction. */ + +#ifndef MOVE_MAX_PIECES +#define MOVE_MAX_PIECES MOVE_MAX +#endif + #endif /* ! GCC_DEFAULTS_H */ diff --git a/gcc/expr.c b/gcc/expr.c index 87ada15337e0..6a3005857161 100644 --- a/gcc/expr.c +++ b/gcc/expr.c @@ -1425,17 +1425,6 @@ convert_modes (enum machine_mode mode, enum machine_mode oldmode, rtx x, int uns return temp; } -/* This macro is used to determine what the largest unit size that - move_by_pieces can use is. */ - -/* MOVE_MAX_PIECES is the number of bytes at a time which we can - move efficiently, as opposed to MOVE_MAX which is the maximum - number of bytes we can move with a single instruction. */ - -#ifndef MOVE_MAX_PIECES -#define MOVE_MAX_PIECES MOVE_MAX -#endif - /* STORE_MAX_PIECES is the number of bytes at a time that we can store efficiently. Due to internal GCC limitations, this is MOVE_MAX_PIECES limited by the number of bytes GCC can represent -- 2.47.3