2016-08-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
[official-gcc.git] / gcc / config / i386 / stringop.def
blobb4abbd7ef524688d1301da1353b8548b0134edb7
1 /* Definitions for stringop strategy for IA-32.
2 Copyright (C) 2013-2016 Free Software Foundation, Inc.
4 This file is part of GCC.
6 GCC is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 3, or (at your option)
9 any later version.
11 GCC is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with GCC; see the files COPYING3. If not,
18 see <http://www.gnu.org/licenses/>. */
20 DEF_ENUM
21 DEF_ALG (no_stringop, no_stringop)
22 DEF_ENUM
23 DEF_ALG (libcall, libcall)
24 DEF_ENUM
25 DEF_ALG (rep_prefix_1_byte, rep_byte)
26 DEF_ENUM
27 DEF_ALG (rep_prefix_4_byte, rep_4byte)
28 DEF_ENUM
29 DEF_ALG (rep_prefix_8_byte, rep_8byte)
30 DEF_ENUM
31 DEF_ALG (loop_1_byte, byte_loop)
32 DEF_ENUM
33 DEF_ALG (loop, loop)
34 DEF_ENUM
35 DEF_ALG (unrolled_loop, unrolled_loop)
36 DEF_ENUM
37 DEF_ALG (vector_loop, vector_loop)