summaryrefslogtreecommitdiff
path: root/gcc/config/i386/i386-opts.h
diff options
context:
space:
mode:
authorXinliang David Li <davidxl@google.com>2013-08-10 03:48:01 +0000
committerXinliang David Li <davidxl@gcc.gnu.org>2013-08-10 03:48:01 +0000
commitad83025ea6eda7c673e368f44d86164fba30c1a6 (patch)
treeb6fc4e33d02396162f83c0a7295536e37068bd98 /gcc/config/i386/i386-opts.h
parent7d1d05602c1c36e8eab381f649dd699191e82197 (diff)
downloadgcc-ad83025ea6eda7c673e368f44d86164fba30c1a6.tar.gz
Implement -mmemcpy-strategy= and -mmemset-strategy= options
From-SVN: r201645
Diffstat (limited to 'gcc/config/i386/i386-opts.h')
-rw-r--r--gcc/config/i386/i386-opts.h20
1 files changed, 11 insertions, 9 deletions
diff --git a/gcc/config/i386/i386-opts.h b/gcc/config/i386/i386-opts.h
index bea1c257830..5fcbd6b5776 100644
--- a/gcc/config/i386/i386-opts.h
+++ b/gcc/config/i386/i386-opts.h
@@ -28,15 +28,17 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
/* Algorithm to expand string function with. */
enum stringop_alg
{
- no_stringop,
- libcall,
- rep_prefix_1_byte,
- rep_prefix_4_byte,
- rep_prefix_8_byte,
- loop_1_byte,
- loop,
- unrolled_loop,
- vector_loop
+#undef DEF_ENUM
+#define DEF_ENUM
+
+#undef DEF_ALG
+#define DEF_ALG(alg, name) alg,
+
+#include "stringop.def"
+last_alg
+
+#undef DEF_ENUM
+#undef DEF_ALG
};
/* Available call abi. */