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