Commit 996d9dac by Michael Meissner Committed by Michael Meissner

If -Os, set MOVE_RATIO to 3, not 15

From-SVN: r19209
parent ec8d6ddc
Tue Apr 14 16:19:03 1998 Michael Meissner <meissner@cygnus.com>
* expr.c (MOVE_RATIO): Set to 3 if optimizing for space.
Tue Apr 14 11:31:28 1998 Krister Walfridsson <cato@df.lth.se>
* i386/bsd386.h (ASM_OUTPUT_ALIGN): Redefine.
......
......@@ -208,9 +208,8 @@ static char direct_store[NUM_MACHINE_MODES];
#if defined (HAVE_movstrqi) || defined (HAVE_movstrhi) || defined (HAVE_movstrsi) || defined (HAVE_movstrdi) || defined (HAVE_movstrti)
#define MOVE_RATIO 2
#else
/* A value of around 6 would minimize code size; infinity would minimize
execution time. */
#define MOVE_RATIO 15
/* If we are optimizing for space (-Os), cut down the default move ratio */
#define MOVE_RATIO (optimize_size ? 3 : 15)
#endif
#endif
......
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