comparison gcc/genpreds.c @ 132:d34655255c78

update gcc-8.2
author mir3636
date Thu, 25 Oct 2018 10:21:07 +0900
parents 84e7813d76e9
children 1830386684a0
comparison
equal deleted inserted replaced
130:e108057fa461 132:d34655255c78
1 /* Generate from machine description: 1 /* Generate from machine description:
2 - prototype declarations for operand predicates (tm-preds.h) 2 - prototype declarations for operand predicates (tm-preds.h)
3 - function definitions of operand predicates, if defined new-style 3 - function definitions of operand predicates, if defined new-style
4 (insn-preds.c) 4 (insn-preds.c)
5 Copyright (C) 2001-2017 Free Software Foundation, Inc. 5 Copyright (C) 2001-2018 Free Software Foundation, Inc.
6 6
7 This file is part of GCC. 7 This file is part of GCC.
8 8
9 GCC is free software; you can redistribute it and/or modify 9 GCC is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by 10 it under the terms of the GNU General Public License as published by
150 XEXP (and_exp, 1) = match_test_exp; 150 XEXP (and_exp, 1) = match_test_exp;
151 151
152 p->exp = and_exp; 152 p->exp = and_exp;
153 153
154 printf ("static inline int\n" 154 printf ("static inline int\n"
155 "%s_1 (rtx op, machine_mode mode ATTRIBUTE_UNUSED)\n", 155 "%s_1 (rtx op ATTRIBUTE_UNUSED, machine_mode mode ATTRIBUTE_UNUSED)\n",
156 p->name); 156 p->name);
157 rtx_reader_ptr->print_md_ptr_loc (p->c_block); 157 rtx_reader_ptr->print_md_ptr_loc (p->c_block);
158 if (p->c_block[0] == '{') 158 if (p->c_block[0] == '{')
159 fputs (p->c_block, stdout); 159 fputs (p->c_block, stdout);
160 else 160 else
1556 /* Generated automatically by the program '%s'\n\ 1556 /* Generated automatically by the program '%s'\n\
1557 from the machine description file '%s'. */\n\n", progname, 1557 from the machine description file '%s'. */\n\n", progname,
1558 md_reader_ptr->get_top_level_filename ()); 1558 md_reader_ptr->get_top_level_filename ());
1559 1559
1560 puts ("\ 1560 puts ("\
1561 #define IN_TARGET_CODE 1\n\
1561 #include \"config.h\"\n\ 1562 #include \"config.h\"\n\
1562 #include \"system.h\"\n\ 1563 #include \"system.h\"\n\
1563 #include \"coretypes.h\"\n\ 1564 #include \"coretypes.h\"\n\
1564 #include \"backend.h\"\n\ 1565 #include \"backend.h\"\n\
1565 #include \"predict.h\"\n\ 1566 #include \"predict.h\"\n\