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