aarch64-fusion-pairs.def revision 1.1.1.1.2.2 1 1.1.1.1.2.2 pgoyette /* Copyright (C) 2015-2016 Free Software Foundation, Inc.
2 1.1.1.1.2.2 pgoyette Contributed by ARM Ltd.
3 1.1.1.1.2.2 pgoyette
4 1.1.1.1.2.2 pgoyette This file is part of GCC.
5 1.1.1.1.2.2 pgoyette
6 1.1.1.1.2.2 pgoyette GCC is free software; you can redistribute it and/or modify it
7 1.1.1.1.2.2 pgoyette under the terms of the GNU General Public License as published
8 1.1.1.1.2.2 pgoyette by the Free Software Foundation; either version 3, or (at your
9 1.1.1.1.2.2 pgoyette option) any later version.
10 1.1.1.1.2.2 pgoyette
11 1.1.1.1.2.2 pgoyette GCC is distributed in the hope that it will be useful, but WITHOUT
12 1.1.1.1.2.2 pgoyette ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
13 1.1.1.1.2.2 pgoyette or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
14 1.1.1.1.2.2 pgoyette License for more details.
15 1.1.1.1.2.2 pgoyette
16 1.1.1.1.2.2 pgoyette You should have received a copy of the GNU General Public License
17 1.1.1.1.2.2 pgoyette along with GCC; see the file COPYING3. If not see
18 1.1.1.1.2.2 pgoyette <http://www.gnu.org/licenses/>. */
19 1.1.1.1.2.2 pgoyette
20 1.1.1.1.2.2 pgoyette /* Pairs of instructions which can be fused. before including this file,
21 1.1.1.1.2.2 pgoyette define a macro:
22 1.1.1.1.2.2 pgoyette
23 1.1.1.1.2.2 pgoyette AARCH64_FUSION_PAIR (name, internal_name)
24 1.1.1.1.2.2 pgoyette
25 1.1.1.1.2.2 pgoyette Where:
26 1.1.1.1.2.2 pgoyette
27 1.1.1.1.2.2 pgoyette NAME is a string giving a friendly name for the instructions to fuse.
28 1.1.1.1.2.2 pgoyette INTERNAL_NAME gives the internal name suitable for appending to
29 1.1.1.1.2.2 pgoyette AARCH64_FUSE_ to give an enum name. */
30 1.1.1.1.2.2 pgoyette
31 1.1.1.1.2.2 pgoyette AARCH64_FUSION_PAIR ("mov+movk", MOV_MOVK)
32 1.1.1.1.2.2 pgoyette AARCH64_FUSION_PAIR ("adrp+add", ADRP_ADD)
33 1.1.1.1.2.2 pgoyette AARCH64_FUSION_PAIR ("movk+movk", MOVK_MOVK)
34 1.1.1.1.2.2 pgoyette AARCH64_FUSION_PAIR ("adrp+ldr", ADRP_LDR)
35 1.1.1.1.2.2 pgoyette AARCH64_FUSION_PAIR ("cmp+branch", CMP_BRANCH)
36 1.1.1.1.2.2 pgoyette AARCH64_FUSION_PAIR ("aes+aesmc", AES_AESMC)
37 1.1.1.1.2.2 pgoyette
38